Donutlify is a fun Neovim plugin that transforms your buffer text into the
shape of a donut! The usage is the same as center
command (see :h :center
).
The plugin creates as many donuts as possible with the given diameter and crafts a smaller donut from any remaining text. Bring some sweetness to your coding with Donutlify! 🍩
:[range]Donutlify [diameter]
Combine lines in [range]
in the shape of the donut with [diameter]
characters in diameter (by default 'textwidth'
or 80 when 'textwidth'
is 0).
If there aren't enough characters to create a donut of the preferred diameter,
create the donut with the largest possible diameter.
If [range]
is not specified, format the entire buffer.
donutlify_showcase.mp4
lazy:
{
"NStefan002/donutlify.nvim",
lazy = false,
version = "*",
}
use({ "NStefan002/donutlify.nvim", tag = "*" })
:Rocks install donutlify.nvim
Note
- There is no need to call the
setup
function, only call it if you need to change some options - There is no need to lazy load
donutlify
, it lazy loads by default.