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 = {
|
preview = {
|
||||||
default = "bat"
|
default = "bat"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
lsp = {
|
||||||
|
workspace_symbols = {
|
||||||
|
symbol_kinds = { "Variable", "Function", "Method", "Class", "Struct", "Interface" },
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
local fzf = require("fzf-lua")
|
local fzf = require("fzf-lua")
|
||||||
|
|
@ -37,6 +42,12 @@ return {
|
||||||
action = function()
|
action = function()
|
||||||
fzf.git_bcommits({})
|
fzf.git_bcommits({})
|
||||||
end
|
end
|
||||||
|
},
|
||||||
|
{
|
||||||
|
mapping = "s",
|
||||||
|
action = function()
|
||||||
|
fzf.lsp_live_workspace_symbols({})
|
||||||
|
end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue