WSL2 NEOVIM CONFIG (ARCHIVED) UPDATE: .dotfiles
Follow this Playlist from Christian Chiarulli for Guides.
-
I use this setup mainly on my Pengwin distro under WSL2.
Make sure you really know basics of Vim & Neovim. You can join @Machine Discord Server
-
All plugins are up-to-date.
- Install Neovim v0.7.0 or Nightly. Using
linuxbrew
brew install neovim
-
Remove current
~/.config/nvim
directory -
If you have packers.nvim installed, remove
.local\share\nvim\site\pack
-
Clone
git clone https://github.com/barryblando/neovim-config-setup.git ~/.config/nvim
- Run
nvim
and wait for the plugins to be installed
NOTE (You will notice treesitter pulling in a bunch of parsers the next time you open Neovim)
- Install the following language servers:
npm i -g
bash-language-server
dockerfile-language-server-nodejs
diagnostic-languageserver
@tailwindcss/language-server
yaml-language-server
vscode-langservers-extracted
typescript typescript-language-server
graphql-language-service-cli
@prisma/language-server
@ansible/ansible-language-server
emmet-ls
prettier
cargo install --locked taplo-cli
cargo install stylua
brew install hashicorp/tap/terraform-ls
brew install lua-language-server
brew install bufbuild/buf/buf
brew install hadolint
- Open
nvim
and enter the following:
:checkhealth
-- If you found errors just follow the instructions there i.e installing lazygit, lazydocker, lazynpm, ncdu, htop for Toggleterm
IF ALL IS WELL. YOU'RE GOOD TO GO. GOOD LUCK, COMRADE!