-
Notifications
You must be signed in to change notification settings - Fork 1
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
Highlighting doesn't work out of the box #3
Comments
I ended up missing this part. I assumed that nvim-treesitter would have been able to detect the queries from the package itself but turns out you would need to copy it over. Thanks for the find on the filetype as well.
Could you try copying over the queries from queries/highlights.scm in the tree-sitter-noir package and seeing what it outputs. |
Hey, I've opened an issue previously which you've kindly resolved with #2, the tree-sitter parser is now installed with no problems, however, there's two follow-up issues:
.nr
files aren't detected as "noir" files by neovim out-of-the-box, I'd recommend adding the tip "addvim.filetype.add({ extension = { nr = 'noir' } })
in your config to have noir detected.nr
file it doesn't show any highlighting on its own, am I missing something (after I got Neovim to recognize.nr
files asnoir
)? Here's my treesitter config file:Thanks again! 🙏
The text was updated successfully, but these errors were encountered: