justmao945 / vim-clang

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

If opening .{c,cpp,h,hpp} in a non-existent dir it may lead to warnings in ClangCompleteInit #139

Closed mckellygit closed 4 years ago

mckellygit commented 4 years ago

Thank you so much for vim-clang ! -m

mckellygit commented 4 years ago

Perhaps just a silent! here, as in:

silent! exe 'lcd ' . <non-existent-dir>

would suffice ?