allow to override default config of comment.nvim (#2045)
This commit is contained in:
parent
262a06776a
commit
582dff9458
1 changed files with 2 additions and 2 deletions
|
@ -204,8 +204,8 @@ local default_plugins = {
|
||||||
init = function()
|
init = function()
|
||||||
require("core.utils").load_mappings "comment"
|
require("core.utils").load_mappings "comment"
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function(_, opts)
|
||||||
require("Comment").setup()
|
require("Comment").setup(opts)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue