Fix Comment.nvim not lazyloading from visual mode (#2067)

This commit is contained in:
Martin Braun 2023-05-29 16:02:33 +02:00 committed by GitHub
parent 582dff9458
commit 9c10201ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -200,7 +200,12 @@ local default_plugins = {
{
"numToStr/Comment.nvim",
keys = { "gcc", "gbc" },
keys = {
{ "gcc", mode = "n" },
{ "gc", mode = "v" },
{ "gbc", mode = "n" },
{ "gb", mode = "v" },
},
init = function()
require("core.utils").load_mappings "comment"
end,