Add workplace symbols search to fzf
This commit is contained in:
parent
1570f06b6c
commit
0ac609f98e
1 changed files with 12 additions and 1 deletions
|
|
@ -7,7 +7,12 @@ return {
|
|||
preview = {
|
||||
default = "bat"
|
||||
}
|
||||
}
|
||||
},
|
||||
lsp = {
|
||||
workspace_symbols = {
|
||||
symbol_kinds = { "Variable", "Function", "Method", "Class", "Struct", "Interface" },
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
local fzf = require("fzf-lua")
|
||||
|
|
@ -37,6 +42,12 @@ return {
|
|||
action = function()
|
||||
fzf.git_bcommits({})
|
||||
end
|
||||
},
|
||||
{
|
||||
mapping = "s",
|
||||
action = function()
|
||||
fzf.lsp_live_workspace_symbols({})
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue