remove cruft
This commit is contained in:
parent
394348e8a9
commit
b8841bf35c
1 changed files with 0 additions and 21 deletions
21
init.lua
21
init.lua
|
@ -1,16 +1,7 @@
|
|||
return {
|
||||
colorscheme = "material",
|
||||
lsp = {
|
||||
-- server_registration = function(server, opts)
|
||||
-- if server == 'rust_analyzer' then
|
||||
-- require('rust-tools').setup({ server = opts })
|
||||
-- return
|
||||
-- end
|
||||
--
|
||||
-- require('lspconfig')[server].setup(opts)
|
||||
-- end,
|
||||
formatting = { format_on_save = false },
|
||||
-- skip_setup = { "rust_analyzer" },
|
||||
setup_handlers = {
|
||||
-- add custom handler
|
||||
rust_analyzer = function(_, opts)
|
||||
|
@ -28,17 +19,5 @@ return {
|
|||
rt.inlay_hints.enable()
|
||||
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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue