add rust_analyzer search optionj
This commit is contained in:
@@ -26,6 +26,21 @@ return {
|
||||
cmd = { vim.fn.stdpath("config") .. "/shell/clangd-direnv.sh" }
|
||||
})
|
||||
|
||||
vim.lsp.config("rust_analyzer", {
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
workspace = {
|
||||
symbol = {
|
||||
search = {
|
||||
kind = "all_symbols",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
vim.lsp.enable("hls")
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user