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: 170
Popularity: 0.48
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 .. 7 8 9 10 11 12 13 14 15 16 17 .. 53 Next › Last »

jamesbrink commented on 2019-07-15 08:26 (UTC)

I have moved omnisearch-roslyn into it's own package and made it an optional dep. This is still a work in progress, and I will likely need more extensive patches specifically for arch in the future. There is a still a lot of cleanup needed on the git submodules as they should all be listed as sources and not pulled in dynamically per Arch packaging guidelines.

jamesbrink commented on 2019-07-15 01:50 (UTC)

Okay, I have added a simple quick and dirty patch to ycmd that will allow this package to use the existing installed toolchains. I have tested this on my existing account and a fresh account in a chroot. Both seemed to have worked fine for me. If this is an acceptable solution we could decide to re-enable rust support by default.

jamesbrink commented on 2019-07-15 00:27 (UTC)

Interesting regarding rust support. I found this TODO in upstream

https://github.com/ycm-core/ycmd/blob/master/ycmd/completers/rust/rust_completer.py#L89

#TODO: allow users to pick a custom toolchain.

Contemplating making a patch here for this package that could possibly just use the existing default rustup toolchain. The default rustup package actually drops an /usr/bin/rls file which links to rustup and I assume it handles the magic of finding it within each users home directory.

zerophase commented on 2019-07-14 23:14 (UTC) (edited on 2019-07-14 23:15 (UTC) by zerophase)

I don't install the package, but follow this to help find bugs when updating you complete me.

I just use:

function! BuildYCM(info)
    if a:info.status == 'installed' || a:info.status == 'updated' || a:info.force
        !./install.py --all --system-libclang
    endif
endfunction

You could probably edit my vim function for bash to just pass all of the flags you need when building different variations of ycm.

jamesbrink commented on 2019-07-14 22:55 (UTC)

@Foucault I am also pretty torn on this, I think anyone doing rust development would be more likely to have rustup installed over rust but I could be wrong. What is very clear though is we need to get rid of this duplication.

jamesbrink commented on 2019-07-14 22:17 (UTC)

Based on the feedback I have gone ahead and disabled building rust support by default in the build options. I will look into cleaning this up a bit more. My initial concern was just getting everything building and working. Again I appreciate all the feedback and suggestions.

Foucault commented on 2019-07-14 17:45 (UTC) (edited on 2019-07-14 17:49 (UTC) by Foucault)

People using rust completion probably already have one rust toolchain installed. It's wasted space duplicating everything. What is not completely clear from the installation guide is whether this can be avoided as it requires the nightly version of rust so if your system defaults to stable (the archlinux rust package does) then you cannot work with completion at all.

Personally I would just use the rust language server plugin for vim separately rather than installing loads and loads of duplicate stuff.

lahwaacz commented on 2019-07-14 10:20 (UTC)

@jamesbrink Split packages would make sense for a binary repo, but the killer feature of the manual build options is that we can choose not to build some parts at all.

jamesbrink commented on 2019-07-14 10:13 (UTC)

@artafinde

This is one of my concerns, I am going to dig into it in the morning. There is likely a much much much better way to do this. The original package would not build for me at all. I think having it a split package with something like vim-youcompletme-rust-git or something would be better than all these manual build options. Then you could simply choose which parts to install. All the being said i suspect the instructions on the installation guide are not the best approach, especially for rust.

https://github.com/ycm-core/YouCompleteMe#full-installation-guide

Thank you for the feedback! I will get some changes in here soon

artafinde commented on 2019-07-14 09:19 (UTC)

@jamesbrink It compiles OK but the build size is increased from ~150M to 1.1G. Is that expected, seems rather big (I think it's coming from the fact that it includes a rust installation which instead you should be using the installed rust. Maybe switch the default options to n instead of y to reduce complexity or even deprecate some options (like python2).