Package Details: vim-clang-complete-git 20130623-1

Git Clone URL: https://aur.archlinux.org/vim-clang-complete-git.git (read-only)
Package Base: vim-clang-complete-git
Description: Plugin which uses clang for accurately completing C and C++ code. Git version.
Upstream URL: https://github.com/Rip-Rip/clang_complete
Licenses: custom
Conflicts: vim-clang-complete
Submitter: dobo
Maintainer: dobo
Last Packager: dobo
Votes: 25
Popularity: 0.315476
First Submitted: 2011-11-15 00:31
Last Updated: 2015-06-08 17:33

Latest Comments

littleroad commented on 2016-08-10 07:50

Excuse me, this package should contain kinds.py, because libclang.py need import kinds from it.

adam900710 commented on 2016-05-19 08:56

Also, this package doesn't have good install script to update vim helptags.

Please add install file to update vim helptags.

Thanks.

adam900710 commented on 2016-05-16 07:26

OK, clang 3.8 is just causing warning, not sure if it will really slow down completion.

adam900710 commented on 2016-05-16 02:36

'Clang' from extra repo is now 3.8, and the plugin now needs 'clang35' as dependency.

zopieux commented on 2016-03-14 18:16

This package broke the latest vim release 7.4.1529-1: going into C syntax does fubar to vim/the terminal.

dobo commented on 2014-12-08 17:00

There's open ticket for Python 3 support in mainstream.
https://github.com/Rip-Rip/clang_complete/issues/430

adam900710 commented on 2014-11-27 07:19

Now arch official repo split vim and vim-python3, so how about to support vim-python3
or clang-completion will only support python2?

flu commented on 2014-01-26 11:26

You may want to add a pkgver function to dinamically change version number:
pkgver() {
cd "$srcdir/clang_complete"
echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
}

Anonymous comment on 2013-03-13 15:38

It looks like there is no longer an autoload directory in the src. I am getting an error due to the following line in the PKGBUILD saying that it cannot stat autoload/snippets

install -D -m 644 autoload/snippets/* ${pkgdir}/usr/share/vim/vimfiles/autoload/snippets

Rocker commented on 2013-01-27 06:50

Hi. Here is problem with building the last version:

patching file clang_complete/plugin/clang_complete.vim
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file clang_complete/plugin/clang_complete.vim.rej

sakalisc commented on 2012-10-29 08:14

Thanks. I would also suggest an install script that updates the help tags. You
can take a look at other vim plugin packages for an example.

dobo commented on 2012-10-28 22:03

Fixed, thanks.

sakalisc commented on 2012-10-26 09:46

Hello. Trying to build the latest version I get this:

patching file clang_complete/plugin/clang_complete.vim
Hunk #1 succeeded at 71 with fuzz 1 (offset 17 lines).
patching file clang_complete/autoload/getopts/gcc.vim
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file clang_complete/autoload/getopts/gcc.vim.rej

dobo commented on 2012-03-29 16:38

Thanks, fixed it. Unfortunately this gcc script tries to create cache file in clang-complete script's directory. So i patched this file and changed path to ~/.vim. Probably it's a bad solution but couldn't find another one.

randomize46 commented on 2012-03-29 15:23

Package missing file https://github.com/Rip-Rip/clang_complete/tree/master/autoload/getopts/gcc.vim from original repository (used to extract gcc include paths automatically), resulting error message in clang_complete.vim:178 where autoload getopts#gcc#getopts is called on startup.

dobo commented on 2011-12-14 21:01

You can try new versions. It adds few lines to clang_complete.vim that set g:clang_library_path if it wasn't set.

haagch commented on 2011-12-11 16:35

g:clang_library_path needs to be set to "/usr/lib/llvm". Can this be done automatically by the PKGBUILD?