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" } } }