(ruby-ts-mode): Extend treesit-thing-settings (bug#67036)
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Add to 'treesit-thing-settings': 'singleton_class', 'else' and 'then'. The latter two help with navigation across elseif's a little, but not quite perfectly.
This commit is contained in:
@@ -1128,6 +1128,7 @@ leading double colon is not added."
|
||||
bol
|
||||
(or
|
||||
"class"
|
||||
"singleton_class"
|
||||
"module"
|
||||
"method"
|
||||
"array"
|
||||
@@ -1137,6 +1138,8 @@ leading double colon is not added."
|
||||
"array_pattern"
|
||||
"hash_pattern"
|
||||
"if"
|
||||
"else"
|
||||
"then"
|
||||
"unless"
|
||||
"case"
|
||||
"case_match"
|
||||
|
||||
Reference in New Issue
Block a user