]> git.eshelyaron.com Git - emacs.git/commitdiff
ruby-ts-mode: Recognize more nodes as sexps
authorJuri Linkov <juri@linkov.net>
Tue, 4 Apr 2023 06:42:10 +0000 (09:42 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 4 Apr 2023 06:42:10 +0000 (09:42 +0300)
* lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode):
Add "unless" to 'treesit-sexp-type-regexp'.

lisp/progmodes/ruby-ts-mode.el

index 262d989cd444429afd7269c1b984a3dac7d101e2..6a7326af61dc2b314d4921039cd4804a7c5f43fc 100644 (file)
@@ -1122,6 +1122,7 @@ leading double colon is not added."
                       "hash"
                       "parenthesized_statements"
                       "if"
+                      "unless"
                       "case"
                       "when"
                       "block"