We shouldn't use vim API inside clang_complete threads.

This may be the cause for issue #228, and several others.