Skip to content

Commit 472480c

Browse files
committed
[vim] Fix default label problem
1 parent 694b153 commit 472480c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/vim/syntax/swift.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ syn match swiftKeyword
144144
syn region swiftCaseLabelRegion
145145
\ matchgroup=swiftKeyword start=/\<case\>/ matchgroup=Delimiter end=/:/ oneline contains=TOP
146146
syn region swiftDefaultLabelRegion
147-
\ matchgroup=swiftKeyword start=/\<default\>/ matchgroup=Delimiter end=/:/
147+
\ matchgroup=swiftKeyword start=/\<default\>/ matchgroup=Delimiter end=/:/ oneline
148148

149149
syn region swiftParenthesisRegion matchgroup=NONE start=/(/ end=/)/ contains=TOP
150150

0 commit comments

Comments
 (0)