diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2026-06-27 22:48:15 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2026-06-27 22:48:15 -0300 |
| commit | a0bd84df02ce235123dfc939327e8bd33dffdd7e (patch) | |
| tree | 3a1f3095863502f01a112275a839d81ce832de1c /lua/pi/lsp/attach.lua | |
| parent | 2895ac732dce0eece5ab2586f5d4d76ee0fab710 (diff) | |
| download | nvim-conf-a0bd84df02ce235123dfc939327e8bd33dffdd7e.tar.gz nvim-conf-a0bd84df02ce235123dfc939327e8bd33dffdd7e.zip | |
Remplazando y eliminando plugins a favor de cosas nativas.
Diffstat (limited to 'lua/pi/lsp/attach.lua')
| -rw-r--r-- | lua/pi/lsp/attach.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lua/pi/lsp/attach.lua b/lua/pi/lsp/attach.lua index 3611279..7030cbd 100644 --- a/lua/pi/lsp/attach.lua +++ b/lua/pi/lsp/attach.lua @@ -9,10 +9,7 @@ return function(client, bufnr) vim.keymap.set({ "n", "v" }, "<leader>vca", vim.lsp.buf.code_action, { buffer = 0, desc = "LSP Code actions" }) vim.keymap.set("n", "<leader>vf", function() return vim.lsp.buf.format { - async = true, - filter = function(cli) - return cli.name ~= "lua_ls" - end, + async = true } end, { buffer = 0, desc = "LSP format file" }) @@ -37,4 +34,6 @@ return function(client, bufnr) vim.lsp.inlay_hint.enable(true, { bufnr = bufnr }) end) end + -- El resaltado de referencias bajo el cursor lo provee snacks.words (snacks.lua), + -- y la navegación ]r/[r se define en config.keymaps. end |