1
0
Fork 0

neovim: CoC

This commit is contained in:
Jeremy Kaplan 2021-06-03 22:23:21 -07:00
commit e4738a4f52
8 changed files with 15 additions and 2 deletions

View file

@ -10,6 +10,7 @@
- link:
~/bin: bin/
~/.config/alacritty: alacritty/
~/.config/coc: neovim/coc
~/.config/direnv/direnvrc: direnv/direnvrc
~/.config/flake8: etc/flake8
~/.config/git: git/

1
neovim/coc-settings.json Normal file
View file

@ -0,0 +1 @@
{}

2
neovim/coc/extensions/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/coc-rust-analyzer-data
/package-lock.json

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,5 @@
{
"dependencies": {
"coc-rust-analyzer": ">=0.46.0"
}
}

1
neovim/coc/memos.json Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -33,6 +33,7 @@ Plug 'LnL7/vim-nix'
Plug 'ludovicchabant/vim-gutentags'
Plug 'MarcWeber/vim-addon-local-vimrc'
Plug 'mxw/vim-jsx'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'ntpeters/vim-better-whitespace'
Plug 'pangloss/vim-javascript'
Plug 'plasticboy/vim-markdown'

View file

@ -1,10 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
set -x
set -exuo pipefail
[ -d ~/.virtualenvs/neovim3 ] || python3 -m venv ~/.virtualenvs/neovim3
~/.virtualenvs/neovim3/bin/python -c 'import pynvim' || ~/.virtualenvs/neovim3/bin/pip install pynvim
(cd ~/.config/coc/extensions && npm install)
# https://github.com/junegunn/vim-plug/wiki/tips#install-plugins-on-the-command-line
nvim -es -u ~/.config/nvim/init.vim -i NONE -c "PlugInstall" -c "qa"