mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
feat(git_rebase): add git_rebase parser
This commit is contained in:
parent
a52edf5dc9
commit
053f88f556
4 changed files with 24 additions and 0 deletions
8
queries/git_rebase/highlights.scm
Normal file
8
queries/git_rebase/highlights.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
((command) @keyword
|
||||
(label)? @constant
|
||||
(message)? @text @spell)
|
||||
|
||||
(option) @operator
|
||||
|
||||
(comment) @comment
|
||||
|
||||
5
queries/git_rebase/injections.scm
Normal file
5
queries/git_rebase/injections.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
((operation
|
||||
(command) @_command
|
||||
(message) @bash)
|
||||
(#any-of? @_command "exec" "x"))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue