But before I mess around with getting it working with my editor, I just want to get tree-sitter-vue working with tree-sitter parse so let's start there.
What I've done:
Followed through this very basic short tutorial that teaches how to run tree-sitter parse for the first time. It teaches you how to change your tree-sitter config to look in a specific directory for parsers. It also taught how to run tree-sitter-parse on a Python file by first cloning the python tree-sitter parser to your parser directory. That worked successfully.
So I tried the same with tree-sitter-vue - cloning it to my parser directory and trying to run tree-sitter parse on it. But it did not work. It said no language found.
I understand that tree-sitter-vue is not responsible to parising the sub-languages of a .vue file but I think I'm doing something wrong.
I'd appreciate being pointed in the right direction. Thank you.
Sorry for a super newbie question but I've been reading up on tree-sitter all day and still feel pretty lost.
I've been reading the tree-sitter docs as well as the docs for Emacs tree sitter. (Emacs is my editor)
But before I mess around with getting it working with my editor, I just want to get
tree-sitter-vue
working withtree-sitter parse
so let's start there.What I've done:
tree-sitter parse
for the first time. It teaches you how to change your tree-sitter config to look in a specific directory for parsers. It also taught how to runtree-sitter-parse
on a Python file by first cloning the python tree-sitter parser to your parser directory. That worked successfully.tree-sitter parse
on it. But it did not work. It said no language found.I understand that tree-sitter-vue is not responsible to parising the sub-languages of a .vue file but I think I'm doing something wrong.
I'd appreciate being pointed in the right direction. Thank you.