Add some ruby exception keywords

This commit is contained in:
Kassio Borges 2020-12-04 19:02:42 +00:00 committed by Stephan Seitz
parent 407ff057db
commit b8bbfceca7

View file

@ -50,6 +50,14 @@
((identifier) @keyword
(#vim-match? @keyword "^(private|protected|public)$"))
[
"rescue"
"ensure"
] @exception
((identifier) @exception
(#vim-match? @exception "^(fail|raise)$"))
; Function calls
"defined?" @function