Revert "fix(hydra): return if gitsigns not loaded"

This reverts commit 07ca15843b.
This commit is contained in:
Price Hiller 2022-08-02 17:04:42 -05:00
parent fe4ba921cd
commit 1d3153da25

View File

@ -3,11 +3,6 @@ if not loaded then
return return
end end
local loaded, gitsigns = pcall(require, "gitsigns")
if not loaded then
return
end
-- Side Scroll -- Side Scroll
hydra({ hydra({
name = "Side scroll", name = "Side scroll",
@ -27,6 +22,9 @@ hydra({
}, },
}) })
-- Git Integration
local gitsigns = require("gitsigns")
local hint = [[ local hint = [[
_J_: next hunk _s_: stage hunk _d_: show deleted _b_: blame line _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 _K_: prev hunk _u_: undo stage hunk _p_: preview hunk _B_: blame show full