mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -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"
|
||||
},
|
||||
"vim": {
|
||||
"revision": "4ae7bd67706d7e10afed827ce2ded884ab41650f"
|
||||
"revision": "55ff1b080c09edeced9b748cf4c16d0b49d17fb9"
|
||||
},
|
||||
"vue": {
|
||||
"revision": "91fe2754796cd8fba5f229505a23fa08f3546c06"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@
|
|||
|
||||
;; Function related
|
||||
(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)
|
||||
(default_parameter (identifier) @parameter)
|
||||
|
||||
|
|
@ -104,6 +105,7 @@
|
|||
"ex"
|
||||
"visual"
|
||||
"view"
|
||||
"eval"
|
||||
] @keyword
|
||||
(map_statement cmd: _ @keyword)
|
||||
(command_name) @function.macro
|
||||
|
|
@ -197,11 +199,14 @@
|
|||
(integer_literal) @number
|
||||
(float_literal) @float
|
||||
(comment) @comment @spell
|
||||
(line_continuation_comment) @comment @spell
|
||||
(pattern) @string.special
|
||||
(pattern_multi) @string.regex
|
||||
(filename) @string
|
||||
(heredoc (body) @string)
|
||||
((heredoc (parameter) @keyword))
|
||||
(heredoc (parameter) @keyword)
|
||||
[ (marker_definition) (endmarker) ] @label
|
||||
(literal_dictionary (literal_key) @label)
|
||||
((scoped_identifier
|
||||
(scope) @_scope . (identifier) @boolean)
|
||||
(#eq? @_scope "v:")
|
||||
|
|
@ -237,12 +242,16 @@
|
|||
"%="
|
||||
".="
|
||||
"..="
|
||||
"<<"
|
||||
"=<<"
|
||||
(match_case)
|
||||
] @operator
|
||||
|
||||
; Some characters have different meanings based on the context
|
||||
(unary_operation "!" @operator)
|
||||
(binary_operation "." @operator)
|
||||
|
||||
|
||||
;; Punctuation
|
||||
|
||||
[
|
||||
|
|
@ -252,6 +261,7 @@
|
|||
"}"
|
||||
"["
|
||||
"]"
|
||||
"#{"
|
||||
] @punctuation.bracket
|
||||
|
||||
(field_expression "." @punctuation.delimiter)
|
||||
|
|
@ -267,6 +277,9 @@
|
|||
((set_value) @number
|
||||
(#match? @number "^[0-9]+(\.[0-9]+)?$"))
|
||||
|
||||
(inv_option "!" @operator)
|
||||
(set_item "?" @operator)
|
||||
|
||||
((set_item
|
||||
option: (option_name) @_option
|
||||
value: (set_value) @function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue