Closed wimstefan closed 7 months ago
Both document and workspace symbols inherit settings from lsp.symbols
, change your setup to:
lsp = {
symbols = {
winopts = right_column
}
},
If you wish to have this only apply to document symbols use winopts
in the mapped command directly, i.e:
require'fzf-lua'.lsp_document_symbols({ winopts = … })
Works like a treat :) Thank you so much - also for this amazing plugin !!!
Works like a treat :) Thank you so much - also for this amazing plugin !!!
Ty for the kind words and the update :heart:
RTFM Checklist
man fzf
/ I am well versed in shell fzfOperating system
Linux
Shell
zsh
Neovim version (
nvim --version
)NVIM v0.10.0-dev-2787+g6cfca21ba
Fzf version (
fzf --version
)0.48.1 (d579e33)
Output of
:lua print(os.getenv('FZF_DEFAULT_OPTS'))
-m --cycle --layout reverse --info=inline-right --no-separator --height ~90% --padding 1 --margin 1 --preview "fzf-preview.sh {}" --preview-window right:70%:hidden:wrap --bind "?:toggle-preview" --color "bg+:-1,fg+:-1,hl:36,hl+:36,info:75"
Is the problem reproducible with
mini.sh
?mini.sh
mini.sh
mini.sh
(not relevant, requires LSP, Windows, etc)Fzf-lua configuration
Describe the bug / steps to reproduce
I have configured lsp_document_symbols to have a specific
winopts
but it is not recognized when invoked ...