cpp queries for builtin treesit library inherits c queries from elisp-tree-sitter
Closed this issue · 0 comments
matth0204 commented
The problem is in calling evil-textobj-tree-sitter--get-queries-dir-func under with-temp-buffer. It gives the wrong answer because the temp buffer's major mode is not c++-ts-mode.