-
for lsp_document_symbols, I want to auto jump to location and highlight code ranges as I through fzf result list rather than look at preview windows, could you give me some hint where the callback get executed in source code? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
LSP symbols uses the same previewer as any file entry previewer, it displays file, line and column. If you want to do something different look the advanced Wiki, create your own previewer and do whatever you want with the callback: |
Beta Was this translation helpful? Give feedback.
-
Builtin preview entry point: fzf-lua/lua/fzf-lua/previewer/builtin.lua Lines 288 to 294 in 743647f |
Beta Was this translation helpful? Give feedback.
LSP symbols uses the same previewer as any file entry previewer, it displays file, line and column.
If you want to do something different look the advanced Wiki, create your own previewer and do whatever you want with the callback:
https://github.com/ibhagwan/fzf-lua/wiki/Advanced#preview-nvim-builtin