Created
February 6, 2013 03:25
-
-
Save ZaneA/4719983 to your computer and use it in GitHub Desktop.
.ycm_extra_conf.py for a project that has an existing .clang_complete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specify compiler flags for the YouCompleteMe plugin in Vim. | |
def FlagsForFile(filename): | |
return { | |
'flags': open('.clang_complete', 'r').readlines(), | |
'do_cache': True | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to get the same functionality for Unix Makefiles? I usually use cmake. Can I use the generated makefile to generate a ycm_extra_config.py for that project?