maralla / completor.vim

Async completion framework made ease.
MIT License
1.32k stars 62 forks source link

自动补全的函数按Enter后,自动加入了参数项,干扰编程! #253

Closed laoyouji007 closed 5 years ago

laoyouji007 commented 5 years ago

写代码输入函数名的前几个字母后,出现函数提示,再按“Enter”键后,自动写以下格式的函数,但我不需要后面自动插入的这些参数,如<##>包起来的几个参数如何支掉,不要自动加入?

WebRtcNS32KSample(<#char szFileIn#>, <#char szFileOut#>, <#int nSample#>, <#int nMode#>)

maralla commented 5 years ago

添加如下配置到 vimrc 可以避免 placeholder:

let g:completor_clang_disable_placeholders = 1