And*_*rew 5 vim preview code-completion
我正在使用Eclimd完成.它会生成很多有关函数的有用信息,但在单行预览窗口中它看起来很乱.(同一窗口使用omni-completion)
所以:
我也遇到了'previewheight'的问题所以我想出了以下工作:
set previewheight=50
au BufEnter ?* call PreviewHeightWorkAround()
func PreviewHeightWorkAround()
if &previewwindow
exec 'setlocal winheight='.&previewheight
endif
endfunc
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2496 次 |
最近记录: |