From d633c1b9bcf2bae7b6b2222e6acdf23d0dabda17 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 19 Apr 2021 23:08:17 +0200 Subject: Update to readme --- .config/nvim/README.md | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) (limited to '.config/nvim') diff --git a/.config/nvim/README.md b/.config/nvim/README.md index b72af5d..3212743 100644 --- a/.config/nvim/README.md +++ b/.config/nvim/README.md @@ -1,5 +1,7 @@ # Neovim +Most of my config is stolen from https://github.com/ChristianChiarulli/LunarVim + ## Requirements Must have neovim >= 0.5 @@ -11,22 +13,11 @@ macOS: brew install lazygit ``` -Ubuntu: -``` -sudo add-apt-repository ppa:lazygit-team/release -sudo apt-get update -sudo apt-get install lazygit -``` - Arch: ``` https://aur.archlinux.org/packages/lazygit/ ``` -### Coc-explorer - -`:CocInstall coc-explorer` - ### Ranger ``` pip3 install ranger-fm pynvim @@ -45,3 +36,40 @@ macOS: ### Treesitter `:TSInstall {language}` + +### LSP + +``` + :LspInstall +``` + +### Programs + +``` +ranger +ueberzug +ripgrep +pynvim +neovim-remote +``` + +### EFM server +Need to install `efm-langserver` for linters and formatters to work. + +``` +:LspInstall efm + +``` + +### Formatters and Linters +*Python* +``` +black +flake8 +``` + +*Lua* +`luarocks install --server=https://luarocks.org/dev luaformatter` + +*Yaml, json, js, html, css* +`npm install -g prettier` -- cgit v1.2.3-70-g09d2