-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Bug]: Neovim default parsers are missing. #20617
Comments
please remove the lines of code which are forcing treesitter to be used in vimdoc and lua files. or please provide required parsers in parser runtime directory like alpine linux doing here in the picture shown below: i have a freshly installed termux and after upgrading all packages i installed Neovim and i got the errors i mentioned when I opened it's help page. i don't use any plugins or treesitter in neovim but i often have to edit neovim configuration files in lua. only way i was able to fix it is by removing the lines of code that forced treesitter to be used in those particular files types, i failed to disable treesitter when i tried any other methods. |
removing the line shown below from
problem is if any update arrives and this isn't fixed, the changes i made will be reverted and errors will appear again so please remove these lines from package's source code itself. |
I'll try a full reinstall with an empty config later. I probably missed this since I add a couple extra parsers as part of my config, so "smoke testing" 0.10 with it didn't throw up any parsers errors. Edit: Okay the issue does replicate when using |
The problem isn't Tip If you are using the nvim-treesitter/nvim-treesitter plugin you can use |
closed by #20630 |
Tom, I have created separate tree-sitter parser packages. May I create a pull request to add those. neovim also needs a fix for latest vimdoc parser. |
Yep that probably makes more sense. |
Problem description
Neovim wiki states it includes parsers for Vimdoc and Lua by default (source: https://neovim.io/doc/user/treesitter.html#treesitter-parsers).
Parsers are libraries that treesitter will search for in the parser runtime directory.
Currently,
are forcing treesitter over syntax, and since there are no parsers available for treesitter to be using it causes errors like these :
this particular error shown above appears when opening Neovim help page inside Neovim by running Neovim command
:h
, similar errors appears when opening any lua file.What steps will reproduce the bug?
:h
or:help
.What is the expected behavior?
No errors should appear when opening Neovim help page or opening any lua file.
System information
The text was updated successfully, but these errors were encountered: