meain/evil-textobj-tree-sitter

get listp error with js file

yqrashawn opened this issue · 4 comments

the error lies at

(split-string (cadr first-line-matches)

first-line-matches is 0
(thing-at-point 'line t) is

"; inherits: (jsx)
"

any idea how to fix this?

meain commented

Woops, this actually seems like a bug I introduced recently. For some reason, I just assumed that string-match did the same thing as s-match. Let me take care of that.

Thanks for reporting this.

meain commented

This should now be fixed with bad7f8d

meain commented

I am closing the issue as this should be fixed now. Feel free to reopen if you are still having issues.