diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 35505c1..fcdfb34 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -10,15 +10,11 @@ return { keys[#keys + 1] = { "lf", format, desc = "Format Document", has = "documentFormatting" } keys[#keys + 1] = { "lf", format, desc = "Format Range", mode = "v", has = "documentRangeFormatting" } keys[#keys + 1] = { "K", false } -- su puta madre! - -- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }) - -- vim.lsp.handlers["textDocument/signatureHelp"] = - -- vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded" }) vim.diagnostic.config({ float = { border = "rounded" }, }) end, opts = { - -- autoformat = false, diagnostics = { update_in_insert = true, }, @@ -35,22 +31,8 @@ return { }, }, }, - -- rust_analyzer = { - -- settings = { - -- ["rust-analyzer"] = { - -- checkOnSave = { - -- command = "clippy", - -- }, - -- }, - -- }, - -- }, lua_ls = { - -- mason = false, -- set to false if you don't want this server to be installed with mason - -- Use this to add any additional keymaps - -- for specific lsp servers root_dir = function() - -- local Path = require('plenary.path') - -- return Path:new(fname):parent().filename return vim.loop.cwd() end, -- ---@type LazyKeys[]