Fixed nested comments
Comments can now be nested.
This commit is contained in:
1 parent
503cfc796c
commit
d55c85f0f8
1 file changed
+1
-1
@@ -21,7 +21,7 @@ hi def link TODO Todo
|
||||
" @Spell means spell checking if I understand correctly.
|
||||
syn region line_comment start="//" end="$" contains=TODO,@Spell
|
||||
hi def link line_comment Comment
|
||||
syn region block_comment start="/\*" end="\*/" contains=TODO,@Spell
|
||||
syn region block_comment start="/\*" end="\*/" contains=TODO,@Spell,line_comment,block_comment
|
||||
hi def link block_comment Comment
|
||||
|
||||
syn region string start=+"+ end=+"+
|
||||
|
||||
Reference in new issue
Block a user