allow to override default config of comment.nvim (#2045)

pull/2051/head
Fiete Börner 1 year ago committed by GitHub
parent 262a06776a
commit 582dff9458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save