summaryrefslogtreecommitdiff
path: root/.config/nvim/README.md
blob: 3212743e9ceeb16b80fd0bf155a2b296cf17dce8 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Neovim

Most of my config is stolen from https://github.com/ChristianChiarulli/LunarVim

## Requirements
Must have neovim >= 0.5

## Installation

### Lazy git
macOS:
```
brew install lazygit
```

Arch:
```
https://aur.archlinux.org/packages/lazygit/
```

### Ranger
```
pip3 install ranger-fm pynvim
```

### fzf

macOS:

`brew install fzf`

`sudo apt install fzf`

`sudo pacman -S fzf`

### Treesitter

`:TSInstall {language}`

### LSP

```
  :LspInstall <your_language_server>
```

### 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`