highlights(gdscript): use more specific groups

This commit is contained in:
ObserverOfTime 2022-10-22 16:49:04 +03:00
parent 46ecf825f0
commit 7c86e6ffc4

View file

@ -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"))