mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim/reload: drop
Telescope has a similar feature already
This commit is contained in:
parent
fc46ab47b9
commit
53ef51b856
1 changed files with 0 additions and 14 deletions
|
|
@ -1,14 +0,0 @@
|
|||
-- helper to reload module
|
||||
|
||||
local usercmd = vim.api.nvim_create_user_command
|
||||
local remove = require("plenary.reload").reload_module
|
||||
|
||||
usercmd("Reload", function(opts)
|
||||
remove(opts.fargs[1])
|
||||
require(opts.fargs[1])
|
||||
end, { nargs = 1 })
|
||||
|
||||
usercmd("ReloadCurry", function(_)
|
||||
remove("curry")
|
||||
require("curry").setup()
|
||||
end, {})
|
||||
Loading…
Add table
Add a link
Reference in a new issue