A Neovim plugin to generate ASCII text using figlet
Note: You need to have figlet
installed on your system and available in your PATH.
Using packer:
use {
'nvim-telescope/telescope.nvim',
requires = { 'nvim-lua/plenary.nvim' }
}
use { 'MarcHamamji/ascii-text.nvim' }
require('ascii-text').setup {
-- Put your configuration here
}
This configuration will be passed to the open
method, when called with no arguments.
require('ascii-text').open {
-- Put your configuration here
}
Field | Description | Available Values | Default |
---|---|---|---|
output_width |
The maximum width, in characters, of the output. The output will be wrapped if it exceeds this amount. | Any valid number of charaters | 80 |
spacing |
How much the characters should be close to each other. | smushing kerning full-width |
smushing |
justification |
The horizontal justification of the text. | left center right auto |
auto |
Note: All of the configuration options are actually flags to the figlet
command. You can read more about them in its man page.