Closed Litchiware closed 6 years ago
I think you are right, thanks for spotting that! You can make a pull-request or I can update file for you if you want.
Cheers, Jonas
Because os.walk
returns its root too this isn't necessary and we'd just end up with two instances of the same path.
Very good idea to define a function in ycm_extra_conf.py to add project's include directory and its subdirectories to compilation flags. But I think the
flag
variable should be initialized to["-I" + include_path]
instead of[]
, because we want to track headers not only in subdirectories but also ininclude_path
.