diff options
Diffstat (limited to 'syntax/qml.vim')
-rw-r--r-- | syntax/qml.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax/qml.vim b/syntax/qml.vim index 2832dfe0..b34f23c2 100644 --- a/syntax/qml.vim +++ b/syntax/qml.vim @@ -35,8 +35,8 @@ syn match qmlLineComment "\/\/.*" contains=@Spell,qmlCommentTodo syn match qmlCommentSkip "^[ \t]*\*\($\|[ \t]\+\)" syn region qmlComment start="/\*" end="\*/" contains=@Spell,qmlCommentTodo fold syn match qmlSpecial "\\\d\d\d\|\\." -syn region qmlStringD start=+"+ skip=+\\\\\|\\"\|\\$+ end=+"\|$+ contains=qmlSpecial,@htmlPreproc,@Spell -syn region qmlStringS start=+'+ skip=+\\\\\|\\'\|\\$+ end=+'\|$+ contains=qmlSpecial,@htmlPreproc,@Spell +syn region qmlStringD start=+"+ skip=+\\\\\|\\"\|\\$+ end=+"+ keepend contains=qmlSpecial,@htmlPreproc,@Spell +syn region qmlStringS start=+'+ skip=+\\\\\|\\'\|\\$+ end=+'+ keepend contains=qmlSpecial,@htmlPreproc,@Spell syn match qmlCharacter "'\\.'" syn match qmlNumber "-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>" |