Coc.nvim install
From wikinotes
# archlinux
sudo pacman -S \
nodejs \
npm
# macos
brew install
node.js \
npm
npm install -g neovim
" install coc
Plug "https://github.com/neoclide/coc.nvim", {'branch': 'release'}
" install coc languages
" NOTE: technically this is supposed to work, but it doesn't for all languages
" Plug 'https://github.com/neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
if !(isdirectory($HOME."/.config/coc/extensions/node_modules/coc-sh"))
CocInstall coc-sh
endif
NOTE:
Officially, installing servers can be done from vim-plug, but I have not had success with this.
CocInstall
works every time. It's probably best to check for files on disk.