Skip to content

Commit caa40e2

Browse files
committed
vim: remoe unnecessary keyword option
skipwhite does not do anything for keyword matches. Remove the unnecessary option. NFC.
1 parent a942a67 commit caa40e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/vim/syntax/swift.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ 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 guard if in static switch repeat return where while public internal private mutating nonmutating var let typealias protocol extension skipwhite
16-
syn keyword swiftKeyword associatedtype override required convenience final defer 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
16+
syn keyword swiftKeyword associatedtype override required convenience final defer
1717

1818
syn keyword swiftTypeDefinition class extension protocol struct typealias enum skipwhite nextgroup=swiftTypeName
1919
syn region swiftTypeAttributes start="\[" end="\]" skipwhite contained nextgroup=swiftTypeName

0 commit comments

Comments
 (0)