allow to override default config of comment.nvim (#2045)
This commit is contained in:
parent
262a06776a
commit
582dff9458
|
@ -204,8 +204,8 @@ local default_plugins = {
|
|||
init = function()
|
||||
require("core.utils").load_mappings "comment"
|
||||
end,
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
config = function(_, opts)
|
||||
require("Comment").setup(opts)
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue