Package Details: vim-youcompleteme-git r2791.a3d02238-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: 1.55
First Submitted: 2013-02-05 21:32
Last Updated: 2021-04-10 12:53

Dependencies (21)

Sources (1)

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

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

staletic commented on 2020-11-29 20:01

Finally, is it possible to specify the minimum version for java-environment? JDT.LS requires java 11.

Fixed

Except it now says java-environment>11, which means 12+? Or does it mean >11.0.0?

Line 133 can also be set in the default_settings.json. The key is called java_jdtls_workspace_root_path - in case you prefer sed to ln -s.

tried and didn't work ycmd doesn't seem to respect it :/

Oh... This might be annoying. It's overridden here.

As you can see, many of the things in default_settings.json are actually overridden in plugin/youcompleteme.vim. The idea behind that was a step towards completely decoupling YCM and ycmd (YCM actually does import ycmd in a few places...). That task proved to be tougher than we thought and we stopped half way through.

The relevant YCM pull request: https://github.com/ycm-core/YouCompleteMe/pull/3243

artafinde commented on 2020-11-29 19:35

@staletic

  • fixed

  • tried and didn't work ycmd doesn't seem to respect it :/

  • fixed

staletic commented on 2020-11-29 18:27

  • -DUSE_PYTHON2 isn't recognized by cmake any more, because we now require python3.
  • Line 133 can also be set in the default_settings.json. The key is called java_jdtls_workspace_root_path - in case you prefer sed to ln -s.
  • Finally, is it possible to specify the minimum version for java-environment? JDT.LS requires java 11.

artafinde commented on 2020-11-24 13:29

@Windfisch Thanks for the suggestion - can you please check if this is already fixed on this PKGBUILD: https://gist.github.com/inglor/6f9b9b12316b360e286f5a7f7327d810

Windfisch commented on 2020-11-23 20:24

Dear Leonidas,

Currently, Rust support is broken after YCM has moved from RLS to rust-analyzer. I have fixed this in https://github.com/Windfisch/aur-vim-youcompleteme-git (tl;dr: rls.patch needs to be adjusted to do the same for rust-analyzer).

I would be happy if you could merge my patch :)

Best regards, Windfisch

staletic commented on 2020-11-16 21:14

@artafinde When possible, YCM does stick to actual tags instead of random commits. The neovim PKGBUILD is outdated and also orphaned.

The reason I excluded libclang by default is because it's considered deprecated. The only reason it still exists is because clangd is missing an obscure feature. Otherwise, clangd is a much better choice.

The reason I excluded the tern completer is the same. Only now, TSserver is missing this feature.

As for JDT causing troubles... I had a feeling something was off. I can't tell what right off the bat. I may sound lazy, but currently I'm juggling 3 YCM installations, depending on what I'm doing. I really don't feel like messing that up with installing YCM globally. That said, I'd welcome anyone who wants to test these new PKGBUILDS over to the YCM's gitter to iron out any possible problems.

Finally, we've been considering making ycmd submodule possible to install through pip. That will need a lot of work, but you can track progress here.

artafinde commented on 2020-11-15 11:33

@staletic Thanks for this I spend a few hours yesterday looking at modifying the current PKBUILD to the one you proposed. I'm also eager to move away from most submodules as it's a pain so having them as dependencies is much better (just hoping that ycm will follow the submodules' releases and not point to a random commit).

Having said that the neovim package seems a bit behind I think but since it's a -git package it might just not been built recently. I tried to keep the same build options as the current PKGBUILD and came up with the PKGBUILD

Thank you

@all: if anyone is willing to test the new PKGBUILD it will simplify the build and make it quicker.

doragasu commented on 2020-11-14 16:07

It stopped building, packaging fails because cregex is missing:

cp: cannot stat '/home/jalon/src/aur/vim-youcompleteme-git/src/YouCompleteMe/third_party/ycmd/third_party/cregex': No such file or directory

As always, I am building without support for gocode, tern, typescript and java, I don't know if that might be related to the problem.

I have tried removing cregex from line 258 of the PKGBUILD, and it builds. It also seems to be working, but I do not know if maybe I'll be missing any features because of the change.

staletic commented on 2020-11-14 14:22

Hi, I've been away for a long time, but I've taken a look at both, this PKGBUILD and the one for neovim.

Consider looking at the PKGBUILD I've written that is up-to-date with what YCM is doing and should work on Arch.

https://gist.github.com/bstaletic/7acfafbedc7db476c0eec4714d016ea4

coldspark commented on 2020-11-14 12:12

Getting a packaging error that cregex is missing. @artafinde: Boris Staletic from the YCM team told me that cregex has moved mrab-regex. Please exchange them in the PKGBUILD!