Skip to content

Latest commit

 

History

History
executable file
·
65 lines (43 loc) · 1.25 KB

README.md

File metadata and controls

executable file
·
65 lines (43 loc) · 1.25 KB

Neovim configuration

Installation

Linux

git clone --recursive git@github.com:Shatur95/neovim-config.git ~/.config/nvim

Windows

git clone --recursive git@github.com:Shatur95/neovim-config.git $env:LOCALAPPDATA/nvim

Plugins

General

call firenvim#install(0) " To enable embedding in browsers via firenvim
call mkdp#util#install() " Markdown preview

Arch Linux

yay -S fzf ripgrep nerd-fonts-source-code-pro xkb-switch vim-language-server cmake-language-server bash-language-server lua-language-server-git

Windows

scoop bucket add nerd-fonts
sudo scoop install -g fzf ripgrep SourceCodePro-NF
npm install -g vim-language-server
pip install cmake-language-server

FZF in scoop comes without Vim plugin, so need to download it manually:

git clone --depth=1 git@github.com:junegunn/fzf.git $env:LOCALAPPDATA/nvim/pack/plugins/start/fzf

Updating plugins

Plugins are stored as submodules.

Linux

git -C ~/.local/share/nvim/site/pack/Shatur submodule update --remote

Windows

git -C $env:LOCALAPPDATA/nvim-data/site/pack/Shatur submodule update --remote

Style

I use vint for configuration linting.