Fix VIM syntax highlighting for comments

fixes #8755
This commit is contained in:
Markus Frosch 2015-03-16 09:18:06 +01:00
parent e3d379aa5c
commit 90568e798f
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ syntax case ignore
" comments
syn keyword icinga2CommentTodo TODO FIXME XXX TBD contained
syn match icinga2LineComment "\/\/.*" contains=icinga2CommentTodo
syn match icinga2LineComment "#.*" contains=icinga2CommentTodo
syn match icinga2CommentSkip "^[ \t]*\*\($\|[ \t]\+\)"
syn region icinga2Comment start="/\*" end="\*/" contains=icinga2CommentTodo
@ -143,7 +144,7 @@ syn match icinga2Operators "[ \t]\+\(\~\)\+"
syn match icinga2Operators "[ \t]\+\(+\)\+"
syn match icinga2Operators "[ \t]\+\(-\)\+"
syn match icinga2Operators "[ \t]\+\(*\)\+"
syn match icinga2Operators "[ \t]\+\(/\)\+"
syn match icinga2Operators "[ \t]\+\(/[^/\*]\)\+"
syn match icinga2Operators "[ \t]\+\(%\)\+"
syn match icinga2Operators "[ \t]\+\(+\)\+"
syn match icinga2Operators "[ \t]\+\(-\)\+"