mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix(tiger): add 'ft' modeline in highlight corpus
This commit is contained in:
parent
b8e3b03748
commit
fcba0368a6
10 changed files with 10 additions and 0 deletions
|
|
@ -41,3 +41,4 @@ in
|
||||||
b := print
|
b := print
|
||||||
/* ^ variable */
|
/* ^ variable */
|
||||||
end
|
end
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,4 @@
|
||||||
^ comment
|
^ comment
|
||||||
^ comment
|
^ comment
|
||||||
*/
|
*/
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,4 @@ function func(a: int) : int = (print("Hello World!"); a)
|
||||||
/* ^ function */
|
/* ^ function */
|
||||||
/* ^ parameter */
|
/* ^ parameter */
|
||||||
/* ^ function.builtin */
|
/* ^ function.builtin */
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -27,3 +27,4 @@ primitive func(a: int, b: string) : array
|
||||||
/* ^ parameter */
|
/* ^ parameter */
|
||||||
/* ^ type.builtin */
|
/* ^ type.builtin */
|
||||||
/* ^ type */
|
/* ^ type */
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
import "lib.tih"
|
import "lib.tih"
|
||||||
/* <- keyword */
|
/* <- keyword */
|
||||||
/* ^ string.special */
|
/* ^ string.special */
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -39,3 +39,4 @@ in
|
||||||
|
|
||||||
end
|
end
|
||||||
/* <- keyword */
|
/* <- keyword */
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -6,3 +6,4 @@ nil
|
||||||
/* <- string
|
/* <- string
|
||||||
^ string.escape
|
^ string.escape
|
||||||
*/
|
*/
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,4 @@ in
|
||||||
_exp(42)
|
_exp(42)
|
||||||
/* <- keyword */
|
/* <- keyword */
|
||||||
end
|
end
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -26,3 +26,4 @@ in
|
||||||
object.meth()
|
object.meth()
|
||||||
/* ^ method */
|
/* ^ method */
|
||||||
end
|
end
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
|
|
@ -46,3 +46,4 @@ in
|
||||||
)
|
)
|
||||||
/* <- punctuation.bracket */
|
/* <- punctuation.bracket */
|
||||||
end
|
end
|
||||||
|
/* vim: set ft=tiger: */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue