Skip to content

Commit 1d53362

Browse files
committed
vim: treat associatedtype as typealias for highlighting
1 parent 122deaa commit 1d53362

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
@@ -16,7 +16,6 @@ if exists("b:current_syntax")
1616
endif
1717

1818
syn keyword swiftKeyword
19-
\ associatedtype
2019
\ break
2120
\ catch
2221
\ continue
@@ -92,6 +91,7 @@ syn keyword swiftTypeDefinition skipwhite skipempty nextgroup=swiftTypeName
9291
\ struct
9392

9493
syn keyword swiftTypeAliasDefinition skipwhite skipempty nextgroup=swiftTypeAliasName
94+
\ associatedtype
9595
\ typealias
9696

9797
syn match swiftMultiwordTypeDefinition skipwhite skipempty nextgroup=swiftTypeName

0 commit comments

Comments
 (0)