Package Details: vim-youcompleteme-git r2813.4df6f35f-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: 162
Popularity: 0.77
First Submitted: 2013-02-05 21:32
Last Updated: 2021-06-18 15:39

Dependencies (19)

Sources (2)

Pinned Comments

artafinde commented on 2021-04-10 13:03

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

1 2 3 4 5 6 ... Next › Last »

artafinde commented on 2021-06-10 06:42

staletic: already done

staletic commented on 2021-06-10 06:12

LLVM12 has hit Extra. Time to migrate back?

staletic commented on 2021-06-05 09:51

LLVM 12 has just hit the official repos. You can switch back to Arch's clangd/libclang.

lahwaacz commented on 2021-05-21 22:15

artafinde: Thanks for updating the package, now I have a functional YCM with clangd 12.

staletic: I still have the problem. When I create the files foo.h and foo.hpp as shown here and open foo.h in vim, YCM gives me this diagnostic:

foo.h|8 col 10 error| In included file: redefinition of 'Foo' /home/lahwaacz/foo.h:3:7: note: error occurred here /home/lahwaacz/foo.hpp:3:10: note: '/home/lahwaacz/foo.h' included multiple times, additional include site here [redefinition]

I even tried to comment out all ycm settings in my vimrc and still got the same. Do you have some some configuration which remedies the issue?

artafinde commented on 2021-05-21 14:05

lahwaacz: Thanks it was a bug there, it should be a relative symlink and it's done to not copy the libclang.so twice as it's big.

lahwaacz commented on 2021-05-21 13:55

artafinde: This command is wrong, since $pkg_ycmd_dir contains the $pkgdir:

ln -s "${pkg_ycmd_dir}/third_party/clang/lib/libclang.so" "${pkg_ycmd_dir}/third_party/clang/lib/libclang.so"

It should also probably link to the file under clangd...

artafinde commented on 2021-05-21 13:36

lahwaacz: Just pushed an update - try rebuilding (no changes required in PKGBUILD)

lahwaacz commented on 2021-05-21 11:40

artafinde: I understood your comment as it is necessary to use _use_system_clang="OFF" until clang 12 appears in the repos, then I was surprised that the package even built with _use_system_clang="ON" (that is pkgver=r2812.ab73ca25-1). Also /usr/share/vim/vimfiles/third_party/ycmd/third_party/clangd/output/ seems to be bundled regardless of the _use_system_clang value?

artafinde commented on 2021-05-21 11:35

lahwaacz: aware of this but as I mentioned before the bundled cland12 is a temporary solution until clang12 hits the repos - it's been our for quite some time not sure what's the delay from the maintainer. Currently the _use_system_clang="OFF" is broken and not sure if I'd like to spend time on fixing something which is temporary.

lahwaacz commented on 2021-05-21 11:28

Hmm, I've just tried to rebuild the package with _use_system_clang="OFF" and then I get this error in vim:

Error detected while processing VimEnter Autocommands for "*"..function youcompleteme#Enable[44]..<SNR>56_SetUpPython:
line   66:
Error while listing /usr/share/vim/vimfiles/third_party/ycmd/third_party/clang/lib/clang folder
Press ENTER or type command to continue

Seeing that the package installs the bundled clang into /usr/share/vim/vimfiles/third_party/ycmd/third_party/clangd/output/, there is probably some packaging problem...