Fix Comment.nvim not lazyloading from visual mode (#2067)
This commit is contained in:
parent
582dff9458
commit
9c10201ef3
|
@ -200,7 +200,12 @@ local default_plugins = {
|
||||||
|
|
||||||
{
|
{
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
keys = { "gcc", "gbc" },
|
keys = {
|
||||||
|
{ "gcc", mode = "n" },
|
||||||
|
{ "gc", mode = "v" },
|
||||||
|
{ "gbc", mode = "n" },
|
||||||
|
{ "gb", mode = "v" },
|
||||||
|
},
|
||||||
init = function()
|
init = function()
|
||||||
require("core.utils").load_mappings "comment"
|
require("core.utils").load_mappings "comment"
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in New Issue