We shouldn't use vim API inside clang_complete threads.