neovim: CoC
This commit is contained in:
parent
67788c7e92
commit
e4738a4f52
8 changed files with 15 additions and 2 deletions
|
|
@ -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
1
neovim/coc-settings.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
2
neovim/coc/extensions/.gitignore
vendored
Normal file
2
neovim/coc/extensions/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/coc-rust-analyzer-data
|
||||
/package-lock.json
|
||||
1
neovim/coc/extensions/db.json
Normal file
1
neovim/coc/extensions/db.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
5
neovim/coc/extensions/package.json
Normal file
5
neovim/coc/extensions/package.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"coc-rust-analyzer": ">=0.46.0"
|
||||
}
|
||||
}
|
||||
1
neovim/coc/memos.json
Normal file
1
neovim/coc/memos.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{}
|
||||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue