Skip to content

Instantly share code, notes, and snippets.

@rharriso
Last active August 29, 2015 14:17
Show Gist options
  • Save rharriso/5cca87bcbc0595fef428 to your computer and use it in GitHub Desktop.
Save rharriso/5cca87bcbc0595fef428 to your computer and use it in GitHub Desktop.
Adding lib headers to YouCompleteMe
#
# ...other config .....
#
# include all headers
for root, dirs, files in os.walk("./"):
if any("*.h" or "*.hpp" in files):
flags.append("-I")
flags.append(os.path.join(root))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment