Update indents & fix catch highlights

This commit is contained in:
Connor Lay (Clay) 2021-10-06 14:36:22 -07:00 committed by Stephan Seitz
parent 886261a96b
commit 259e3f6e64
2 changed files with 5 additions and 14 deletions

View file

@ -118,6 +118,7 @@
(call target: ((identifier) @keyword (#any-of? @keyword
"alias"
"case"
"catch"
"cond"
"else"
"for"

View file

@ -1,28 +1,18 @@
[
(arguments)
(call)
(do_block)
(list)
(map)
(stab_expression)
(tuple)
] @indent
(stab_expression
right: (_) @indent)
[
"("
")"
"{"
"}"
"["
"]"
"end"
"}"
(after_block)
(catch_block)
(else_block)
(rescue_block)
"do"
"end"
(catch_block)
] @branch
(comment) @ignore