justmao945 / vim-clang

Clang completion plugin for vim
ISC License
357 stars 47 forks source link

buffer/window name/type for autocomplete #117

Closed mckellyln closed 6 years ago

mckellyln commented 6 years ago

Hi, Thx for vim-clang. When I use autocomplete I get a new window at the top - Q: does this buffer have a name/type I can use to help with its statusline editting ? Q: Is there a way to close this automatically after the autocomplete is finished ?

Shougo commented 6 years ago

Q: does this buffer have a name/type I can use to help with its statusline editting ?

https://github.com/Shougo/echodoc.vim

Q: Is there a way to close this automatically after the autocomplete is finished ?

        autocmd CompleteDone * silent! pclose!
mckellyln commented 6 years ago

Thx so much,

autocmd CompleteDone * silent! pclose!

works great. I will also look into the echodoc.vim plugin.