xavierd / clang_complete

Vim plugin that use clang for completing C/C++ code.
http://www.vim.org/scripts/script.php?script_id=3302
1.96k stars 308 forks source link

Check g:clang_make_default_keymappings before unmapping #440

Closed wilywampa closed 9 years ago

wilywampa commented 9 years ago

The unmaps need to be wrapped in a check for g:clang_make_default_keymappings or else it tries using non-existent variables.

xaizek commented 9 years ago

Thanks!