mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
feat(viml): update queries
This commit is contained in:
parent
325de255a6
commit
9c3a1366bc
1 changed files with 12 additions and 1 deletions
|
|
@ -67,6 +67,8 @@
|
|||
"augroup"
|
||||
"return"
|
||||
"syntax"
|
||||
"filetype"
|
||||
"source"
|
||||
"lua"
|
||||
"ruby"
|
||||
"perl"
|
||||
|
|
@ -102,6 +104,16 @@
|
|||
(map_statement cmd: _ @keyword)
|
||||
(command_name) @function.macro
|
||||
|
||||
;; Filetype command
|
||||
|
||||
(filetype_statement [
|
||||
"detect"
|
||||
"plugin"
|
||||
"indent"
|
||||
"on"
|
||||
"off"
|
||||
] @keyword)
|
||||
|
||||
;; Syntax command
|
||||
|
||||
(syntax_statement (keyword) @string)
|
||||
|
|
@ -176,7 +188,6 @@
|
|||
;; Literals
|
||||
|
||||
(string_literal) @string
|
||||
(string_literal) @spell
|
||||
(integer_literal) @number
|
||||
(float_literal) @float
|
||||
(comment) @comment @spell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue