Add dev reloader

This commit is contained in:
Brandon Conway 2021-03-14 21:46:55 -07:00
parent ea31840c39
commit 2b83649583

12
lua/harpoon/dev.lua Normal file
View File

@ -0,0 +1,12 @@
-- Don't include this file, we should manually include it via
-- require("harpoon.dev").reload();
--
-- A quick mapping can be setup using something like:
-- :nmap <leader>rr :lua require("harpoon.dev").reload()<CR>
local M = {}
M.reload = function()
require("plenary.reload").reload_module("harpoon");
end
return M