diff options
author | Squibid <me@zacharyscheiman.com> | 2023-08-02 16:42:28 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-08-02 16:42:28 -0400 |
commit | 33ab722485c15442a70859a88e1fe91377dc2e43 (patch) | |
tree | 3552c3609d85b5a793aa72dd6f22f018c5395036 /lua/modules/win.lua | |
parent | ffc9552a256e23fed5c979f5fb0400f49130a8e5 (diff) | |
download | git-yodel-33ab722485c15442a70859a88e1fe91377dc2e43.tar.gz git-yodel-33ab722485c15442a70859a88e1fe91377dc2e43.tar.bz2 git-yodel-33ab722485c15442a70859a88e1fe91377dc2e43.zip |
inital commit
Diffstat (limited to '')
-rw-r--r-- | lua/modules/win.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/modules/win.lua b/lua/modules/win.lua new file mode 100644 index 0000000..fd79d12 --- /dev/null +++ b/lua/modules/win.lua @@ -0,0 +1,13 @@ +local M = {} + +function M.create(buf, a, b) + local win = vim.api.nvim_open_win(buf, a, b) + + return win +end + +function M.hide(buf) + vim.api.nvim_win_hide(buf) +end + +return M |