preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.58k stars 39 forks source link

Disabling Pencil doesn't seem to work after it's fully loaded #38

Open bitprophet opened 8 years ago

bitprophet commented 8 years ago

Guessing this is a conflict with one of my other plugins or my environment, I'd be surprised if it was globally broken (but who knows?).

To reproduce:

A strange but hopefully illuminating wrinkle:

Other notes:

reedes commented 8 years ago

pencil is largely using setlocal (rather than global) to make its configuration changes via its init() function.

TogglePencil and NoPencil should be disabling those changes. I'll try to reproduce the problem.

alerque commented 4 years ago

Not a duplicate, but this is somewhat related to #30.