From 4497050644b7cff1a46344b512f61a77ab7f6c00 Mon Sep 17 00:00:00 2001 From: Akulij Date: Tue, 29 Apr 2025 14:37:19 +0300 Subject: [PATCH] add keymap for code action --- lua/plugins/lsp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index fb4bc30..b7abc51 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -135,6 +135,7 @@ cmp.setup { }, } vim.keymap.set('n', "gd", vim.lsp.buf.definition, { silent = true }) +vim.keymap.set('n', "ca", vim.lsp.buf.code_action, { silent = true }) -- Show line diagnostics automatically in hover window vim.o.updatetime = 250