Using the Clang complier and Vimscript, Clangpletion gives Vim autocomplete suggestions for C programs.
Explore the docs »
View Demo
Clangpletion works just the same as any other completion engine. Type and the completion engine will give you suggestions!
By default, Clangpletion will not recognize headers specified via #include <...>
that are not located in the default include directories searched by clang (i.e. Clangpletion does not automatically search in include directories that are specified by the -I
tag during the program's compilation). To add recognition of these header files, call the following function via vim's call
command:
Add_Include_Path("Absolute/Path/To/Include/Dir")
For example...
:call Add_Include_Path("/home/jack/my_project/include")
- Improved performance for large header sets
- Implementation of config files for specifying additional include paths
- Greater support for Mac OS
Distributed under the MIT License. See LICENSE.txt
for more information.
Zack Bostock - LinkedIn
Jack Saysana - LinkedIn
Project Link: https://github.com/zbostock56/Clangpletion