--[[ -- This plugin add a little pet to your neovim. -- -- Configured to add a little fox named foxy. --]] return { "https://git.ache.one/pets.nvim", enabled = false, dependencies = { "MunifTanjim/nui.nvim", "giusgad/hologram.nvim" }, config = function() local pets = require("pets") pets.setup({ row = 1, -- The row (height) to display the pet at (higher row means the pet is lower on the screen), must be 1<=row<=10 col = 0, -- The column to display the pet at (set to high number to have it stay still on the right side) speed_multiplier = 1, -- You can make your pet move faster/slower. If slower the animation will have lower fps. default_pet = "fox", default_style = "red", random = false, }) -- Don't do it on startup -- pets.create_pet("foxy", "fox", "red") vim.keymap.set("n", "pt", "PetsHideToggle", { silent = true, desc = "Toggle pets" }) vim.keymap.set( "n", "pc", ":lua require('pets').create_pet('foxy', 'fox', 'red')", { silent = true, desc = "Toggle pets" } ) end, }