This commit is contained in:
RingOfStorms (Joshua Bell) 2023-04-11 16:59:01 -05:00
parent d0b9672730
commit 2cd8efc1df
18 changed files with 241 additions and 212 deletions

View file

@ -1,4 +1,23 @@
return {
colorscheme = "material",
lsp = { formatting = { format_on_save = false } },
lsp = {
formatting = { format_on_save = false },
-- skip_setup = { "rust_analyzer" },
setup_handlers = {
-- add custom handler
rust_analyzer = function(_, opts) require("rust-tools").setup { server = opts } end,
},
-- server_registration = function(server, opts)
-- if server == "rust_analyzer" then
-- require("rust-tools").setup { server = opts }
-- return
-- end
--
-- require("lspconfig")[server].setup(opts)
-- end,
},
diagnostics = {
virtual_text = true,
underline = true,
},
}