lazy load Comment.nvim on gcc keybind (#801)

This commit is contained in:
siduck 2022-02-05 19:09:25 +05:30
parent 7b7c204e23
commit 748f0db485

View File

@ -197,6 +197,7 @@ local plugins = {
"numToStr/Comment.nvim", "numToStr/Comment.nvim",
disable = not plugin_settings.status.comment, disable = not plugin_settings.status.comment,
module = "Comment", module = "Comment",
keys = {"gcc"},
config = override_req("nvim_comment", "plugins.configs.others", "comment"), config = override_req("nvim_comment", "plugins.configs.others", "comment"),
setup = function() setup = function()
require("core.mappings").comment() require("core.mappings").comment()