Skip to content

Commit ede9985

Browse files
committed
Add qmlStringT to qmlExpr
Fix highlighting problems in ternary expressions
1 parent 2a8872a commit ede9985

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

syntax/qml.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
" Vim syntax file
23
" Language: QML
34
" Maintainer: Peter Hoeg <peter@hoeg.com>
@@ -27,7 +28,7 @@ endif
2728

2829
syn case ignore
2930

30-
syn cluster qmlExpr contains=qmlStringD,qmlStringS,SqmlCharacter,qmlNumber,qmlObjectLiteralType,qmlBoolean,qmlType,qmlJsType,qmlNull,qmlGlobal,qmlFunction,qmlArrowFunction
31+
syn cluster qmlExpr contains=qmlStringD,qmlStringS,qmlStringT,SqmlCharacter,qmlNumber,qmlObjectLiteralType,qmlBoolean,qmlType,qmlJsType,qmlNull,qmlGlobal,qmlFunction,qmlArrowFunction
3132
syn keyword qmlCommentTodo TODO FIXME XXX TBD contained
3233
syn match qmlLineComment "\/\/.*" contains=@Spell,qmlCommentTodo
3334
syn match qmlCommentSkip "^[ \t]*\*\($\|[ \t]\+\)"

0 commit comments

Comments
 (0)