diff --git a/queries/highlights.scm b/queries/highlights.scm index cadeed7..3b7b16b 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -34,6 +34,10 @@ "method" ] @keyword.method +[ + "import" +] @include + [ "array" (break_expression) diff --git a/test/highlight/imports.tig b/test/highlight/imports.tig index c056c30..6addf12 100644 --- a/test/highlight/imports.tig +++ b/test/highlight/imports.tig @@ -1,3 +1,3 @@ import "lib.tih" -/* <- keyword */ +/* <- include */ /* ^ string.special.path */ diff --git a/test/highlight/keywords.tig b/test/highlight/keywords.tig index 70cb82c..6704c42 100644 --- a/test/highlight/keywords.tig +++ b/test/highlight/keywords.tig @@ -10,7 +10,7 @@ let /* <- keyword.function */ import "lib.tih" - /* <- keyword */ + /* <- include */ type array_of_int = array of int /* <- keyword */