File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
" Vim syntax file
2
2
" Language: Kotlin
3
3
" Maintainer: Alexander Udalov
4
- " Latest Revision: 6 July 2014
4
+ " Latest Revision: 15 July 2014
5
5
6
6
if exists (" b:current_syntax" )
7
7
finish
@@ -28,9 +28,9 @@ syn keyword ktConstant null
28
28
29
29
syn keyword ktModifier data inline volatile
30
30
31
- syn keyword ktTodo contained TODO FIXME XXX
31
+ syn keyword ktTodo TODO FIXME XXX contained
32
32
syn match ktLineComment " //.*$" contains =ktTodo,@Spell
33
- syn region ktComment start =" /\* " end =" \* /" contains =ktComment,ktTodo,@Spell
33
+ syn region ktComment matchgroup = ktCommentMatchGroup start =" /\* " end =" \* /" contains =ktComment,ktTodo,@Spell
34
34
35
35
syn match ktSpecialCharError " \v\\ ." contained
36
36
syn match ktSpecialChar " \v\\ ([tbnr'"$\\ ]|u\x {4})" contained
@@ -77,6 +77,7 @@ hi link ktConstant Constant
77
77
hi link ktTodo Todo
78
78
hi link ktLineComment Comment
79
79
hi link ktComment Comment
80
+ hi link ktCommentMatchGroup Comment
80
81
81
82
hi link ktSpecialChar SpecialChar
82
83
hi link ktSpecialCharError Error
You can’t perform that action at this time.
0 commit comments