fix(tiger): add 'ft' modeline in highlight corpus

This commit is contained in:
Bruno BELANYI 2022-06-14 21:16:51 +02:00 committed by Stephan Seitz
parent b8e3b03748
commit fcba0368a6
10 changed files with 10 additions and 0 deletions

View file

@ -41,3 +41,4 @@ in
b := print b := print
/* ^ variable */ /* ^ variable */
end end
/* vim: set ft=tiger: */

View file

@ -3,3 +3,4 @@
^ comment ^ comment
^ comment ^ comment
*/ */
/* vim: set ft=tiger: */

View file

@ -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: */

View file

@ -27,3 +27,4 @@ primitive func(a: int, b: string) : array
/* ^ parameter */ /* ^ parameter */
/* ^ type.builtin */ /* ^ type.builtin */
/* ^ type */ /* ^ type */
/* vim: set ft=tiger: */

View file

@ -1,3 +1,4 @@
import "lib.tih" import "lib.tih"
/* <- keyword */ /* <- keyword */
/* ^ string.special */ /* ^ string.special */
/* vim: set ft=tiger: */

View file

@ -39,3 +39,4 @@ in
end end
/* <- keyword */ /* <- keyword */
/* vim: set ft=tiger: */

View file

@ -6,3 +6,4 @@ nil
/* <- string /* <- string
^ string.escape ^ string.escape
*/ */
/* vim: set ft=tiger: */

View file

@ -11,3 +11,4 @@ in
_exp(42) _exp(42)
/* <- keyword */ /* <- keyword */
end end
/* vim: set ft=tiger: */

View file

@ -26,3 +26,4 @@ in
object.meth() object.meth()
/* ^ method */ /* ^ method */
end end
/* vim: set ft=tiger: */

View file

@ -46,3 +46,4 @@ in
) )
/* <- punctuation.bracket */ /* <- punctuation.bracket */
end end
/* vim: set ft=tiger: */