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
/* ^ variable */
end
/* vim: set ft=tiger: */

View file

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

View file

@ -6,3 +6,4 @@ function func(a: int) : int = (print("Hello World!"); a)
/* ^ function */
/* ^ parameter */
/* ^ function.builtin */
/* vim: set ft=tiger: */

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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