Skip to content

Commit 071c807

Browse files
committed
vim: add coloring for 'guard'
1 parent 1f788fd commit 071c807

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
@@ -12,7 +12,7 @@ syn keyword swiftImport import skipwhite nextgroup=swiftImportModule
1212
syn match swiftImportModule /\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swiftImportComponent
1313
syn match swiftImportComponent /\.\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swiftImportComponent
1414

15-
syn keyword swiftKeyword break case continue default do else for if in static switch repeat return where while public internal private mutating nonmutating var let typealias protocol extension skipwhite
15+
syn keyword swiftKeyword break case continue default do else for guard if in static switch repeat return where while public internal private mutating nonmutating var let typealias protocol extension skipwhite
1616
syn keyword swiftKeyword associatedtype override required convenience final defer skipwhite
1717

1818
syn keyword swiftTypeDefinition class extension protocol struct typealias enum skipwhite nextgroup=swiftTypeName

0 commit comments

Comments
 (0)