Skip to content

Str1kez/VimConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VimConfig

Requirements

npm, ripgrep, fd, tree-sitter

sudo npm install -g npm@latest
sudo npm install -g pyright
sudo npm install -g bash-language-server
sudo npm install -g dockerfile-language-server-nodejs
sudo npm install -g vscode-langservers-extracted
sudo npm install -g typescript typescript-language-server
sudo npm install -g stylelint-lsp
sudo yarn global add yaml-language-server
python3 -m pip install pynvim
go install golang.org/x/tools/gopls@latest
go install mvdan.cc/gofumpt@latest
go install golang.org/x/tools/cmd/goimports@latest
rustup component add rust-analyzer
cargo install silicon
ln -s $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rust-analyzer $CARGOPATH/bin

Other dependencies in Plugins

Installation

from SnapStore (often old versions)

sudo snap install --beta nvim --classic

or download neovim.appimage from github (fresh version compared to snap)

curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage

# Availability from anywhere
sudo ln -s ${PWD}/nvim.appimage /usr/bin/nvim

Path (deprecated)

~/.config/nvim/init.vim

Path for Lua

~/.config/nvim/

Plugins

Marksman

For Marksman installation visit this rep

Lua LSP

For Lua LSP installation visit this rep
Download archive and create link
sudo ln -s ${PWD}/lua-language-server.../bin/lua-language-server /usr/bin/lua-language-server

Markdown Preview

If you have a problem with markdown-preview.nvim:

  1. Go to .local/share/nvim/site/pack/packer/start/markdown-preview.nvim
  2. Run yarn install
  3. Run yarn build
  4. If you have an errror check :mess in nvim, or add this on second step: export NODE_OPTIONS=--openssl-legacy-provider

Installation

Packer

Inside NVim

:PackerSync

or

nvim +PackerSync

Warning! (Don't need on 0.9.0)

Need to reset plugin for nvim-tree to e14989c While having bug with opening

About

My config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages