diff options
| author | Kassio Borges <kassioborgesm@gmail.com> | 2020-12-04 19:02:42 +0000 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2020-12-05 22:49:42 +0100 |
| commit | b8bbfceca74d9cb480c9582fab0a17cf0fb42779 (patch) | |
| tree | ad6e5bb4c5a6684877f97faf511a234c381150d8 | |
| parent | 407ff057db0216afd3b36d8564980a13de9614e6 (diff) | |
Add some ruby exception keywords
| -rw-r--r-- | queries/ruby/highlights.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/queries/ruby/highlights.scm b/queries/ruby/highlights.scm index 12659c52..44967e98 100644 --- a/queries/ruby/highlights.scm +++ b/queries/ruby/highlights.scm @@ -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 |
