-
Notifications
You must be signed in to change notification settings - Fork 328
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: Encountered Error detected while processing BufReadPost Autocommands for "*":
while loading a Lua file failing in Neovim nightly
#1343
Comments
Also finding this. Attaching |
Just encountered this as well, does lazy.nvim cause issues in treesitter? |
@barrett-ruth sorry do you mean you added this to lazy.nvim somehow or to a specific plugin? |
Just tested this and the repro works fine for me. The lua treesitter parser is included in Neovim, so I suspect your Neovim binary and its RUNTIME are not in sync. Try re-installing Neovim. Either way, this is not a lazy issue. Closing... |
I removed all Neovim files and `:scriptnames` output
The I tried adding |
This issue should be reopened, as Lazy is making the invalid assumption that The ideal fix for this would be to check |
This bug also manifests itself on Fedora, as it ships Neovim's built-in parsers in |
I think I just fixed that. would be great if anyone can verify, since I use bob and that's not an issue there |
It's fixed indeed, thanks for the quick update! |
🤖 I have created a release *beep* *boop* --- ## [11.11.1](v11.11.0...v11.11.1) (2024-07-13) ### Bug Fixes * **config:** check for lib64. Fixes [#1343](#1343) ([93499c5](93499c5)) * **lockfile:** ensure newline at EOF for lockfile ([#1639](#1639)) ([7ed9f71](7ed9f71)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-2465+ga7788c2e2
Operating system/version
CentOS Linux 7 (Core)
Describe the bug
Error when loading any .lua file on-start-up.
And just in case, here's my
:checkhealth
:checkhealth output
This error does not occur on
NVIM v0.9.4
. Neovim nightly recently started shipping a tree-sitter parser for Lua which may be the cause of this error. By the way, the recommended, base reproduction file in this GitHub template reproduces the issue.Steps To Reproduce
echo "print('hello')" > file.lua
nvim -u reproduction.lua file.lua
Expected Behavior
Normal startup and loading the
file.lua
file.Repro
The text was updated successfully, but these errors were encountered: