Skip to content

Commit 6435ba6

Browse files
committed
vim: highlight the throws modifier
Highlight the `throws` keyword which indicates a function may throw an exception.
1 parent 156bfe8 commit 6435ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/vim/syntax/swift.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ syn keyword swiftDefinitionModifier
5555
\ private
5656
\ public
5757
\ static
58+
\ throws
5859

5960
syn keyword swiftIdentifierKeyword
6061
\ Self

0 commit comments

Comments
 (0)