Update runtime files.
diff --git a/runtime/syntax/swift.vim b/runtime/syntax/swift.vim
index 533d3fb..ff07be2 100644
--- a/runtime/syntax/swift.vim
+++ b/runtime/syntax/swift.vim
@@ -21,10 +21,11 @@
set cpo&vim
syn keyword swiftKeyword
- \ associatedtype
\ break
+ \ case
\ catch
\ continue
+ \ default
\ defer
\ do
\ else
@@ -43,6 +44,10 @@
syn match swiftMultiwordKeyword
\ "indirect case"
+syn keyword swiftCoreTypes
+ \ Any
+ \ AnyObject
+
syn keyword swiftImport skipwhite skipempty nextgroup=swiftImportModule
\ import
@@ -93,10 +98,13 @@
\ class
\ enum
\ extension
+ \ operator
+ \ precedencegroup
\ protocol
\ struct
syn keyword swiftTypeAliasDefinition skipwhite skipempty nextgroup=swiftTypeAliasName
+ \ associatedtype
\ typealias
syn match swiftMultiwordTypeDefinition skipwhite skipempty nextgroup=swiftTypeName
@@ -202,7 +210,7 @@
\ /[0-9]\+/
syn match swiftPreproc
- \ /#\(\<file\>\|\<line\>\|\<function\>\)/
+ \ /#\(\<column\>\|\<dsohandle\>\|\<file\>\|\<line\>\|\<function\>\)/
syn match swiftPreproc
\ /^\s*#\(\<if\>\|\<else\>\|\<elseif\>\|\<endif\>\|\<error\>\|\<warning\>\)/
syn region swiftPreprocFalse
@@ -213,9 +221,9 @@
syn keyword swiftTodo MARK TODO FIXME contained
-syn match swiftCastOp skipwhite skipempty nextgroup=swiftType
+syn match swiftCastOp skipwhite skipempty nextgroup=swiftType,swiftCoreTypes
\ "\<is\>"
-syn match swiftCastOp skipwhite skipempty nextgroup=swiftType
+syn match swiftCastOp skipwhite skipempty nextgroup=swiftType,swiftCoreTypes
\ "\<as\>[!?]\?"
syn match swiftNilOps
@@ -228,6 +236,7 @@
hi def link swiftImportModule Title
hi def link swiftImportComponent Identifier
hi def link swiftKeyword Statement
+hi def link swiftCoreTypes Type
hi def link swiftMultiwordKeyword Statement
hi def link swiftTypeDefinition Define
hi def link swiftMultiwordTypeDefinition Define