Revert "fix(hydra): return if gitsigns not loaded"
This reverts commit 07ca15843b
.
This commit is contained in:
parent
fe4ba921cd
commit
1d3153da25
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user