Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Clang Complete

851 bytes added, 05:33, 13 September 2012
Installation
== Installation ==
The installation of Clang Complete requires a version of vim that supports python(3) addons. At the moment, Arch Linux's default vim build lacks the ability to use python extensions, and gvim lacks support for python3. In order to check if your vim install supports these, do:
 <pre>vim --version | grep -i python</pre> If you get a result and it contains the following, you can skip reinstalling python. Otherwise, you have to reinstall vim. (Note: if you see this with -, as in -python/dyn -python3/dyn, you have to reinstall) <pre>+python/dyn +python3/dyn</pre> Now we get to recompile vim from source. If you have a fun distro-specific tool such as [[codeABS]]testing, feel free to use that. Otherwise, pull the sources from [[[http:/code/www.vim.org/sources.php]]] and follow along. You can compile/install vim as usual. The sole special thing that need be done for this compilation is that, when you call ./configure, you *need* to ensure the following flags are present:<pre>--enable-python3interp --enable-pythoninterp</pre> and the following are absent<pre>--diable-python3interp --disable-pythoninterp</pre> Otherwise Clang Complete will fail.  
Work in progress
Anonymous user