NvChad / NvChad

Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
https://nvchad.com/
GNU General Public License v3.0
24.94k stars 2.13k forks source link

Add support for Windows Subsystem for Linux #2514

Closed ayushxx7 closed 12 months ago

ayushxx7 commented 12 months ago

Is your feature request related to a problem? Please describe. I clone the repo in WSL, and I get this error and on launch I get this error

Error detected while processing /home/ayush/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/ayush/.config/nvim/lua/core/init.lua:67: attempt to call local 'autocmd' (a
nil value)
stack traceback:
        /home/ayush/.config/nvim/lua/core/init.lua:67: in main chunk
        [C]: in function 'require'
        /home/ayush/.config/nvim/init.lua:1: in main chunk
Press ENTER or type command to continue

Describe the solution you'd like Should be able to run directly after clone

Describe alternatives you've considered Fixing the error manually by understanding code flow

Additional context image image

siduck commented 12 months ago

nvchad supports nvim v0.9 and above only, make sure you install that.

image

DockterTeagle commented 11 months ago

heres how you do that (by using nightly) sudo apt-get install software-properties-common sudo add-apt-repository ppa:neovim-ppa/unstable sudo apt-get update sudo apt-get install neovim