mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
Update lockfile.json
This commit is contained in:
parent
bbe90e9318
commit
4f885f2d07
2 changed files with 16 additions and 3 deletions
|
|
@ -399,7 +399,7 @@
|
||||||
"revision": "2f87b9d973597e69552ecf6a4fe16470fbd8c44e"
|
"revision": "2f87b9d973597e69552ecf6a4fe16470fbd8c44e"
|
||||||
},
|
},
|
||||||
"vim": {
|
"vim": {
|
||||||
"revision": "4ae7bd67706d7e10afed827ce2ded884ab41650f"
|
"revision": "55ff1b080c09edeced9b748cf4c16d0b49d17fb9"
|
||||||
},
|
},
|
||||||
"vue": {
|
"vue": {
|
||||||
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
|
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,8 @@
|
||||||
|
|
||||||
;; Function related
|
;; Function related
|
||||||
(function_declaration name: (_) @function)
|
(function_declaration name: (_) @function)
|
||||||
(call_expression function: (identifier) @function)
|
(call_expression function: (identifier) @function.call)
|
||||||
|
(call_expression function: (scoped_identifier (identifier) @function.call))
|
||||||
(parameters (identifier) @parameter)
|
(parameters (identifier) @parameter)
|
||||||
(default_parameter (identifier) @parameter)
|
(default_parameter (identifier) @parameter)
|
||||||
|
|
||||||
|
|
@ -104,6 +105,7 @@
|
||||||
"ex"
|
"ex"
|
||||||
"visual"
|
"visual"
|
||||||
"view"
|
"view"
|
||||||
|
"eval"
|
||||||
] @keyword
|
] @keyword
|
||||||
(map_statement cmd: _ @keyword)
|
(map_statement cmd: _ @keyword)
|
||||||
(command_name) @function.macro
|
(command_name) @function.macro
|
||||||
|
|
@ -197,11 +199,14 @@
|
||||||
(integer_literal) @number
|
(integer_literal) @number
|
||||||
(float_literal) @float
|
(float_literal) @float
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
(line_continuation_comment) @comment @spell
|
||||||
(pattern) @string.special
|
(pattern) @string.special
|
||||||
(pattern_multi) @string.regex
|
(pattern_multi) @string.regex
|
||||||
(filename) @string
|
(filename) @string
|
||||||
(heredoc (body) @string)
|
(heredoc (body) @string)
|
||||||
((heredoc (parameter) @keyword))
|
(heredoc (parameter) @keyword)
|
||||||
|
[ (marker_definition) (endmarker) ] @label
|
||||||
|
(literal_dictionary (literal_key) @label)
|
||||||
((scoped_identifier
|
((scoped_identifier
|
||||||
(scope) @_scope . (identifier) @boolean)
|
(scope) @_scope . (identifier) @boolean)
|
||||||
(#eq? @_scope "v:")
|
(#eq? @_scope "v:")
|
||||||
|
|
@ -237,12 +242,16 @@
|
||||||
"%="
|
"%="
|
||||||
".="
|
".="
|
||||||
"..="
|
"..="
|
||||||
|
"<<"
|
||||||
|
"=<<"
|
||||||
|
(match_case)
|
||||||
] @operator
|
] @operator
|
||||||
|
|
||||||
; Some characters have different meanings based on the context
|
; Some characters have different meanings based on the context
|
||||||
(unary_operation "!" @operator)
|
(unary_operation "!" @operator)
|
||||||
(binary_operation "." @operator)
|
(binary_operation "." @operator)
|
||||||
|
|
||||||
|
|
||||||
;; Punctuation
|
;; Punctuation
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -252,6 +261,7 @@
|
||||||
"}"
|
"}"
|
||||||
"["
|
"["
|
||||||
"]"
|
"]"
|
||||||
|
"#{"
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
(field_expression "." @punctuation.delimiter)
|
(field_expression "." @punctuation.delimiter)
|
||||||
|
|
@ -267,6 +277,9 @@
|
||||||
((set_value) @number
|
((set_value) @number
|
||||||
(#match? @number "^[0-9]+(\.[0-9]+)?$"))
|
(#match? @number "^[0-9]+(\.[0-9]+)?$"))
|
||||||
|
|
||||||
|
(inv_option "!" @operator)
|
||||||
|
(set_item "?" @operator)
|
||||||
|
|
||||||
((set_item
|
((set_item
|
||||||
option: (option_name) @_option
|
option: (option_name) @_option
|
||||||
value: (set_value) @function)
|
value: (set_value) @function)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue