mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
highlights(gdscript): use more specific groups
This commit is contained in:
parent
46ecf825f0
commit
7c86e6ffc4
1 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
(null) @constant
|
(null) @constant
|
||||||
(setter) @function
|
(setter) @function
|
||||||
(getter) @function
|
(getter) @function
|
||||||
(static_keyword) @keyword
|
(static_keyword) @type.qualifier
|
||||||
(tool_statement) @keyword
|
(tool_statement) @keyword
|
||||||
(breakpoint_statement) @keyword
|
(breakpoint_statement) @keyword
|
||||||
(inferred_type) @operator
|
(inferred_type) @operator
|
||||||
|
|
@ -20,7 +20,8 @@
|
||||||
(name) @type) @keyword
|
(name) @type) @keyword
|
||||||
|
|
||||||
(const_statement
|
(const_statement
|
||||||
(name) @constant) @keyword
|
"const" @type.qualifier
|
||||||
|
(name) @constant)
|
||||||
|
|
||||||
((identifier) @variable.builtin
|
((identifier) @variable.builtin
|
||||||
(#eq? @variable.builtin "self"))
|
(#eq? @variable.builtin "self"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue