Although the version of the package is 0.0.82, it is actually still 0.0.81, please fix it.
Search Criteria
Package Details: neovim-coc 0.0.82-7
Package Actions
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.000004 |
First Submitted: | 2020-07-26 04:23 (UTC) |
Last Updated: | 2025-03-15 04:21 (UTC) |
Dependencies (6)
- neovim (nvim-with-restricted-modeAUR, neovim-nightlyAUR, neovim-gitAUR, neovim-nightly-binAUR)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod)
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (optional) – for installing coc extensions
- watchmanAUR (watchman-gitAUR, watchman-binAUR) (optional) – for workspace_didChangeWatchedFiles feature
- yarn (yarn-pnpm-corepackAUR, corepackerAUR, yarn-berryAUR) (optional) – for installing coc extensions
Required by (37)
- neovim-coc-clangd-git
- neovim-coc-cmake-git
- neovim-coc-css-git
- neovim-coc-deno-git
- neovim-coc-diagnostic-git
- neovim-coc-dictionary-git
- neovim-coc-emoji-git
- neovim-coc-eslint-git
- neovim-coc-explorer-git
- neovim-coc-flutter-git
- neovim-coc-git-git
- neovim-coc-go-git
- neovim-coc-highlight-git
- neovim-coc-html-git
- neovim-coc-htmlhint-git
- neovim-coc-java-git
- neovim-coc-json-git
- neovim-coc-lists-git
- neovim-coc-marketplace-git
- neovim-coc-pairs-git
- Show 17 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 2
josephblue commented on 2022-12-01 05:28 (UTC)
yan12125 commented on 2022-05-26 03:05 (UTC)
FWIW, here is PKGBUILD for 0.0.81. The trick for webpack.config.js seems not needed anymore.
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=neovim-coc
# Coc.nvim creates tags on release branch but the source code is only available on master branch, so I have to use commit hash to specify the version to use.
_hash='21a8e00b3c62faca4fdda5fa16b4f3ed4c03cf09'
pkgver=0.0.81
pkgrel=1
pkgdesc='Intellisense engine for Vim8 & Neovim, full language server protocol support as VSCode'
arch=('any')
url='https://github.com/neoclide/coc.nvim'
license=('MIT')
depends=('neovim' 'nodejs')
optdepends=('npm: for installing coc extensions'
'yarn: for installing coc extensions'
'watchman: for workspace_didChangeWatchedFiles feature')
makedepends=('yarn')
provides=('neovim-coc')
conflicts=('neovim-coc')
source=("https://github.com/neoclide/coc.nvim/archive/${_hash}.zip")
sha256sums=('97374516741d70615a0878a7072307fe58e13f4d13333fb67f88a8f706972c76')
build() {
cd "${srcdir}/coc.nvim-${_hash}"
yarn install --frozen-lockfile --preferred-cache-folder "${srcdir}/.cache"
}
package() {
cd "${srcdir}/coc.nvim-${_hash}"
nvim -es --cmd ":helptags doc" --cmd ":q"
find autoload build data doc package.json plugin -type f -exec \
install -Dm 644 '{}' "${pkgdir}/usr/share/nvim/runtime/pack/coc/start/coc.nvim/{}" \;
install -Dm 644 "${srcdir}/coc.nvim-${_hash}/LICENSE.md" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}
sainnhe commented on 2021-06-03 08:17 (UTC)
@AchmadFathoni: Should be fixed now.
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:
- 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.
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
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:
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.