diff options
| author | Dmitry Gutov | 2023-04-03 23:39:41 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2023-04-03 23:39:41 +0300 |
| commit | bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e (patch) | |
| tree | 8d42095d090b7ab33706875a23b2b4b068324e36 | |
| parent | 0275c54ca80124f8a6e3a9823844b9ee131443cc (diff) | |
| download | emacs-bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e.tar.gz emacs-bd5c1d1cbbd12aeca5556f1fa8c6d3b6513dc39e.zip | |
ruby-ts-mode: Recognize more nodes as sexps
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): Argument
treesit-sexp-type-regexp with interpolation, instance_variable,
global_variable (bug#62086, bug#62416).
| -rw-r--r-- | lisp/progmodes/ruby-ts-mode.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el index 1a085b669ee..262d989cd44 100644 --- a/lisp/progmodes/ruby-ts-mode.el +++ b/lisp/progmodes/ruby-ts-mode.el | |||
| @@ -1138,6 +1138,9 @@ leading double colon is not added." | |||
| 1138 | "heredoc_body" | 1138 | "heredoc_body" |
| 1139 | "regex" | 1139 | "regex" |
| 1140 | "argument_list" | 1140 | "argument_list" |
| 1141 | "interpolation" | ||
| 1142 | "instance_variable" | ||
| 1143 | "global_variable" | ||
| 1141 | ) | 1144 | ) |
| 1142 | eol)) | 1145 | eol)) |
| 1143 | 1146 | ||