@nivata Great! Thanks for the patch. I wonder if we should also include libclang.so as that is what is linked into the clang completer. We might get some more traction when asking for support upstream as well.
Search Criteria
Package Details: vim-youcompleteme-git r3216.0d855962-1
Package Actions
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.037315 |
First Submitted: | 2013-02-05 21:32 (UTC) |
Last Updated: | 2024-08-19 15:53 (UTC) |
Dependencies (19)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-bottle
- python-watchdog (python-watchdog-gitAUR)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- abseil-cpp (abseil-cpp-gitAUR) (optional) – if setting _use_system_abseil ON
- gopls (optional) – Go semantic completion
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, jdk8-temurinAUR, jdk8AUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-21-binAUR, zing-23-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk21-jetbrains-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, java-openjdk-binAUR, jdk24-graalvm-ce-binAUR, jdkAUR, jdk-ltsAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, zulu-17-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-21-binAUR, java-openjdk-ea-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, zulu-21-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zing-8-binAUR, zulu-24-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional) – Java semantic completion
- jdtlsAUR (optional) – Java semantic completion
- nodejs-ternAUR (optional) – JavaScript semantic completion
- omnisharp-roslynAUR (omnisharp-roslyn-bundledAUR, omnisharp-roslyn-binAUR) (optional) – C# semantic completion
- python-jedi (optional) – Python semantic completion
- python-numpydoc (optional) – Python semantic completion
- python-regex (python-regex-gitAUR) (optional) – Better Unicode support
- rust-analyzer (rust-analyzer-gitAUR, rust-analyzer-nightly-binAUR, rustup-gitAUR, rustup) (optional) – Rust semantic completion
- typescript (typescript-gitAUR) (optional) – Typescript semantic completion
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 35 36 37 38 39 40 41 42 43 44 45 .. 53 Next › Last »
eberan commented on 2015-10-07 18:39 (UTC)
nivata commented on 2015-10-04 21:42 (UTC)
Well, so it seems that using the bundled version of clang works. For the record here is the modified PKGBUILD I used:
https://gist.github.com/anonymous/5140dedc94896456c3fb
Too bad it doesn't seem to work with the system clang library though. Maybe you can update the PKGBUILD to reflect this? This has been discussed before (bundled version of libclang.so vs using the system one), but since apparently using the system version doesn't work currently, this PKGBUILD should use the other option.
nivata commented on 2015-09-30 20:52 (UTC)
@eberan: Yes, I saw your message, but I wasn't sure it still applied, because it was posted a few month ago.
So I'm not sure what I should do here. Change the PKGBUILD to use a bundled version of clang? Or change my .ycm_extra_conf.py to include the directory you are talking about? If the latter, can you provide a configuration example?
eberan commented on 2015-09-30 18:22 (UTC)
@nivata I've had issues with c/c++ as well. I think it's because using system clang vs the 'official' clang release. See my post from 2015-5-21:
I just noticed c/c++ has some issues with the current packaging scheme; it would seem that the 'clang_includes' directory needs to be included as it is set with '-isystem' (check YcmDebugInfo). Without that directory in the package clang shows errors for things it shouldn't ('unknown type size_t' in my case). This doesn't seem to be fixable by pointing to the systems clang_include with -isystem (despite the content being identical).
nivata commented on 2015-09-30 18:16 (UTC)
Hi,
I'm having some trouble configuring YouCompleteMe correctly using C++ and CMake. I opened a topic on the forum and I was curious if anyone using this package had similar issues:
https://bbs.archlinux.org/viewtopic.php?id=203084
swiftscythe commented on 2015-09-24 07:45 (UTC)
You can just comment out the lines you don't need.
This is the modified version I use: https://gist.github.com/archdria/d0e1fdaa565b3225d793
adam900710 commented on 2015-09-24 05:51 (UTC)
Hi,
Any idea to custom the supported languages?
I only need Jedi and C/C++ support, mono and go is quite huge packages and are totally unused in my case.
I was using vim-clang-completion originally, but it has bugs with latest vim and will cause display go crazy.
How can I disable them?
Thanks
eberan commented on 2015-09-09 05:25 (UTC)
@ekkelett & @Autokill677; Fixed, apologies for the delay. Thank you for the patch!
ekkelett commented on 2015-09-02 11:51 (UTC)
To follow on what @Autokill677 said:
diff --git a/PKGBUILD b/PKGBUILD
index 8191465..74f9b05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Erik Beran <eberan AT_gmail_DOT com>
+# Contributor: Thor K. H. <thor at roht dot no>
# Contributor: Babken Vardanyan <483ken 4tgma1l
# Contributor: mikezackles
# Contributor: z33ky
@@ -12,7 +13,7 @@
# Contributor: archdria
pkgname=vim-youcompleteme-git
-pkgver=1393.4436d51
+pkgver=1517.a2808ee
pkgver() {
cd "YouCompleteMe"
echo $(git rev-list --count master).$(git rev-parse --short master)
@@ -97,7 +98,7 @@ package() {
"$pkgdir/usr/share/vim/vimfiles"
cp -r "$srcdir/YouCompleteMe/third_party/"{pythonfutures,requests,requests-futures,retries} \
"$pkgdir/usr/share/vim/vimfiles/third_party"
- cp -r "$srcdir/YouCompleteMe/third_party/ycmd/"{ycmd,ycm_client_support.so,ycm_core.so,check_core_version.py,EXPECTED_CORE_VERSION} \
+ cp -r "$srcdir/YouCompleteMe/third_party/ycmd/"{ycmd,ycm_client_support.so,ycm_core.so,check_core_version.py,CORE_VERSION} \
"$pkgdir/usr/share/vim/vimfiles/third_party/ycmd"
cp -r "$srcdir/YouCompleteMe/third_party/ycmd/third_party/"{argparse,bottle,frozendict,jedi,waitress} \
"$pkgdir/usr/share/vim/vimfiles/third_party/ycmd/third_party"
Autokiller677 commented on 2015-08-20 14:46 (UTC)
Install fails with:
cp: „/tmp/yaourt-tmp-<user>/aur-vim-youcompleteme-git/src/YouCompleteMe/third_party/ycmd/EXPECTED_CORE_VERSION“ is not possible. File or directory not found.
Solution: EXPECTED_CORE_VERSION is now CORE_VERSION. Just replace in PKGBUILD and it works.
Pinned Comments
artafinde commented on 2021-04-10 13:03 (UTC)
If you want to use system's abseil set the
_use_system_abseil
toON
- default is to download from internet during build.