Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 533 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 533 Bytes

Install

Install requirements on Debian:

sudo apt install g++ nlohmann-json-dev libclang-5.0-dev

Compile the plugin binary:

cd ncm2-libclang
g++ src/ncm2_libclang.cpp -std=c++11 -I /usr/lib/llvm-5.0/include/ /usr/lib/llvm-5.0/lib/libclang.so -o bin/ncm2_libclang

If you're using vim-plug.

Plug "ncm2/ncm2-libclang", {"do": "g++ src/ncm2_libclang.cpp -std=c++11 -I /usr/lib/llvm-5.0/include/ /usr/lib/llvm-5.0/lib/libclang.so -o bin/ncm2_libclang"}