(ruby-ts--align-chain): Use 'equal' to check for an exact match
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--align-chain): Use 'equal' to check for an exact match rather than substring.
This commit is contained in:
parent
f631c90e79
commit
a0d5fba74a
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ non-nil."
|
|||
(let* (first-call )
|
||||
(while (and parent
|
||||
(setq first-call (treesit-node-parent parent))
|
||||
(string-search "call" (treesit-node-type first-call)))
|
||||
(equal "call" (treesit-node-type first-call)))
|
||||
(setq parent first-call))
|
||||
(treesit-node-start (treesit-search-subtree parent "\\." nil t))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue