mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
Fix spaces
This commit is contained in:
parent
40cc924bf4
commit
a188d4ff91
1 changed files with 31 additions and 31 deletions
|
|
@ -3,18 +3,17 @@
|
|||
; Methods
|
||||
|
||||
[
|
||||
(method_declaration
|
||||
name: (identifier))
|
||||
|
||||
(method_invocation
|
||||
name: (identifier))
|
||||
(method_declaration
|
||||
name: (identifier))
|
||||
(method_invocation
|
||||
name: (identifier))
|
||||
] @method
|
||||
|
||||
[
|
||||
(method_declaration
|
||||
parameters: (formal_parameter))
|
||||
(method_declaration
|
||||
parameters: (formal_parameter))
|
||||
(method_declaration
|
||||
parameters: (formal_parameter))
|
||||
(method_declaration
|
||||
parameters: (formal_parameter))
|
||||
] @parameter
|
||||
|
||||
(super) @function.builtin
|
||||
|
|
@ -22,10 +21,10 @@
|
|||
; Annotations
|
||||
|
||||
[
|
||||
(annotation
|
||||
name: (identifier))
|
||||
(marker_annotation
|
||||
name: (identifier))
|
||||
(annotation
|
||||
name: (identifier))
|
||||
(marker_annotation
|
||||
name: (identifier))
|
||||
] @attribute
|
||||
|
||||
; Operators
|
||||
|
|
@ -60,15 +59,15 @@
|
|||
; Types
|
||||
|
||||
[
|
||||
(interface_declaration
|
||||
name: (identifier))
|
||||
(class_declaration
|
||||
name: (identifier))
|
||||
(enum_declaration
|
||||
name: (identifier)
|
||||
(constructor_declaration
|
||||
name: (identifier))
|
||||
(type_identifier)
|
||||
(interface_declaration
|
||||
name: (identifier))
|
||||
(class_declaration
|
||||
name: (identifier))
|
||||
(enum_declaration
|
||||
name: (identifier)
|
||||
(constructor_declaration
|
||||
name: (identifier))
|
||||
(type_identifier)
|
||||
] @type
|
||||
|
||||
|
||||
|
|
@ -98,14 +97,14 @@
|
|||
; Literals
|
||||
|
||||
[
|
||||
(hex_integer_literal)
|
||||
(decimal_integer_literal)
|
||||
(octal_integer_literal)
|
||||
(hex_integer_literal)
|
||||
(decimal_integer_literal)
|
||||
(octal_integer_literal)
|
||||
] @number
|
||||
|
||||
[
|
||||
(decimal_floating_point_literal)
|
||||
(hex_floating_point_literal)
|
||||
(decimal_floating_point_literal)
|
||||
(hex_floating_point_literal)
|
||||
] @float
|
||||
|
||||
(character_literal) @character
|
||||
|
|
@ -187,9 +186,9 @@
|
|||
; Punctuation
|
||||
|
||||
[
|
||||
";"
|
||||
"."
|
||||
","
|
||||
";"
|
||||
"."
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
|
|
@ -198,4 +197,5 @@
|
|||
"{"
|
||||
"}"
|
||||
"("
|
||||
")"] @punctuation.bracket
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue