From acc753e440fb6ce54342c1f4e4fc980c5e008448 Mon Sep 17 00:00:00 2001 From: Giuseppe Gadola Date: Wed, 15 Feb 2023 12:38:21 +0100 Subject: feat(commands): added hide and pause commands --- lua/pets/commands.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lua/pets/commands.lua') diff --git a/lua/pets/commands.lua b/lua/pets/commands.lua index bae97aa..b2b9888 100644 --- a/lua/pets/commands.lua +++ b/lua/pets/commands.lua @@ -44,3 +44,11 @@ end, { vim.api.nvim_create_user_command("PetsList", function() pets.list() end, {}) + +vim.api.nvim_create_user_command("PetsPauseToggle", function() + pets.toggle_pause() +end, {}) + +vim.api.nvim_create_user_command("PetsHideToggle", function() + pets.toggle_hide() +end, {}) -- cgit v1.3-2-g11bf