mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
17 lines
881 B
Lua
17 lines
881 B
Lua
|
require('lspfuzzy').setup {
|
||
|
methods = 'all', -- either 'all' or a list of LSP methods (see below)
|
||
|
jump_one = true, -- jump immediately if there is only one location
|
||
|
save_last = false, -- save last location results for the :LspFuzzyLast command
|
||
|
callback = nil, -- callback called after jumping to a location
|
||
|
fzf_preview = { -- arguments to the FZF '--preview-window' option
|
||
|
'right:+{2}-/2' -- preview on the right and centered on entry
|
||
|
},
|
||
|
fzf_action = { -- FZF actions
|
||
|
['ctrl-t'] = 'tab split', -- go to location in a new tab
|
||
|
['ctrl-v'] = 'vsplit', -- go to location in a vertical split
|
||
|
['ctrl-x'] = 'split', -- go to location in a horizontal split
|
||
|
},
|
||
|
fzf_modifier = ':~:.', -- format FZF entries, see |filename-modifiers|
|
||
|
fzf_trim = false, -- trim FZF entries
|
||
|
}
|