fix group comments regression

This commit is contained in:
zbirenbaum 2022-04-28 03:58:35 -04:00
parent 08da7f6698
commit aa4bab9605

View File

@ -93,7 +93,7 @@ end
M.comment = function() M.comment = function()
map("n", "<leader>/", "<cmd> :lua require('Comment.api').toggle_current_linewise()<CR>") map("n", "<leader>/", "<cmd> :lua require('Comment.api').toggle_current_linewise()<CR>")
map("v", "<leader>/", "<cmd> :lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>") map("v", "<leader>/", "<esc><cmd> :lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())<CR>")
end end
M.lspconfig = function() M.lspconfig = function()