mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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
|
; Methods
|
||||||
|
|
||||||
[
|
[
|
||||||
(method_declaration
|
(method_declaration
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
|
(method_invocation
|
||||||
(method_invocation
|
name: (identifier))
|
||||||
name: (identifier))
|
|
||||||
] @method
|
] @method
|
||||||
|
|
||||||
[
|
[
|
||||||
(method_declaration
|
(method_declaration
|
||||||
parameters: (formal_parameter))
|
parameters: (formal_parameter))
|
||||||
(method_declaration
|
(method_declaration
|
||||||
parameters: (formal_parameter))
|
parameters: (formal_parameter))
|
||||||
] @parameter
|
] @parameter
|
||||||
|
|
||||||
(super) @function.builtin
|
(super) @function.builtin
|
||||||
|
|
@ -22,10 +21,10 @@
|
||||||
; Annotations
|
; Annotations
|
||||||
|
|
||||||
[
|
[
|
||||||
(annotation
|
(annotation
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
(marker_annotation
|
(marker_annotation
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
] @attribute
|
] @attribute
|
||||||
|
|
||||||
; Operators
|
; Operators
|
||||||
|
|
@ -60,15 +59,15 @@
|
||||||
; Types
|
; Types
|
||||||
|
|
||||||
[
|
[
|
||||||
(interface_declaration
|
(interface_declaration
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
(class_declaration
|
(class_declaration
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
(enum_declaration
|
(enum_declaration
|
||||||
name: (identifier)
|
name: (identifier)
|
||||||
(constructor_declaration
|
(constructor_declaration
|
||||||
name: (identifier))
|
name: (identifier))
|
||||||
(type_identifier)
|
(type_identifier)
|
||||||
] @type
|
] @type
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -98,14 +97,14 @@
|
||||||
; Literals
|
; Literals
|
||||||
|
|
||||||
[
|
[
|
||||||
(hex_integer_literal)
|
(hex_integer_literal)
|
||||||
(decimal_integer_literal)
|
(decimal_integer_literal)
|
||||||
(octal_integer_literal)
|
(octal_integer_literal)
|
||||||
] @number
|
] @number
|
||||||
|
|
||||||
[
|
[
|
||||||
(decimal_floating_point_literal)
|
(decimal_floating_point_literal)
|
||||||
(hex_floating_point_literal)
|
(hex_floating_point_literal)
|
||||||
] @float
|
] @float
|
||||||
|
|
||||||
(character_literal) @character
|
(character_literal) @character
|
||||||
|
|
@ -187,9 +186,9 @@
|
||||||
; Punctuation
|
; Punctuation
|
||||||
|
|
||||||
[
|
[
|
||||||
";"
|
";"
|
||||||
"."
|
"."
|
||||||
","
|
","
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -198,4 +197,5 @@
|
||||||
"{"
|
"{"
|
||||||
"}"
|
"}"
|
||||||
"("
|
"("
|
||||||
")"] @punctuation.bracket
|
")"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue