mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Add some ruby exception keywords
This commit is contained in:
parent
407ff057db
commit
b8bbfceca7
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue