diff --git a/queries/highlights.scm b/queries/highlights.scm index cb4a85f..44c4ef5 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -41,6 +41,12 @@ "type" "var" "while" + + "_cast" + "_chunks" + "_exp" + "_lvalue" + "_namety" ] @keyword ; }}} diff --git a/test/highlight/meta-variables.tig b/test/highlight/meta-variables.tig new file mode 100644 index 0000000..5c239cc --- /dev/null +++ b/test/highlight/meta-variables.tig @@ -0,0 +1,13 @@ +let + _chunks(42) + /* <- keyword */ + +in + _lvalue(12) : _namety(42) := _cast("I'm So Meta Even This Acronym", string); + /* <- keyword */ + /* ^ keyword */ + /* ^ keyword */ + + _exp(42) + /* <- keyword */ +end