Error while calling lua chunk
mirjr opened this issue · comments
Hi all, when I download the repository and run nvim I get this error message. How to fix this?
Error detected while processing /home/xnitry/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/xnitry/.config/nvim/lua/user/keymaps
.lua:6: attempt to index field 'keymap' (a nil value)
stack traceback:
/home/xnitry/.config/nvim/lua/user/keymaps.lua:6: in main chunk
[C]: in function 'require'
/home/xnitry/.config/nvim/init.lua:2: in main chunk
Press ENTER or type command to continue
Same issue. 22.04.1-Ubuntu SMP PREEMPT_DYNAMIC 6.2.0-37-generic
@mirjr
In my case the issue was caused by installing not the most recent release of neovim!
Check the installation notes at the bottom of readme.... (Ubuntu section)
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install neovim
@mirjr
In my case the issue was caused by installing not the most recent release of neovim!Check the installation notes at the bottom of readme.... (Ubuntu section)
sudo add-apt-repository ppa:neovim-ppa/stable sudo apt-get update sudo apt-get install neovim
Thanks
same issue here, this doesnt seem to be related to LunarVim specifically, since the same error appears if trying to instal other nvim distros
which version did you use? I had 0.10.0 then I reinstalled and switched to 0.9.5 and the issue solved
which version did you use? I had 0.10.0 then I reinstalled and switched to 0.9.5 and the issue solved
Hey, what do you mean exactly? what version of what should I downgrade
EDIT: I solved it, DONT INSTALL NVIM FROM APT, install with these official instructions