all repos

dotfiles @ e3fa73c

my dotfiles

config/nvim/README.md (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# NVIM

## Install nvim
```bash
# From AUR
yay -S neovim-nightly-bin

# From pacman
sudo pacman -S neovim
```

## Install plugin manager(`vim-plug`)
```bash
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
```

## Install LSP servers
```bash
# Go(gopls)
go get golang.org/x/tools/gopls@latest

# Efm (linters)
go get github.com/mattn/efm-langserver

# Python(pyls)
pip install python-language-server

# JS/TS
nvim +"LspInstall typescript"

# Lua
nvim +"LspInstall lua"
```