diff options
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 |