Skip to content

Suspending autoformatting doesn't work? #88

@jgonera

Description

@jgonera

Thank you for an excellent plugin! Makes writing Markdown much easier. The only time I'd like to disable it is when editing lists so I added let g:pencil#map#suspend_af = 'K' to my config. However, hitting K+i/o/a seems to have the same effect as hitting only i/o/a (autoformatting enabled).

My config looks like this:

augroup pencil
  autocmd!
  autocmd FileType markdown,mkd call pencil#init()
augroup END

let g:pencil#map#suspend_af = 'K'

Using Neovim 0.4.3.

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions