From fcfb8145943fa374cbd7f3ed2ab2670273badd34 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Fri, 23 Jul 2021 12:14:39 +0530 Subject: [PATCH] init: Move bufferline config to pluginList.lua plugins.bufferline should be as config of nvim-bufferline and pluginList for packer --- init.lua | 1 - lua/pluginList.lua | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 13b4fe9..b3b7e50 100644 --- a/init.lua +++ b/init.lua @@ -2,7 +2,6 @@ require "options" local chad_modules = { "pluginList", - "plugins.bufferline", "mappings", "utils" } diff --git a/lua/pluginList.lua b/lua/pluginList.lua index 56f197f..0829a56 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -18,7 +18,10 @@ return packer.startup( use { "akinsho/nvim-bufferline.lua", - after = "nvim-base16.lua" + after = "nvim-base16.lua", + config = function() + require "plugins.bufferline" + end } use {