From 582dff9458ee8ac70149583829b6f8faecdc3aef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fiete=20B=C3=B6rner?= Date: Tue, 23 May 2023 05:14:14 +0200 Subject: [PATCH] allow to override default config of comment.nvim (#2045) --- lua/plugins/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 2f711af..67e8862 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -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, },