For example, `Pencil|Goyo`. Commands which can be followed by a `|` must be declared with `command-bar` (not entirely clear to me why).
My use case is in making an alias for a pager for prose: `vim -c 'Pencil|Goyo'`, but it could be potentially useful for a variety of reasons.
For tpope's markdown syntax, restored standard autoformat behavior for unordered lists, which is generally pretty good.
Ordered lists had annoying behavior for autoformat, so simply disabling autoformat if detected when insert is entered. This isn't ideal, but it's not clear what else can be done now.
Fixed bug for PFormatToggle, where it wasn't properly disabling Vim's autoformat.
Provided help in README for mapping key to toggle autoformat.
For all document types, autoformat blacklisting now sneaks a look a the start of the previous line, to allow for non-heading text to immediately follow, without autoformat being engaged in a way that will cause the heading to be captured in the auto formatted text.
PencilHard and PencilSoft benefited from autocomplete when you didn't know the commands, but they are awkward when you do know the commands.
So, there's PencilHard and HardPencil.
PencilSoft and SoftPencil
PencilToggle and TogglePencil
PencilOff and NoPencil
Additional blacklist adjustment for the plasticboy plugin, though I'll be doing more work in the coming weeks to get things tuned better.
#19 Reorganized commands, making them prefix-oriented. (e.g., old: HardPencil, new: PencilHard). Legacy commands still enabled by default.
#22 Better support of inline syntax for PencilHard mode
mattly/vim-markdown-enhancements defines a highlight for tables in markdown. We can use that to avoid inadvertent reformat of those tables by not enabling autoformat in those tables.
Added breakat chars to preserve footnote and email addresses.
Rename 'exclude' global to 'blacklist'
Removed formatoptions that were interfering with syntax module.
At least a partial fix for the problem of autoformat wreaking havoc on code blocks.
Couldn't find any highlighting groups for tables. If anybody can find them, we can add them to the exclude list.