diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-13 18:09:17 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-13 18:09:17 +0100 |
commit | 756704c47b883e2fc7a1f7de0cce592a033551bf (patch) | |
tree | a364bc49333172b475e40cfcf5c98b25c034e9c9 /.config/nvim | |
parent | 152f59675b148653e594cec5638b48b19f3aab76 (diff) |
nvim: Remove unused function
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/lua/mango/lib.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.config/nvim/lua/mango/lib.lua b/.config/nvim/lua/mango/lib.lua index 5ff57af..5b46012 100644 --- a/.config/nvim/lua/mango/lib.lua +++ b/.config/nvim/lua/mango/lib.lua @@ -21,20 +21,4 @@ function M.remap(modes, from, to, opts) }) end -function M.save_regs(regs, callback) - local rs = {} - for r in regs:gmatch('.') do - rs[r] = { - s = vim.fn.getreg(r), - t = vim.fn.getregtype(r), - } - end - - callback() - - for k, v in pairs(rs) do - vim.fn.setreg(k, v.s, v.t) - end -end - return M |