diff options
author | Erasin | 2022-09-10 13:47:08 +0000 |
---|---|---|
committer | GitHub | 2022-09-10 13:47:08 +0000 |
commit | a15420ed1c3b46df0dade6ec6d05a0e4b26e06e0 (patch) | |
tree | 88a0574b7cf9cff426ed1579343ea3f5b2a7e6e9 /runtime/queries/gdscript/highlights.scm | |
parent | 54e78dd24f2cfcf98a974d6f4d5846cc1cb5c9eb (diff) |
Add textobject for gdscript (#3760)
Diffstat (limited to 'runtime/queries/gdscript/highlights.scm')
-rw-r--r-- | runtime/queries/gdscript/highlights.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/highlights.scm b/runtime/queries/gdscript/highlights.scm index 0849eedb..f36f4e35 100644 --- a/runtime/queries/gdscript/highlights.scm +++ b/runtime/queries/gdscript/highlights.scm @@ -3,6 +3,11 @@ ((identifier) @constant (#match? @constant "^[A-Z][A-Z_]*$")) +; class +(class_name_statement (name) @type) +(class_definition (name) @type) + + ; Function calls (attribute_call (identifier) @function) |