summaryrefslogtreecommitdiff
path: root/tests/query
diff options
context:
space:
mode:
authorBruno BELANYI <bruno@belanyi.fr>2022-06-14 21:16:51 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-06-14 22:34:03 +0200
commitfcba0368a67661848a45769de065f87c1154b963 (patch)
treed160763eca1e04df146cc0b045a5688395534762 /tests/query
parentb8e3b03748e0c796648360417650302a826ada91 (diff)
fix(tiger): add 'ft' modeline in highlight corpus
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/tiger/built-ins.tig1
-rw-r--r--tests/query/highlights/tiger/comment.tig1
-rw-r--r--tests/query/highlights/tiger/functions.tig1
-rw-r--r--tests/query/highlights/tiger/identifiers.tig1
-rw-r--r--tests/query/highlights/tiger/imports.tig1
-rw-r--r--tests/query/highlights/tiger/keywords.tig1
-rw-r--r--tests/query/highlights/tiger/literals.tig1
-rw-r--r--tests/query/highlights/tiger/meta-variables.tig1
-rw-r--r--tests/query/highlights/tiger/object-oriented.tig1
-rw-r--r--tests/query/highlights/tiger/operators.tig1
10 files changed, 10 insertions, 0 deletions
diff --git a/tests/query/highlights/tiger/built-ins.tig b/tests/query/highlights/tiger/built-ins.tig
index f359959f..7cc1ca50 100644
--- a/tests/query/highlights/tiger/built-ins.tig
+++ b/tests/query/highlights/tiger/built-ins.tig
@@ -41,3 +41,4 @@ in
b := print
/* ^ variable */
end
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/comment.tig b/tests/query/highlights/tiger/comment.tig
index b0e8262f..a9c91535 100644
--- a/tests/query/highlights/tiger/comment.tig
+++ b/tests/query/highlights/tiger/comment.tig
@@ -3,3 +3,4 @@
^ comment
^ comment
*/
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/functions.tig b/tests/query/highlights/tiger/functions.tig
index 799ccd38..219c0591 100644
--- a/tests/query/highlights/tiger/functions.tig
+++ b/tests/query/highlights/tiger/functions.tig
@@ -6,3 +6,4 @@ function func(a: int) : int = (print("Hello World!"); a)
/* ^ function */
/* ^ parameter */
/* ^ function.builtin */
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/identifiers.tig b/tests/query/highlights/tiger/identifiers.tig
index 2d52edd1..4216c930 100644
--- a/tests/query/highlights/tiger/identifiers.tig
+++ b/tests/query/highlights/tiger/identifiers.tig
@@ -27,3 +27,4 @@ primitive func(a: int, b: string) : array
/* ^ parameter */
/* ^ type.builtin */
/* ^ type */
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/imports.tig b/tests/query/highlights/tiger/imports.tig
index 6e60910f..c4366690 100644
--- a/tests/query/highlights/tiger/imports.tig
+++ b/tests/query/highlights/tiger/imports.tig
@@ -1,3 +1,4 @@
import "lib.tih"
/* <- keyword */
/* ^ string.special */
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/keywords.tig b/tests/query/highlights/tiger/keywords.tig
index 79ebfd4d..11650977 100644
--- a/tests/query/highlights/tiger/keywords.tig
+++ b/tests/query/highlights/tiger/keywords.tig
@@ -39,3 +39,4 @@ in
end
/* <- keyword */
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/literals.tig b/tests/query/highlights/tiger/literals.tig
index 029ac874..c7d7b5d8 100644
--- a/tests/query/highlights/tiger/literals.tig
+++ b/tests/query/highlights/tiger/literals.tig
@@ -6,3 +6,4 @@ nil
/* <- string
^ string.escape
*/
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/meta-variables.tig b/tests/query/highlights/tiger/meta-variables.tig
index 5c239cc5..24c01ac6 100644
--- a/tests/query/highlights/tiger/meta-variables.tig
+++ b/tests/query/highlights/tiger/meta-variables.tig
@@ -11,3 +11,4 @@ in
_exp(42)
/* <- keyword */
end
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/object-oriented.tig b/tests/query/highlights/tiger/object-oriented.tig
index 0b4357c0..22e6dac1 100644
--- a/tests/query/highlights/tiger/object-oriented.tig
+++ b/tests/query/highlights/tiger/object-oriented.tig
@@ -26,3 +26,4 @@ in
object.meth()
/* ^ method */
end
+/* vim: set ft=tiger: */
diff --git a/tests/query/highlights/tiger/operators.tig b/tests/query/highlights/tiger/operators.tig
index 21e60090..569b8a8b 100644
--- a/tests/query/highlights/tiger/operators.tig
+++ b/tests/query/highlights/tiger/operators.tig
@@ -46,3 +46,4 @@ in
)
/* <- punctuation.bracket */
end
+/* vim: set ft=tiger: */