Ⅰ. 插件描述
libclang bindings for Python 3Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/zchee/libclang-python3
Ⅳ. 文档说明
# libclang-python3
| Status | |
|---|---|
| Travis CI | |
| Circle CI | |
This is a port of the clang Python bindings to Python 3. I strive to be as
close as possible to the Python 2 bindings; in fact, the unit tests are
exactly the same except for one minor difference in io (which is due to
changes in the Python API.)
This release of the library is compatible with Clang 3.6.
You may need to alter LD_LIBRARY_PATH so that the Clang library can be
- The unit tests are designed to be run with 'nosetests'. For example:
$ LD_LIBRARY_PATH=$(llvm-config-3.6 --libdir) nosetests3 -v
Status
This build is synced against 3.6 upstream.
Installation
On Ubuntu, you need the python3-nose package. You can install it usingsudo apt-get install python3-nose. Alternatively, you can download it using
pip.