add rust_analyzer search optionj

This commit is contained in:
2026-04-01 20:29:46 +09:00
parent 1803a93059
commit 9f5448bbc5
3 changed files with 26 additions and 1 deletions

View File

@@ -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,
}