xavierd / clang_complete

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

After selecting completion with clang_snippets, every time I hit enter some text is inserted #520

Open yuriabrito opened 7 years ago

yuriabrito commented 7 years ago

When I activate clang_snippets, either using ultisnips or clang_complete engine, after selecting one completion option this starts to appear everytime I hit enter in vim:

\<SNR>26_DiscretionaryEnd\<SNR>22_AutoPairsReturn

I suspect this could be fixed using "g:clang_restore_cr_imap", but I don't know how.

I'm using macvim 8.0 (124)

Bergiu commented 7 years ago

I have the same problem.