-
Notifications
You must be signed in to change notification settings - Fork 4
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
Vimdoc parser without PR#134
causes heading=nil
#4
Comments
I am not getting any errors though? Can you send a screenshot? |
Here is my (debugging) init.lua with the error that occurs when I do However using a modified version of the minimal init.lua provided by noice, I am able to open help files without any issues and helpview is active. |
Are you sure you don't have some other plugin that works on help files? |
It doesn't appear to be that - running nvim with the following init.lua still generates the same error, and presumably no other plugins are being loaded (using require('helpview').setup() It may be useful to know that this doesn't block the help file from opening, but the error is persistent (and with a notification plugin such as noice, this is pretty annoying) |
It only happens on |
Any help command will cause the error for me. |
That is so strange. Even with the minimal What neovim version are you using?
|
I'm using commit 336d731 I don't have any lua experience so apologies if I can't provide much assistance here. |
Can you manually add |
|
Which help file did you open?
|
In the above screenshot, I was doing |
Here's a screen recording of running that set of commands and it does land on an h1 element, though I have no idea why unless we're somehow looking at different help files. Recording.2024-08-17.224711.mp4 |
I have found the issue. You treesitter shows |
There's definitely something wrong with the parser you are using (headings should be highlighted even without the plugin, which isn't the case in the video). |
You most likely don't have this PR in your parser. |
Yup, nixpkgs has nvim-treesitter rev 8012b55, which pulls vimdoc b711df (as per their lockfile.json), one commit before that PR is merged. So looks like myself and anyone else having issues with this need to be on at least nvim-treesitter rev 69341a2. |
PR#134
causes heading=nil
when exec
h fold-manual
it failedThe text was updated successfully, but these errors were encountered: