Package Details: vim-youcompleteme-git r3216.0d855962-1

Git Clone URL: https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL: https://ycm-core.github.io/YouCompleteMe/
Keywords: completion engine neovim vim ycm
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: artafinde
Last Packager: artafinde
Votes: 169
Popularity: 0.036265
First Submitted: 2013-02-05 21:32 (UTC)
Last Updated: 2024-08-19 15:53 (UTC)

Dependencies (19)

Required by (0)

Sources (2)

Pinned Comments

artafinde commented on 2021-04-10 13:03 (UTC)

If you want to use system's abseil set the _use_system_abseil to ON - default is to download from internet during build.

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 53 Next › Last »

staletic commented on 2019-04-15 19:38 (UTC)

YCM maintainer here. A few corrections about the PKGBUILD:

  • Lines 67, 68, 69 and 70: There are dependencies of "requests", not direct ycmd dependencies.
  • Instead of cloning "requests", "requests-futures", "bottle", "frozendict", "python-future", "waitress" and "regex", you can just install the packages system wide and save some space.
  • ncurses5-compat-libs is not needed any more
  • There's a experimental clangd based completer for C family of languages, if you want to prepare that, but maybe leave it off by default.

marcin commented on 2019-04-06 04:16 (UTC) (edited on 2019-04-06 04:30 (UTC) by marcin)

Started getting this error because clang has been upgraded to version 8:

13 ctypes.cdll.LoadLibrary( libclang_path ) 14 File "/usr/lib/python3.7/ctypes/init.py", line 434, in LoadLibrary 15 return self._dlltype(name) 16 File "/usr/lib/python3.7/ctypes/init.py", line 356, in init 17 self._handle = _dlopen(self._name, mode) 18 OSError: libclangAST.so.7: cannot open shared object file: No such file or directory

Had to uninstall ycm: sudo pacman -Rdns vim-youcompleteme-git and install again so that it recompiles against new clang.

LucidComplex commented on 2019-03-29 19:22 (UTC) (edited on 2019-03-30 08:35 (UTC) by LucidComplex)

I have the same experience with tjc. However, apparently removing youcompleteme from my plugin list solves the issue.

Now to contemplate whether installing this package and removing it from my vimrc, or manually compiling it and keeping it in my vimrc is the better thing to do.

Rubonnek commented on 2019-03-20 23:30 (UTC)

Works fine with makepkg -sif for me.

Without a list of steps to reproduce the problem, I'm not able to help.

dlin commented on 2019-03-20 03:34 (UTC)

Can't makepkg,

-> Building Gocode completer... client.go:17:2: use of internal package github.com/mdempsky/gocode/internal/gbimporter not allowed client.go:18:2: use of internal package github.com/mdempsky/gocode/internal/suggest not allowed ==> ERROR: A failure occurred in build().

tjc commented on 2019-03-13 23:23 (UTC)

I don't have more info =(. I install my plugins using vim +PluginInstall +qall. Youcompleteme is in my .vimrc. Then I install YCM "correctly" using the flow I described which is from their front page. It works. If I swap that flow with yay -S vim-youcompleteme-git, then I get: "The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation."

The only instructions that work are those that are on their front page.

Rubonnek commented on 2019-03-13 18:50 (UTC) (edited on 2019-03-13 18:52 (UTC) by Rubonnek)

@tjc I'm going to need more info. Could you share any error messages or logs?

Even when I build from scratch after creating an nspawn container with:

# pacstrap -i archlinux base base-devel

# systemd-nspawn -b -D archlinux

installing yay and running yay -S vim-youcompleteme-git, I'm not able to reproduce this issue.

YCM only asks for set encoding=utf-8 in my vimrc.

tjc commented on 2019-03-12 22:18 (UTC) (edited on 2019-03-12 23:10 (UTC) by tjc)

@rubonek using geo, not neo. Running in archlinux/base docker container.

sudo pacman -Syyu python python-pip git gvim

yay -S vim-youcompleteme-git

This clones the correct git files into ~/.vim/bundle/YouCompleteMe, and seems to run a build. However, if I run vim, I get: "The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation."

If, Instead, I install it myself with

cd .vim/bundle/YouCompleteMe git clean -f; git pull; git submodule update --recursive --init; ./install.py --clang-completer

then it works fine. So I don't think it's a YCM issue, I think this package isn't doing something that flow does. I also don't think it's a vimrc issue (I thought maybe it was picking up the wrong python or something) because I am not specifying a specific python version or anything in the latter flow.

Rubonnek commented on 2019-03-12 20:59 (UTC)

@tjc could you please provide the steps to reproduce the problem? Which architecture are you on? Are you using neovim?