@lilydjwg: Makes sense. Thanks! I've updated the installation path.
Search Criteria
Package Details: vim-coc-git 0.0.82.r178.gb4735a63-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vim-coc-git.git (read-only, click to copy) |
---|---|
Package Base: | vim-coc-git |
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: | vim-coc |
Provides: | vim-coc |
Submitter: | sainnhe |
Maintainer: | sainnhe (xiota) |
Last Packager: | sainnhe |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2020-07-26 04:11 (UTC) |
Last Updated: | 2023-09-19 08:49 (UTC) |
Dependencies (7)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- git (git-gitAUR, git-glAUR) (make)
- 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 (36)
- vim-coc-clangd-git (requires vim-coc)
- vim-coc-css-git (requires vim-coc)
- vim-coc-deno-git (requires vim-coc)
- vim-coc-diagnostic-git (requires vim-coc)
- vim-coc-dictionary-git (requires vim-coc)
- vim-coc-emoji-git (requires vim-coc)
- vim-coc-eslint-git (requires vim-coc)
- vim-coc-explorer-git (requires vim-coc)
- vim-coc-flutter-git (requires vim-coc)
- vim-coc-git-git (requires vim-coc)
- vim-coc-go-git (requires vim-coc)
- vim-coc-highlight-git (requires vim-coc)
- vim-coc-html-git (requires vim-coc)
- vim-coc-htmlhint-git (requires vim-coc)
- vim-coc-java-git (requires vim-coc)
- vim-coc-json-git (requires vim-coc)
- vim-coc-lists-git (requires vim-coc)
- vim-coc-ltex-git (requires vim-coc)
- vim-coc-marketplace-git (requires vim-coc)
- vim-coc-pairs-git (requires vim-coc)
- vim-coc-pyright-git (requires vim-coc)
- vim-coc-rust-analyzer-git (requires vim-coc)
- vim-coc-sh-git (requires vim-coc)
- vim-coc-snippets-git (requires vim-coc)
- vim-coc-syntax-git (requires vim-coc)
- vim-coc-tabnine-git (requires vim-coc)
- vim-coc-tag-git (requires vim-coc)
- vim-coc-tsserver-git (requires vim-coc)
- vim-coc-vetur-git (requires vim-coc)
- vim-coc-vimlsp-git (requires vim-coc)
- vim-coc-vimtex-git (requires vim-coc)
- vim-coc-word-git (requires vim-coc)
- vim-coc-yaml-git (requires vim-coc)
- vim-coc-yank-git (requires vim-coc)
- vim-coc-zsh-git (requires vim-coc)
- vim-vista-git (requires vim-coc) (optional)
Sources (1)
Latest Comments
sainnhe commented on 2023-01-31 13:11 (UTC)
lilydjwg commented on 2023-01-31 04:09 (UTC)
Try sudo to a non-root user while keeping HOME environment variable, e.g. postgres.
we should enable it after default installation as much as possible
This is Ubuntu & Debian, not Arch.
coc is not a general editing tool. It's a programming tool, perhaps only configured for one or two programming languages. It doesn't need to load for things like system administration, editing configuration files, writing emails, etc. It doesn't harm in most cases but I've got one now after a few days' from installation.
sainnhe commented on 2023-01-31 02:01 (UTC)
@lilydjwg: What do you mean by it doesn't work with sudo (keeping HOME)
? It works nicely on my machine with sudo.
IMO we should enable it after default installation as much as possible, because most other vim plugin packages are like this, no need to manually load it.
lilydjwg commented on 2023-01-30 13:12 (UTC) (edited on 2023-01-30 13:17 (UTC) by lilydjwg)
Can you install into the opt/ folder instead of start/ one, so the user can control when it's loaded? e.g. it doesn't work with sudo (keeping HOME).
sainnhe commented on 2021-04-18 01:21 (UTC)
@Lal_Amir: Should be fixed now.
<deleted-account> commented on 2021-04-17 12:52 (UTC)
@sainnhe
Build steps:
git clone --depth=1 https://aur.archlinux.org/vim-coc-git.git
cd vim-coc-git
makepkg --syncdeps --rmdeps --clean
Verbose output:
==> Making package: vim-coc-git 0.0.80.r48.gd3e40cea-1 (Sat Apr 17 20:36:07 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating coc.nvim git repo...
Fetching origin
==> Validating source files with sha256sums...
coc.nvim ... Skipped
==> Extracting sources...
-> Creating working copy of coc.nvim git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
yarn install v1.22.10
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 0.08s.
yarn run v1.22.10
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> ERROR: A failure occurred in build().
Aborting...
P.S.
Comment the yarn run build
line, build success.
sainnhe commented on 2021-04-17 05:17 (UTC)
@Lal_Amir: I can't reproduce this. Could please provide your build steps?
<deleted-account> commented on 2021-04-17 03:40 (UTC)
An error occurred during build().
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
sainnhe commented on 2021-03-26 11:49 (UTC) (edited on 2023-01-31 13:07 (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:
- vim-coc: Stable release compiled from the master branch.
- vim-coc-git: Development version compiled from the master branch.
- vim-coc-bin: Stable release based on the release branch, no need to compile.
- vim-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: vim-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:49 (UTC) (edited on 2023-01-31 13:07 (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: vim-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.