Compare commits

..

No commits in common. "29179391764267c4995f1d4a8f93006ad6594503" and "eb1d3714998977ae76ca7c6a102b10ee37efc2b5" have entirely different histories.

5 changed files with 18 additions and 9 deletions

View file

@ -16,4 +16,9 @@
(method_declaration) (method_declaration)
] @fold ] @fold
[
(comment)
(string_literal)
] @ignore
; vim: sw=2 foldmethod=marker ; vim: sw=2 foldmethod=marker

View file

@ -34,25 +34,30 @@
"method" "method"
] @keyword.method ] @keyword.method
[
"import"
] @include
[ [
"array" "array"
(break_expression) (break_expression)
"do"
"else" "else"
"end" "end"
"for"
"function"
"if" "if"
"import"
"in" "in"
"let" "let"
"of" "of"
"primitive"
"then" "then"
"to"
"type" "type"
"var" "var"
"while"
"class" "class"
"extends" "extends"
"method"
"new"
"_cast" "_cast"
"_chunks" "_chunks"

View file

@ -31,9 +31,8 @@
; Class {{{ ; Class {{{
(class_declaration (class_declaration
fields: (_)* @class.inner) @class.outer fields: (_)* @class.inner) @class.outer
(type_declaration
(class_type (class_type
fields: (_)* @class.inner)) @class.outer fields: (_)* @class.inner) @class.outer
; }}} ; }}}
; Misc {{{ ; Misc {{{

View file

@ -1,3 +1,3 @@
import "lib.tih" import "lib.tih"
/* <- include */ /* <- keyword */
/* ^ string.special.path */ /* ^ string.special.path */

View file

@ -10,7 +10,7 @@ let
/* <- keyword.function */ /* <- keyword.function */
import "lib.tih" import "lib.tih"
/* <- include */ /* <- keyword */
type array_of_int = array of int type array_of_int = array of int
/* <- keyword */ /* <- keyword */