Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I install this for my code editor? #19

Open
DougBeney opened this issue Oct 21, 2022 · 0 comments
Open

How do I install this for my code editor? #19

DougBeney opened this issue Oct 21, 2022 · 0 comments

Comments

@DougBeney
Copy link

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant