mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -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
|
||||
/* ^ variable */
|
||||
end
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@
|
|||
^ comment
|
||||
^ comment
|
||||
*/
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@ function func(a: int) : int = (print("Hello World!"); a)
|
|||
/* ^ function */
|
||||
/* ^ parameter */
|
||||
/* ^ function.builtin */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -27,3 +27,4 @@ primitive func(a: int, b: string) : array
|
|||
/* ^ parameter */
|
||||
/* ^ type.builtin */
|
||||
/* ^ type */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import "lib.tih"
|
||||
/* <- keyword */
|
||||
/* ^ string.special */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -39,3 +39,4 @@ in
|
|||
|
||||
end
|
||||
/* <- keyword */
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@ nil
|
|||
/* <- string
|
||||
^ string.escape
|
||||
*/
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ in
|
|||
_exp(42)
|
||||
/* <- keyword */
|
||||
end
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -26,3 +26,4 @@ in
|
|||
object.meth()
|
||||
/* ^ method */
|
||||
end
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
|
|
@ -46,3 +46,4 @@ in
|
|||
)
|
||||
/* <- punctuation.bracket */
|
||||
end
|
||||
/* vim: set ft=tiger: */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue