From 3c444a14194b5109b242d83859bb1044a466ee24 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Tue, 4 Oct 2022 19:04:22 +0200 Subject: [PATCH] [neovim] Change 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 b48de62..497ccec 100644 --- a/.config/nvim/lua/user/keymaps.lua +++ b/.config/nvim/lua/user/keymaps.lua @@ -69,7 +69,7 @@ keymap("n", "fg", ":Telescope live_grep", opts) keymap("n", "fb", ":Telescope buffers", opts) -- Comment -keymap("n", "/", "lua require('Comment.api').toggle_current_linewise()", opts) +keymap("n", "/", "lua require('Comment.api').toggle.linewise.current()", opts) keymap("x", "/", 'lua require("Comment.api").toggle.linewise(vim.fn.visualmode())') -- DAP