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

This commit is contained in:
Fiete Börner 2023-05-23 05:14:14 +02:00 committed by GitHub
parent 262a06776a
commit 582dff9458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,
},