Enhancement: Add border config to Nvim floating window preview
SethBarberee opened this issue · comments
Based on the nvim docs, a key for border
should be sufficient. I prefer a rounded border on all my floating windows.
User config would look like:
let g:vista_floating_border = 'rounded'
vista.vim/autoload/vista/floating.vim
Line 139 in f9c8c8a
"IDK how to add a user config value but the rest should work..
let border = 'none' "default value from NVIM
silent let s:floating_win_id = nvim_open_win(
\ s:floating_bufnr, v:true, {
\ 'width': width,
\ 'height': height,
\ 'relative': 'cursor',
\ 'anchor': anchor,
\ 'row': row + 0.4,
\ 'col': col - 5,
\ 'focusable': v:false,
\ 'border': border
\ })