From 54e78dd24f2cfcf98a974d6f4d5846cc1cb5c9eb Mon Sep 17 00:00:00 2001 From: Erasin Date: Sat, 10 Sep 2022 21:45:52 +0800 Subject: Add godot resource support (#3759) Co-authored-by: Michael Davis --- runtime/queries/godot-resource/highlights.scm | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 runtime/queries/godot-resource/highlights.scm (limited to 'runtime/queries/godot-resource/highlights.scm') diff --git a/runtime/queries/godot-resource/highlights.scm b/runtime/queries/godot-resource/highlights.scm new file mode 100644 index 00000000..18dae41f --- /dev/null +++ b/runtime/queries/godot-resource/highlights.scm @@ -0,0 +1,28 @@ +(section (identifier) @type.builtin) + +(attribute (identifier) @attribute) +(property (path) @variable.other.member) +(constructor (identifier) @constructor) + +(string) @string +(integer) @constant.numeric.integer +(float) @constant.numeric.float + +(true) @constant.builtin.boolean +(false) @constant.builtin.boolean + +[ + "[" + "]" +] @tag + +[ + "(" + ")" + "{" + "}" +] @punctuation.bracket + +"=" @operator + +(ERROR) @error \ No newline at end of file -- cgit v1.2.3-70-g09d2