-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Describe the bug
Setting vista_enable_centering_jump does not have any effect when using :Vista finder with fzf. Looking into the autoload/vista/finder/fzf.vim file, it is apparent that the setting is not being checked at all.
Environment:
- PopOS
- Vim 8+
- Latest vista.vim
- vim-lsp
Steps to reproduce given the above info
- install fzf.vim
- set g:vista_enable_centering_jump to 0 in ~/.vimrc
- reload config
- open a file and use :Vista jump to jump to a symbol
minimal vimrc (neccessary when this issue is about some Vim LSP client):
call plug#begin()
Plug 'prabirshrestha/vim-lsp'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'liuchengxu/vista.vim'
call plug#end()
let g:vista_default_executive='vim_lsp' " use vim-lsp as the lsp
let g:vista_enable_centering_jump=0 " bugged; doesn't work for fzf
Expected behavior
After the jump, the symbol is at the top.
Actual behavior
After the jump, the symbol is in the center (like default)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels