gh0stzk / dotfiles

BSPWM environment with 18 themes. With a theme selector to change on the fly.
GNU General Public License v3.0
3.05k stars 230 forks source link

[BUG] Neovim config is broken. #364

Open BIGGERSHOTLINUX opened 4 days ago

BIGGERSHOTLINUX commented 4 days ago

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

gh0stzk commented 4 days ago

Mmmm if u enter nvim skip the error message and you can do :Lazy press "U" fixes the problem??

Be sure ~/.config/nvim/lua/ dir exists, should be, if u use my install script.

Be sure you have lua installed. sudo pacman -S lua

BIGGERSHOTLINUX commented 4 days ago

Mmmm if u enter nvim skip the error message and you can do :Lazy press "U" fixes the problem??

Be sure ~/.config/nvim/lua/ dir exists, should be, if u use my install script.

Be sure you have lua installed. sudo pacman -S lua

i have lua installed, but when i put in ":lazy," i get an error "not an editor command"

0xN1nja commented 3 days ago

@BIGGERSHOTLINUX what's the output of nvim --version