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.47
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 2 3 4 5 6 7 8 9 10 11 12 .. 53 Next › Last »

lahwaacz commented on 2020-07-19 16:06 (UTC)

@dramm No idea about vundle, I don't use it.

dramm commented on 2020-07-19 15:41 (UTC)

@lahwaacz It was created by vundle. So I removed ycm from vundle plugin list and the a PluginClean. Now I no longer get ycm_core library not detected, So I guess it's working!

Just to clarify then, when using this package I shouldn't also add youcompleteme to the vundle list?

lahwaacz commented on 2020-07-19 15:22 (UTC)

@dramm You are using /home/dramm/.vim/bundle/youcompleteme/third_party/ycmd/ycmd/utils.py which is not provided by this package (it has /usr/share/vim/vimfiles/third_party/ycmd/ycmd/utils.py).

dramm commented on 2020-07-19 15:06 (UTC) (edited on 2020-07-19 15:08 (UTC) by dramm)

@artafinde I appreciate the help. I was using syntastic so I thought that might be it.

However it's still not working... I must be doing something really dumb...

I removed all vundle Plugin calls (expect for vundle itself) and run PluginClean. I uninstalled this package, recompiled it and installed again. I added youcompleteme to the vundle list and run PluginInstall. Still nothing. So I recompiled this package again, just to make sure.

I then added this to the .vimrc

let g:ycm_global_ycm_extra_conf = /home/dramm/.vim/bundle/youcompleteme/.ycm_extra_conf.py'
let g:ycm_keep_logfiles = 1
let g:ycm_log_level = 'debug'

This is the error log

2020-07-19 11:52:46,835 - DEBUG - Global extra conf not loaded or no function YcmCorePreload
2020-07-19 11:52:46,835 - ERROR - ycm_core library not detected; you need to compile it by running the build.py script. See the documentation for more details.
Traceback (most recent call last):
  File "/home/dramm/.vim/bundle/youcompleteme/third_party/ycmd/ycmd/utils.py", line 498, in ImportAndCheckCore
    ycm_core = ImportCore()
  File "/home/dramm/.vim/bundle/youcompleteme/third_party/ycmd/ycmd/utils.py", line 489, in ImportCore
    import ycm_core as ycm_core
ModuleNotFoundError: No module named 'ycm_core'

The extra conf path config seems to have no effect on the debug message.

I tried this both on a javascript file and on a python file. I'm using gvim.

artafinde commented on 2020-07-19 09:32 (UTC)

@dramm: if you installed the package normally with makepkg then you don't need to do something else. It might be another plugin interfearing with it though so disable all vim plugins and try to load. A common mistake is a plugin with depends on python2 and is loaded before YCM - see previous comments.

dramm commented on 2020-07-18 15:31 (UTC) (edited on 2020-07-18 15:33 (UTC) by dramm)

Hi, I installed this package with makepkg -sirc.

I added the plugin to vundle plugins list in vimrc and installed the plugin.

However I'm still getting the YCM core library not detected message.

Do I still need to run python3 install.py even though I using this package?

Thanks!

raucao commented on 2020-05-11 12:11 (UTC)

@artafinde That was it. Thanks a lot!

I updated all my plugins and whatever was still loading Python 2 now loads Python 3 apparently.

artafinde commented on 2020-05-11 11:07 (UTC)

@raucao: could be something in the lines of this. See if you disable other plugins solves the issue and then enable one by one to find the culprit.

raucao commented on 2020-05-11 10:57 (UTC)

@artafinde It's the extra/vim 8.2.0717-2 package, and the version command's output confirms the same version:

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 8 2020 23:37:13) Included patches: 1-717
Compiled by Arch Linux