From ca0ff45bd413822f48fcf34456158afa27100975 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 6 Jun 2026 00:17:12 +0200 Subject: [PATCH] Variables --- syntaxes/mist.tmLanguage.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/syntaxes/mist.tmLanguage.json b/syntaxes/mist.tmLanguage.json index 70ad35c..caaacf5 100644 --- a/syntaxes/mist.tmLanguage.json +++ b/syntaxes/mist.tmLanguage.json @@ -22,7 +22,8 @@ { "include": "#return_arrow" }, { "include": "#functions" }, { "include": "#operators" }, - { "include": "#punctuation" } + { "include": "#punctuation" }, + { "include": "#variables" } ], "repository": { "comments": { @@ -231,6 +232,10 @@ "punctuation": { "match": "::|:|;|,|\\.|\\{|\\}|\\(|\\)|\\[|\\]|\\?", "name": "punctuation.mist" + }, + "variables": { + "match": "\\b[a-zA-Z_][a-zA-Z0-9_]*\\b", + "name": "variable.other.mist" } } }