Package Details: vim-youcompleteme-git r3059.50379d35-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: 170
Popularity: 0.60
First Submitted: 2013-02-05 21:32 (UTC)
Last Updated: 2023-01-19 12:56 (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 2 3 4 5 6 7 .. 53 Next › Last »

artafinde commented on 2021-06-10 06:42 (UTC)

staletic: already done

staletic commented on 2021-06-10 06:12 (UTC)

LLVM12 has hit Extra. Time to migrate back?

staletic commented on 2021-06-05 09:51 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

lahwaacz commented on 2021-05-21 11:40 (UTC)

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 (UTC)

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 (UTC)

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...