2021-03-14 21:51:54 -04:00
|
|
|
# NVCode
|
|
|
|
|
|
|
|
If you are looking for my old configs checkout the two snapshot branches on this repo, there is one for CoC and one for Native LSP
|
|
|
|
|
2021-03-14 22:25:28 -04:00
|
|
|
## Install in one command
|
|
|
|
|
2021-03-14 22:29:12 -04:00
|
|
|
```
|
|
|
|
bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvcode/master/utils/installer/install-nv-code.sh)
|
|
|
|
```
|
2021-03-14 22:25:28 -04:00
|
|
|
|
2021-03-14 22:38:05 -04:00
|
|
|
After running you will have access to the `nv` command, this WILL NOT overwite your nvim config. So you can have both installed at the same time
|
|
|
|
|
2021-03-14 22:25:28 -04:00
|
|
|
## Get the latest version of Neovim
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd ~
|
|
|
|
sudo rm -r neovim
|
|
|
|
git clone https://github.com/neovim/neovim
|
|
|
|
cd neovim
|
|
|
|
sudo make CMAKE_BUILD_TYPE=Release install
|
|
|
|
cd ~
|
|
|
|
sudo rm -r neovim
|
|
|
|
```
|
|
|
|
|
2021-03-15 12:58:57 -04:00
|
|
|
## VSCode support
|
|
|
|
|
|
|
|
After installing the Neovim extension in VSCode
|
|
|
|
|
|
|
|
Point the nvim path to your `nvim` binary
|
|
|
|
|
|
|
|
Point your `init.vim` path to:
|
|
|
|
|
|
|
|
```vim
|
|
|
|
$HOME/.config/nvim/lua/nv-vscode/init.vim
|
|
|
|
```
|
|
|
|
|
2021-03-15 13:00:35 -04:00
|
|
|
or if you are using this config alongside your own:
|
|
|
|
|
|
|
|
```vim
|
|
|
|
$HOME/.config/nvim/lua/nv-vscode/init.vim
|
|
|
|
```
|
|
|
|
|
2021-03-14 21:51:54 -04:00
|
|
|
## TODO
|
2021-03-15 11:54:53 -04:00
|
|
|
|
|
|
|
**HIGH PRIORITY**
|
2021-03-14 21:55:07 -04:00
|
|
|
- snippet support
|
2021-03-15 12:58:57 -04:00
|
|
|
- update whichkey bindings
|
2021-03-15 12:34:37 -04:00
|
|
|
- add lots of lsp
|
2021-03-15 11:54:53 -04:00
|
|
|
- react commenting
|
|
|
|
- better autoimport
|
2021-03-15 12:14:48 -04:00
|
|
|
- toggle virtual text diagnostics
|
2021-03-15 11:54:53 -04:00
|
|
|
|
|
|
|
**LOW PRIORITY**
|
2021-03-15 12:58:57 -04:00
|
|
|
- improve VSCode support
|
2021-03-14 21:56:54 -04:00
|
|
|
- move language servers not installed with npm to neovim local share location
|
2021-03-15 03:39:04 -04:00
|
|
|
- more handsome/modern galaxyline
|
|
|
|
- potentially custom colorscheme
|
2021-03-15 03:48:39 -04:00
|
|
|
- look into autoinstall lsp
|
2021-03-15 10:41:54 -04:00
|
|
|
- get logo
|
2021-03-15 10:55:21 -04:00
|
|
|
- configure neogit
|