From f788ce18b128620120f8df77ec752358f8a485ae Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 20 Jan 2023 18:48:56 +0100 Subject: feat: correctly config comment --- lua/alpha/plugins/comment.lua | 1 + lua/alpha/plugins/trouble.lua | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'lua') diff --git a/lua/alpha/plugins/comment.lua b/lua/alpha/plugins/comment.lua index 397d36b..fd55eff 100644 --- a/lua/alpha/plugins/comment.lua +++ b/lua/alpha/plugins/comment.lua @@ -1,4 +1,5 @@ return { "numToStr/Comment.nvim", keys = { { "gcc" }, { "gbc" }, { "gc", mode = "v" }, { "gb", mode = "v" } }, + config = true } diff --git a/lua/alpha/plugins/trouble.lua b/lua/alpha/plugins/trouble.lua index b3ed1c9..2a08443 100644 --- a/lua/alpha/plugins/trouble.lua +++ b/lua/alpha/plugins/trouble.lua @@ -2,7 +2,5 @@ return { "folke/trouble.nvim", dependencies = "kyazdani42/nvim-web-devicons", keys = { { "oo", "TroubleToggle" } }, - config = function() - require("trouble").setup() - end + config = true, } -- cgit v1.2.3