aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-02-16 13:04:37 +0000
committerGiuseppe Gadola <giusgadola@gmail.com>2023-02-16 14:13:49 +0100
commit1623d51f1c5dd13162d6e8bab2edc51fc03b2ed4 (patch)
tree2c939274c84ed015417c98854bb6cc80fb7afd73
parentfeat(popup): popup options / hopefully fix black square (diff)
docs(help): auto generate docs
-rw-r--r--doc/pets.nvim.txt20
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/pets.nvim.txt b/doc/pets.nvim.txt
index 1f3aeeb..5979f9d 100644
--- a/doc/pets.nvim.txt
+++ b/doc/pets.nvim.txt
@@ -1,4 +1,4 @@
-*pets.nvim.txt* For NVIM v0.8.0 Last change: 2023 February 15
+*pets.nvim.txt* For NVIM v0.8.0 Last change: 2023 February 16
==============================================================================
Table of Contents *pets.nvim-table-of-contents*
@@ -20,7 +20,8 @@ little animal friends inside your editor. It relies on the kitty graphics
protocol <https://sw.kovidgoyal.net/kitty/graphics-protocol/> and hologram.nvim
<https://github.com/edluffy/hologram.nvim> to be able to display images in a
terminal window. As you might know the plugin is heavily inspired by
-vscode-pets <https://github.com/tonybaloney/vscode-pets/tree/master/media>.
+vscode-pets <https://github.com/tonybaloney/vscode-pets/tree/master/media>. If
+you like the art for the pets, check out the |pets.nvim-credits| section.
<div class="figure">
<img src="./pets.gif" title="fig:"/>
@@ -78,10 +79,25 @@ This is the default configuration:
default_style = "brown", -- the style of the pet to use for the PetNew command
random = false, -- wether to use a random pet for the PetNew command, ovverides default_pet and default_style
death_animation = true, -- animate the pet's death, set to false to feel less guilt
+ popup = { -- popup options, try changing these if you see a rectangle around the pets
+ width = "30%", -- can be a string with percentage like "45%" or a number of columns like 45
+ winblend = 100, -- winblend value - see :h 'winblend' - only used if avoid_statusline is false
+ hl = { Normal = "Normal" }, -- hl is only set if avoid_statusline is true, you can put any hl group instead of "Normal"
+ avoid_statusline = false, -- if winblend is 100 then the popup is invisible and covers the statusline, if that
+ -- doesn't work for you then set this to true and the popup will use hl and will be spawned above the statusline (hopefully)
+ }
}
<
+❔ FAQ - IF THINGS DON’T WORK ~
+
+
+- If the pet is not at the height you desire change the row option
+- If you’re seeing a square around the pets, try setting avoid_statusline to true and/or winblend to 0.
+ If this doesn’t work then open an issue and I’ll try to look into it when I can.
+
+
🐾 AVAILABLE PETS *pets.nvim-🐾-available-pets*