mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
parameters: (identifier) @parameter) ; x -> ...
|
||||
|
||||
; Annotations
|
||||
|
||||
(annotation
|
||||
"@" @attribute
|
||||
name: (identifier) @attribute)
|
||||
(marker_annotation
|
||||
"@" @attribute
|
||||
name: (identifier) @attribute)
|
||||
|
||||
; Operators
|
||||
|
||||
[
|
||||
|
|
@ -135,6 +126,15 @@
|
|||
|
||||
(this) @variable.builtin
|
||||
|
||||
; Annotations
|
||||
|
||||
(annotation
|
||||
"@" @attribute
|
||||
name: (identifier) @attribute)
|
||||
(marker_annotation
|
||||
"@" @attribute
|
||||
name: (identifier) @attribute)
|
||||
|
||||
; Literals
|
||||
|
||||
(string_literal) @string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue