diff --git a/syntaxes/mist.tmLanguage.json b/syntaxes/mist.tmLanguage.json index feccb82..591229f 100644 --- a/syntaxes/mist.tmLanguage.json +++ b/syntaxes/mist.tmLanguage.json @@ -6,6 +6,9 @@ { "include": "#comments" }, + { + "include": "#keywords" + }, { "include": "#attributes" }, @@ -18,9 +21,6 @@ { "include": "#type_declarations" }, - { - "include": "#keywords" - }, { "include": "#constants" }, @@ -129,12 +129,8 @@ "name": "storage.modifier.mist" }, { - "match": "\\b(impl|use|mod|new|void)\\b", + "match": "\\b(impl|use|mod|new|void|self)\\b", "name": "keyword.other.mist" - }, - { - "match": "\\bself\\b", - "name": "variable.language.self.mist" } ] }, @@ -157,6 +153,15 @@ } } }, + { + "comment": "other types", + "match": "(?