justmao945 / vim-clang

Clang completion plugin for vim
ISC License
358 stars 47 forks source link

Fix broken compilation_database support and working directories #137

Closed guyben13 closed 4 years ago

guyben13 commented 4 years ago

This pull request has 3 parts:

I'm currently using this fix and it works! :D

smekkley commented 4 years ago

It doesn't seem to work. I've added the following in the python script.

with open("/var/tmp/test.txt", "a") as f:
    f.write("test") 

but nothing happens. It is not even executed in my case. The only thing I did was let g:clang_compilation_database = './build' I have json file in build dir.