From a69e8dc59142fac200d93ace190829fb12b455ec Mon Sep 17 00:00:00 2001 From: camel_case <101834410+UTFeight@users.noreply.github.com> Date: Sat, 2 Sep 2023 14:30:02 +0300 Subject: [PATCH] feat(lsp): add visual mode code actions (#2353) --- lua/core/mappings.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 2aaf7ab..14fd0db 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -240,6 +240,15 @@ M.lspconfig = { "List workspace folders", }, }, + + v = { + ["ca"] = { + function() + vim.lsp.buf.code_action() + end, + "LSP code action", + }, + }, } M.nvimtree = {