1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48:01 +00:00

[neovim] Update deprecated directive

This commit is contained in:
Daniel Carrillo 2022-10-03 16:56:41 +02:00
parent be71e93f04
commit ea6d1e1b42
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

View File

@ -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)