update lspconfig
This commit is contained in:
2
init.lua
2
init.lua
@@ -4,7 +4,7 @@ vim.cmd("colorscheme pop-punk")
|
|||||||
vim.opt.tabstop = 4
|
vim.opt.tabstop = 4
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.opt.messagesopt = "wait:30,history:500"
|
--vim.opt.messagesopt = "wait:30,history:500"
|
||||||
vim.cmd("set relativenumber")
|
vim.cmd("set relativenumber")
|
||||||
vim.cmd("set number")
|
vim.cmd("set number")
|
||||||
vim.cmd("set cursorline")
|
vim.cmd("set cursorline")
|
||||||
|
|||||||
@@ -26,21 +26,6 @@ return {
|
|||||||
cmd = { vim.fn.stdpath("config") .. "/shell/clangd-direnv.sh" }
|
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")
|
vim.lsp.enable("hls")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user