deoplete-plugins / deoplete-clang

deoplete.nvim source for C/C++/Obj-C/Obj-C++ with clang-python3
MIT License
189 stars 73 forks source link

Support for absolute path for compilation database #53

Closed pcaneill closed 8 years ago

pcaneill commented 8 years ago

When the compilation_database was loaded from the .clang it was working only for a relative path.

zchee commented 8 years ago

@Moeryn Thanks for pull request! I will test it :)

Shougo commented 8 years ago

The code only supports Unix... You should use os.path.isabs(path).

zchee commented 8 years ago

@Shougo Thanks point out! It seems @Moeryn has been fixed use os.path.isabs() PTAL.

zchee commented 8 years ago

@Moeryn merged. Thanks! :)