Skip to content

martong/vim-compiledb-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

#CompileDbPath

You can use this plugin to add C++ include directories to your path. The include directories are collected from the given compilation database file. Once you have the include directories in your path, than you can use e.g. gf to open any file under your cursor.

To add the include directories to your path, just call :CompileDbPath with the path to your compile_commands.json file as an argument. E.g.:

:CompileDbPath build/compile_commands.json

you can also add directories like this:

:CompileDbPathIfExists build/compile_commands.json

The latter will fail silently if the passed file doesn't exist.

You can reset to the default path with :set path& .

##Installation Use vundle or any other vim plugin solutions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published