Skip to content

Commit bc6cac3

Browse files
committed
vim: sort the keyword list
1 parent 96e64bf commit bc6cac3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

utils/vim/syntax/swift.vim

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,38 +13,38 @@ syn match swiftImportModule /\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swi
1313
syn match swiftImportComponent /\.\<[A-Za-z_][A-Za-z_0-9]*\>/ contained nextgroup=swiftImportComponent
1414

1515
syn keyword swiftKeyword
16+
\ associatedtype
1617
\ break
1718
\ case
1819
\ continue
20+
\ convenience
1921
\ default
22+
\ defer
2023
\ do
2124
\ else
25+
\ extension
26+
\ final
2227
\ for
2328
\ guard
2429
\ if
2530
\ in
26-
\ static
27-
\ switch
28-
\ repeat
29-
\ return
30-
\ where
31-
\ while
32-
\ public
3331
\ internal
34-
\ private
32+
\ let
3533
\ mutating
3634
\ nonmutating
37-
\ var
38-
\ let
39-
\ typealias
40-
\ protocol
41-
\ extension
42-
\ associatedtype
4335
\ override
36+
\ private
37+
\ protocol
38+
\ public
39+
\ repeat
4440
\ required
45-
\ convenience
46-
\ final
47-
\ defer
41+
\ return
42+
\ static
43+
\ switch
44+
\ typealias
45+
\ var
46+
\ where
47+
\ while
4848

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

0 commit comments

Comments
 (0)