Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

[DEPRECATED] usehttps://github.com/ncm2/ncm2-pyclang instead

License

NotificationsYou must be signed in to change notification settings

ncm2/ncm2-clang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a temporary repo ported fromncm-clang.

I'm going to write a new c/c++ completion plugin based on libclang instead ofthe clang executable. But before that happen, I still need a decent C/C++completion plugin.

Install

Plug'ncm2/ncm2-clang'

Settings

If you're using cmake, addset(CMAKE_EXPORT_COMPILE_COMMANDS, 1) intoCMakeLists.txt so thatcompile_commands.json will be generated.

g:ncm2_clang#database_path

A list of paths for locatingcompile_commands.json. Default is['compile_commands.json', 'build/compile_commands.json']

g:ncm2_clang#clang_command

The command to invodeclang executable. Defaults to['clang'].

Utilities

ncm2_clang#compilation_info()

Get compilation flags and directory for current file.

The following vimrc shows how to useRip-Rip/clang_complete's gotodeclaration feature.


[8]ページ先頭

©2009-2025 Movatter.jp