We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a55c785 + df44056 commit 230232fCopy full SHA for 230232f
utils/vim/syntax/swift.vim
@@ -62,6 +62,7 @@ syn match swiftChar /'\([^'\\]\|\\\(["'tnr0\\]\|x[0-9a-fA-F]\{2}\|u[0-9a-fA-F]\{
62
syn keyword swiftLabel get set
63
64
syn match swiftPreproc /^\s*#\(\<if\>\|\<else\>\|\<elseif\>\|\<endif\>\)/
65
+syn region swiftPreprocFalse start="^\s*#\<if\>\s\+\<false\>" end="^\s*#\(\<else\>\|\<elseif\>\|\<endif\>\)"
66
67
syn match swiftAttribute /@\<\w\+\>/ skipwhite
68
@@ -103,6 +104,7 @@ hi def link swiftLabel Operator
103
104
hi def link swiftNew Operator
105
hi def link swiftMutating Statement
106
hi def link swiftPreproc PreCondit
107
+hi def link swiftPreprocFalse Comment
108
hi def link swiftAttribute Type
109
hi def link swiftTodo Todo
110
hi def link swiftNil Constant
0 commit comments