-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Angular pack: no template highlighting #498
Comments
It's probably mismatch of ABI between angularjs treesitter and newer neovim. nvim-treesitter/nvim-treesitter-angular#2 You need to build tree sitter plugin manually from fork posted in that issue. |
I think in this case I would see the corresponding error in If it is necessary to build something manually, why do I need this pack?) In this case the fork should be part of the pack. |
Feel free to create a PR then, if you think this fork should be part of the pack. :) |
Do any of you guys use https://github.com/joeveiga/ng.nvim ? Experiences? |
Re this: |
Going ahead and closing this due to inactivity. |
There is a working fork you could use in this pack nvim-treesitter/nvim-treesitter-angular#3
While the problem isn't solved. |
Due to inactivtiy. |
|
Please check the code in the pack. :) |
Yep, but it still doesn't work while people in the issue stated that it does for them. Don't know why... 🫤 |
And people are also saying that it DIDN't fix the issue, so 🤷🏾♂️ |
It didn't fixed the issue with inline templates. Here I found the fork with regenerated parser, it should fix the issue with incorrect ABI version https://github.com/ShooTeX/tree-sitter-angular/tree/main ![]() |
We'll have to check to see if there are any other issues with that fork. I'll re-open the issue |
Thank you. |
@Uzaaft cloned repos and applied fixes to each. Could you please try if it's working? https://github.com/osenvosem/tree-sitter-angular |
@kmiasko Would you be up to testing @osenvosem fix. I myself don't use angular |
Doesn't seem to fix everything for me, the Angular thing says it's working but TypeScript is still broken.
|
The Angular parser has been merged into the nvim-treesitter. |
Installed the Angular pack but angular templates is still highlighted as simple html files.
Has anyone it working?
The text was updated successfully, but these errors were encountered: