OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.7k stars 169 forks source link

Neovim popup options #774

Closed ton190 closed 2 years ago

ton190 commented 2 years ago

When I try to set padding or border for popup in neovim it just dose not work.

Only options I have avalible is winhl and wrap. Can you help me understand how to do border and padding All I have right now is:

let g:OmniSharp_popup_options = { \ 'winhl': 'Normal:NormalFloat', \ 'wrap': v:true }

nickspoons commented 2 years ago

When OmniSharp-vim popups were implemented, neovim didn't provide any option for borders or padding. A 'border' option has since been added so I'll make some changes so that it can be used.

nickspoons commented 2 years ago

Try getting the latest version, and then use something like this:

let g:OmniSharp_popup_options = {
\ 'winblend': 30,
\ 'winhl': 'Normal:Normal,FloatBorder:Special',
\ 'border': 'rounded'
\}