Skip to content

Commit 60cf8f7

Browse files
committed
vim: add try and catch keywords
These were missing from the keyword list. Add them.
1 parent bc6cac3 commit 60cf8f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/vim/syntax/swift.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ syn keyword swiftKeyword
1616
\ associatedtype
1717
\ break
1818
\ case
19+
\ catch
1920
\ continue
2021
\ convenience
2122
\ default
@@ -41,6 +42,7 @@ syn keyword swiftKeyword
4142
\ return
4243
\ static
4344
\ switch
45+
\ try
4446
\ typealias
4547
\ var
4648
\ where

0 commit comments

Comments
 (0)