From ea6d1e1b42e5e507182807b2cb4b881e54e2ede8 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo <daniel.carrillo@gmail.com> Date: Mon, 3 Oct 2022 16:56:41 +0200 Subject: [PATCH] [neovim] Update deprecated directive --- .config/nvim/lua/user/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/user/keymaps.lua b/.config/nvim/lua/user/keymaps.lua index 9b7e66d..b48de62 100644 --- a/.config/nvim/lua/user/keymaps.lua +++ b/.config/nvim/lua/user/keymaps.lua @@ -70,7 +70,7 @@ keymap("n", "<leader>fb", ":Telescope buffers<CR>", opts) -- Comment keymap("n", "<leader>/", "<cmd>lua require('Comment.api').toggle_current_linewise()<CR>", opts) -keymap("x", "<leader>/", '<ESC><CMD>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>') +keymap("x", "<leader>/", '<ESC><CMD>lua require("Comment.api").toggle.linewise(vim.fn.visualmode())<CR>') -- DAP keymap("n", "<leader>db", "<cmd>lua require'dap'.toggle_breakpoint()<cr>", opts)