mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
feat: add earthfile parser (#6395)
--------- Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
parent
5c4892b055
commit
6ae470fd8f
4 changed files with 149 additions and 0 deletions
9
queries/earthfile/injections.scm
Normal file
9
queries/earthfile/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((line_continuation_comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((shell_fragment) @injection.content
|
||||
(#set! injection.language "bash")
|
||||
(#set! injection.include-children))
|
||||
Loading…
Add table
Add a link
Reference in a new issue