nvim: Use floating window for cscope fzf output

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-06 15:58:22 +05:30
parent 6675403f66
commit aef4a3c885

View file

@ -677,7 +677,7 @@ function! Cscope(option, query)
\ '--multi', '--bind', 'alt-a:select-all,alt-d:deselect-all', \ '--multi', '--bind', 'alt-a:select-all,alt-d:deselect-all',
\ '--color', 'info:144,prompt:161,spinner:135,pointer:135,marker:118', \ '--color', 'info:144,prompt:161,spinner:135,pointer:135,marker:118',
\ '--color', 'fg:252,bg:233,hl:67,fg+:252,bg+:235,hl+:81'], \ '--color', 'fg:252,bg:233,hl:67,fg+:252,bg+:235,hl+:81'],
\ 'down': '40%' \ 'window': 'call FloatingFZF()'
\ } \ }
function! opts.sink(lines) function! opts.sink(lines)
let data = split(a:lines) let data = split(a:lines)