Package Details: neovim-coc 0.0.82-5

Git Clone URL: https://aur.archlinux.org/neovim-coc.git (read-only, click to copy)
Package Base: neovim-coc
Description: Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode
Upstream URL: https://github.com/neoclide/coc.nvim
Keywords: coc.nvim
Licenses: MIT
Conflicts: neovim-coc
Provides: neovim-coc
Submitter: sainnhe
Maintainer: sainnhe (xiota)
Last Packager: sainnhe
Votes: 8
Popularity: 0.000036
First Submitted: 2020-07-26 04:23 (UTC)
Last Updated: 2023-10-18 04:50 (UTC)

Pinned Comments

sainnhe commented on 2021-02-19 06:18 (UTC) (edited on 2023-01-31 13:09 (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:

  1. neovim-coc: Stable release compiled from the master branch.
  2. neovim-coc-git: Development version compiled from the master branch.
  3. neovim-coc-bin: Stable release based on the release branch, no need to compile.
  4. 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.

Latest Comments

« First ‹ Previous 1 2

AchmadFathoni commented on 2021-05-31 15:36 (UTC)

I got this when when opening nvim

[coc.nvim]: node:internal/modules/cjs/loader:944
  throw err;
  ^
Error: Cannot find module '/usr/share/nvim/runtime/pack/coc/start/coc.nvim/bin/check.js'
Require stack:
- internal/preload
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1261:12)
    at loadPreloadModules (node:internal/bootstrap/pre_execution:456:5)
    at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:75:3)
    at node:internal/main/run_main_module:7:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

sainnhe commented on 2021-02-19 06:18 (UTC) (edited on 2023-01-31 13:09 (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:

  1. neovim-coc: Stable release compiled from the master branch.
  2. neovim-coc-git: Development version compiled from the master branch.
  3. neovim-coc-bin: Stable release based on the release branch, no need to compile.
  4. 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.

yan12125 commented on 2021-01-26 05:17 (UTC)

Thanks for the update!

sainnhe commented on 2021-01-26 03:57 (UTC)

@yan12125: Thank you! I've updated the installation path.

yan12125 commented on 2021-01-25 11:56 (UTC)

Hi, could you change /usr/local/share to /usr/share ? It is suggested that "Packages should never be installed to /usr/local/" [1], and using /usr/share also works fine.

[1] https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_etiquette