Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

A Neovim plugin to generate ASCII text using figlet

License

Notifications You must be signed in to change notification settings

MarcHamamji/ascii-text.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ascii-text.nvim

A Neovim plugin to generate ASCII text using figlet

Note: You need to have figlet installed on your system and available in your PATH.

Demo

Table of Contents

Installation

Using packer:

use {
  'nvim-telescope/telescope.nvim',
  requires = { 'nvim-lua/plenary.nvim' }
}
use { 'MarcHamamji/ascii-text.nvim' }

Setup

require('ascii-text').setup {
  -- Put your configuration here
}

This configuration will be passed to the open method, when called with no arguments.

Usage

require('ascii-text').open {
  -- Put your configuration here
}

Configuration

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.

About

A Neovim plugin to generate ASCII text using figlet

Topics

Resources

License

Stars

Watchers

Forks

Languages