In case you are already using Lazy.nvim, you can install your local clone of the plugin as below:
{
dir = "/path/to/bareline.nvim",
opts = {}
},
Follow these manual steps:
- Tag the commit in the
main
branch with the semver version. - Create a GitHub release from the tag.
- The Vim help file bareline.txt is generated from bareline.lua through mini.doc (configuration in minidoc.lua).
- Generate the Vim help file using the EX command
lua MiniDoc.generate()
. - Recommended format options to facilitate proper hard wrapping:
-- Set default formatting options.
vim.o.formatoptions = "tcqjrn"
-- Improve pattern recognition for lists.
vim.o.formatlistpat = [[^\s*\d\+[\]:.)}\t ]\s*\|\s*[-*•]\s*]]
- Throughout bareline.lua, comments beginning with
DOCS:
indicate something important to convey on documentation. When modifying sections close to these comments, honor them.