From 338b6ae9774c049ef50b2e52a7447d53c69eb0c9 Mon Sep 17 00:00:00 2001 From: Vlad-Zumer <21068598+Vlad-Zumer@users.noreply.github.com> Date: Sun, 13 Jun 2021 23:23:46 +0100 Subject: [PATCH] Added 'in' to the list of keywords and added rule for $ shorthand (#274) --- syntaxes/GDScript.tmLanguage.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/syntaxes/GDScript.tmLanguage.json b/syntaxes/GDScript.tmLanguage.json index bf5f48f..1ccc66a 100644 --- a/syntaxes/GDScript.tmLanguage.json +++ b/syntaxes/GDScript.tmLanguage.json @@ -17,6 +17,7 @@ { "include": "#class_def" }, { "include": "#class_name"}, { "include": "#builtin_func" }, + { "include": "#builtin_get_node_shorthand" }, { "include": "#builtin_classes" }, { "include": "#const_vars" }, { "include": "#class_new"}, @@ -103,7 +104,7 @@ }, "keywords": { - "match": "\\b(?i:if|elif|else|for|while|break|continue|pass|return|match|func|class|class_name|extends|is|in|onready|tool|static|export|setget|const|var|as|void|enum|preload|assert|yield|signal|breakpoint|rpc|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync)\\b", + "match": "\\b(?i:if|elif|else|for|while|break|continue|pass|return|match|func|class|class_name|extends|is|in|onready|tool|static|export|setget|const|var|as|void|enum|preload|assert|yield|signal|breakpoint|rpc|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|in)\\b", "name": "keyword.language.gdscript" }, "letter": { @@ -202,6 +203,10 @@ "match": "(?