-
Notifications
You must be signed in to change notification settings - Fork 237
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 config is broken. #364
Comments
Mmmm if u enter nvim skip the error message and you can do Be sure ~/.config/nvim/lua/ dir exists, should be, if u use my install script. Be sure you have lua installed. |
i have lua installed, but when i put in ":lazy," i get an error |
@BIGGERSHOTLINUX what's the output of |
NVIM v0.10.2 |
Is my neovim config in ~/.config/neovim???? |
uhhhhh no |
theres a nvim |
i renamed it to neovim... it doesn't give me errors now but its still default nvim, even after running :Lazy |
Oh sorry bro, mi mistake, yes the dir must be nvim, ~/.config/nvim lets do it manually, delete the dir ~/.config/nvim, now delete ~/.cache/nvim and delete ~/.local/share/nvim and ~/.local/state/nvim Now clone my repo again in the dir you want, now enter my repo, cd dotfiles now copy the .../dotfiles/config/nvim directory and paste in ~/.config/ Now open a terminal and execute |
Checklist before submitting an issue
Description of the bug
When i start nvim, i get this message:
Error detected while processing /home/name/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/name/.config/nvim/init.lua
:16: module 'lazy' not found:
no field package.preload['lazy']
no file './lazy.lua'
no file '/usr/share/luajit-2.1/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy.lua'
no file '/usr/local/share/lua/5.1/lazy/init.lua'
no file '/usr/share/lua/5.1/lazy.lua'
no file '/usr/share/lua/5.1/lazy/init.lua'
no file './lazy.so'
no file '/usr/local/lib/lua/5.1/lazy.so'
no file '/usr/lib/lua/5.1/lazy.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/name/.config/nvim/init.lua:16: in main chunk
Press ENTER or type command to continue
and then its just barebones nvim.
Reproducing the issue
No response
Expected behaviour
Expected behavior would be the one in the wiki and homepage
Additional context
No response
System information
Arch Linux
Other Window managers:
Hyprland
Niri
The text was updated successfully, but these errors were encountered: