Open bitprophet opened 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.
Not a duplicate, but this is somewhat related to #30.
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:
:NoPencil
(or:TogglePencil
- same behavior for both)A strange but hopefully illuminating wrinkle:
vim
by itself w/ no filename, with Pencil enabled in the rc file:set ft=markdown
vim
by itself, as above, still with Pencil enabled:NoPencil
:set ft=markdown
, type stuff, and things work fine - no #31 behavior occurs.Other notes:
.vimrc
and.vim/
, can be seen here: https://github.com/bitprophet/dotfiles