Note: Execute :packadd coc.nvim
to load coc.nvim.
I created 4 packages for coc.nvim, you can install one of them according to your preference:
- neovim-coc: Stable release compiled from the master branch.
- neovim-coc-git: Development version compiled from the master branch.
- neovim-coc-bin: Stable release based on the release branch, no need to compile.
- neovim-coc-bin-git: Development version based on the release branch, no need to compile.
Note that the development of the release branch often lags behind the master branch.
For feature workspace_didChangeWatchedFiles
to work, you'll need to install watchman, see this wiki page for more information.
Coc uses either npm
or yarn
to install extensions, so if you want to install coc extensions using :CocInstall
provided by coc, you'll need to install one of them.
The :CocInstall
command installs extensions to ~/.config/coc
that are only available for current user. If you want to install the extensions to /usr/share
that are available for all users, I created some packages for some popular extensions, you can consider to install them from AUR. By this way, you don't need to install npm
or yarn
.
Due to my lack of personal time, I only created the development versions of these packages with -git
postfix.
In addition, I selected some extensions that I think are very basic, you can consider to install them: neovim-coc-extras-meta-git
If you need an extension that is not in AUR currently, leave a comment here and I'll try to create a package for it when I have time.
Pinned Comments
sainnhe commented on 2021-03-26 11:51 (UTC) (edited on 2023-01-31 13:08 (UTC) by sainnhe)
Note: Execute
:packadd coc.nvim
to load coc.nvim.I created 4 packages for coc.nvim, you can install one of them according to your preference:
Note that the development of the release branch often lags behind the master branch.
For feature
workspace_didChangeWatchedFiles
to work, you'll need to install watchman, see this wiki page for more information.Coc uses either
npm
oryarn
to install extensions, so if you want to install coc extensions using:CocInstall
provided by coc, you'll need to install one of them.The
:CocInstall
command installs extensions to~/.config/coc
that are only available for current user. If you want to install the extensions to/usr/share
that are available for all users, I created some packages for some popular extensions, you can consider to install them from AUR. By this way, you don't need to installnpm
oryarn
.Due to my lack of personal time, I only created the development versions of these packages with
-git
postfix.In addition, I selected some extensions that I think are very basic, you can consider to install them: neovim-coc-extras-meta-git
If you need an extension that is not in AUR currently, leave a comment here and I'll try to create a package for it when I have time.