From 454168565fdba98d8f3415beb0eb746a24e38511 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 3 Aug 2024 22:41:42 -0400 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20refactor(post):=20remov?= =?UTF-8?q?e=20post-plugin=20configuration=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No longer necessary to do post-plugin configurations --- lua/config/keymaps.lua | 7 +++---- lua/config/post.lua | 7 ------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 lua/config/post.lua diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index ccd356c..6759bdc 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -4,11 +4,14 @@ -- --------------------------------- Keymaps ----------------------------------- +-- Initialize dependencies local substitute_loaded, substitute = pcall(require, "substitute") local codesnap_loaded = pcall(require, "codesnap") local icon_picker_loaded = pcall(require, "icon-picker") local gist_loaded = pcall(require, "gist") local rootiest = require("config.rootiest") + +-- Initialize which-key local wk = require("which-key") wk.add({ { @@ -345,7 +348,3 @@ wk.add({ desc = "Yank buffer contents", }, }) - --- ---------------------------------- POST ------------------------------------- --- Post-plugin configuration -require("config.post") diff --git a/lua/config/post.lua b/lua/config/post.lua deleted file mode 100644 index 5156075..0000000 --- a/lua/config/post.lua +++ /dev/null @@ -1,7 +0,0 @@ --- ----------------------------------------------------------------------------- --- ---------------------------------- POST ------------------------------------- --- ----------------------------------------------------------------------------- --- Post-plugin configuration functions - --- Add custom data to lualine -require("config.lua_line")