Skip to content

Commit 5191179

Browse files
committed
Add more keywords to Tree-Sitter grammar
1 parent 4c06c23 commit 5191179

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

grammars/tree-sitter/tree-sitter-kotlin.cson

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ scopes:
2121
"break",
2222
"continue",
2323
"return",
24-
"for"
24+
"for",
25+
"package"
2526
''': 'keyword.control.kotlin'
27+
'"import"': 'keyword.control.import.kotlin'
2628
'''
2729
"catch",
2830
"finally",
@@ -66,6 +68,7 @@ scopes:
6668
'"fun"': 'storage.type.function.kotlin'
6769
'"object"': 'storage.type.object.kotlin'
6870
'"class"': 'storage.type.class.kotlin'
71+
'"interface'": 'storage.type.interface.kotlin'
6972
'"typealias"': 'storage.type.alias.kotlin'
7073
'''
7174
"val",

0 commit comments

Comments
 (0)