diff options
| author | Bruno BELANYI <bruno@belanyi.fr> | 2022-06-14 21:16:51 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-06-14 22:34:03 +0200 |
| commit | fcba0368a67661848a45769de065f87c1154b963 (patch) | |
| tree | d160763eca1e04df146cc0b045a5688395534762 /tests | |
| parent | fix(tiger): adjust invalid queries (diff) | |
| download | nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar.gz nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar.bz2 nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar.lz nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar.xz nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.tar.zst nvim-treesitter-fcba0368a67661848a45769de065f87c1154b963.zip | |
fix(tiger): add 'ft' modeline in highlight corpus
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/query/highlights/tiger/built-ins.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/comment.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/functions.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/identifiers.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/imports.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/keywords.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/literals.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/meta-variables.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/object-oriented.tig | 1 | ||||
| -rw-r--r-- | tests/query/highlights/tiger/operators.tig | 1 |
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 f359959fe..7cc1ca501 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 b0e8262fd..a9c91535f 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 799ccd386..219c05916 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 2d52edd14..4216c930d 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 6e60910fb..c4366690d 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 79ebfd4d8..11650977b 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 029ac8742..c7d7b5d8e 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 5c239cc52..24c01ac69 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 0b4357c02..22e6dac19 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 21e600903..569b8a8bc 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: */ |
