From 1d3153da257118593d9c145aadd2343dae0ad384 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 2 Aug 2022 17:04:42 -0500 Subject: [PATCH] Revert "fix(hydra): return if gitsigns not loaded" This reverts commit 07ca15843b6992ca79a87df6b3f1e392bb173883. --- .../primary/config/lua/plugins/configs/hydra.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/hydra.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/hydra.lua index 5e69376c..4ced56eb 100644 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/hydra.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/hydra.lua @@ -3,11 +3,6 @@ if not loaded then return end -local loaded, gitsigns = pcall(require, "gitsigns") -if not loaded then - return -end - -- Side Scroll hydra({ name = "Side scroll", @@ -27,6 +22,9 @@ hydra({ }, }) +-- Git Integration +local gitsigns = require("gitsigns") + local hint = [[ _J_: next hunk _s_: stage hunk _d_: show deleted _b_: blame line _K_: prev hunk _u_: undo stage hunk _p_: preview hunk _B_: blame show full