mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
Add dev reloader
This commit is contained in:
parent
ea31840c39
commit
2b83649583
12
lua/harpoon/dev.lua
Normal file
12
lua/harpoon/dev.lua
Normal 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
|
Loading…
x
Reference in New Issue
Block a user