Closed damienbutt closed 1 year ago
Go to .config/nvim/lua/user/plugins.lua and remove git commit of the plugin that is causing the problem.
For example gitsigns
:
use({ "lewis6991/gitsigns.nvim", commit = "c18e016864c92ecf9775abea1baaa161c28082c3" })
Change it to:
use({ "lewis6991/gitsigns.nvim" })
Or comment out
use({ "lewis6991/gitsigns.nvim"--[[, commit = "c18e016864c92ecf9775abea1baaa161c28082c3"]] })
Hi,
Thanks.
I have tried that but am just getting further errors.
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: Error executing lua: ...ocal/Cellar/neovim/0.8.0/share/nvim/r
untime/filetype.lua:23: Vim(append):Error executing lua callback: .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: attempt to index local 'h
lmap' (a nil value)
stack traceback:
.../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: in main chunk
[C]: in function 'resolve_module'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:473: in function 'detach_module'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:487: in function 'reattach_module'
...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:106: in function <...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:105>
[C]: in function 'nvim_cmd'
...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:23: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22>
[C]: in function 'nvim_buf_call'
...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11>
stack traceback:
[C]: in function 'nvim_cmd'
...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:23: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22>
[C]: in function 'nvim_buf_call'
...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11>
stack traceback:
[C]: in function 'nvim_buf_call'
...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11
As you can see, now it's treesitter. Do that for tthe treesitter too. For me gitcommits, treesitter, and some cmp/lsp I can't remember are causing the error.
A few commits were made that remedy the errors (gitsigns was commented out temporarily and treesitter was pinned to a newer commit). If you're still having issues delete nvim-treesitter from .local/share/lunarvim/site/pack/packer/start/ (in Linux at least) and run PackerSync to reinstall. Close nvim and re-open for treesitter to install it's extensions.
Hi, this is fixed in master by #241
Just tried to install this on macOS. Should this work?
Not having much luck. Constant errors to the point nvim is unusable.
Also getting constant errors when trying to type etc in a file.
The healthcheck looks OK?
Is there something I might be missing?
Thanks,
D