diff options
| -rw-r--r-- | lisp/progmodes/ruby-ts-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el index cefd76feeec..0915c29881d 100644 --- a/lisp/progmodes/ruby-ts-mode.el +++ b/lisp/progmodes/ruby-ts-mode.el | |||
| @@ -469,7 +469,7 @@ non-nil." | |||
| 469 | (let* (first-call ) | 469 | (let* (first-call ) |
| 470 | (while (and parent | 470 | (while (and parent |
| 471 | (setq first-call (treesit-node-parent parent)) | 471 | (setq first-call (treesit-node-parent parent)) |
| 472 | (string-search "call" (treesit-node-type first-call))) | 472 | (equal "call" (treesit-node-type first-call))) |
| 473 | (setq parent first-call)) | 473 | (setq parent first-call)) |
| 474 | (treesit-node-start (treesit-search-subtree parent "\\." nil t)))) | 474 | (treesit-node-start (treesit-search-subtree parent "\\." nil t)))) |
| 475 | 475 | ||