From f789d4ccb74222c6cb17be0c2c0ecb0cdbf98d15 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 3 Sep 2023 22:22:00 -0500 Subject: [PATCH] fix(nvim): load hydra on BufReadPre & BufNewFile --- dots/.config/nvim/lua/plugins/configs/hydra.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/dots/.config/nvim/lua/plugins/configs/hydra.lua b/dots/.config/nvim/lua/plugins/configs/hydra.lua index 1f3c0fb5..7bd6bfe8 100644 --- a/dots/.config/nvim/lua/plugins/configs/hydra.lua +++ b/dots/.config/nvim/lua/plugins/configs/hydra.lua @@ -10,6 +10,7 @@ return { keys = { { "h", desc = "> Hydra" }, }, + event = { "BufReadPre", "BufNewFile" }, config = function() local hydra = require("hydra") local wk = require("which-key")