Skip to content

Commit

Permalink
vim: sort the keyword list
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd committed May 27, 2016
1 parent 96e64bf commit bc6cac3
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions utils/vim/syntax/swift.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,38 @@ syn match swiftImportModule /\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swi
syn match swiftImportComponent /\.\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swiftImportComponent

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

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

0 comments on commit bc6cac3

Please sign in to comment.