mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
fix(java): move attributes after constants
This commit is contained in:
parent
67536f4057
commit
3065a928fc
1 changed files with 9 additions and 9 deletions
|
|
@ -32,15 +32,6 @@
|
||||||
(lambda_expression
|
(lambda_expression
|
||||||
parameters: (identifier) @parameter) ; x -> ...
|
parameters: (identifier) @parameter) ; x -> ...
|
||||||
|
|
||||||
; Annotations
|
|
||||||
|
|
||||||
(annotation
|
|
||||||
"@" @attribute
|
|
||||||
name: (identifier) @attribute)
|
|
||||||
(marker_annotation
|
|
||||||
"@" @attribute
|
|
||||||
name: (identifier) @attribute)
|
|
||||||
|
|
||||||
; Operators
|
; Operators
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -135,6 +126,15 @@
|
||||||
|
|
||||||
(this) @variable.builtin
|
(this) @variable.builtin
|
||||||
|
|
||||||
|
; Annotations
|
||||||
|
|
||||||
|
(annotation
|
||||||
|
"@" @attribute
|
||||||
|
name: (identifier) @attribute)
|
||||||
|
(marker_annotation
|
||||||
|
"@" @attribute
|
||||||
|
name: (identifier) @attribute)
|
||||||
|
|
||||||
; Literals
|
; Literals
|
||||||
|
|
||||||
(string_literal) @string
|
(string_literal) @string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue