Reed Es

Results 106 comments of Reed Es

I'll try to reproduce this in the next week or so.

If someone could figure out how to do this, I'd welcome a pull request to fix it. However I'm not optimistic a fix would be possible, as this seems to...

It's correct that a buffer initialized with pencil won't automatically uninitialize (restore to global settings) when the filetype changes. Currently, only a NoPencil command will do that. Restoring to pre-initialization...

While pencil does change a handful of global settings, linebreak and wrap shouldn't be among them. Those should be exclusively local to the current buffer. Are you seeing differently in...

Setting the undo points [here](https://github.com/reedes/vim-pencil/blob/master/autoload/pencil.vim#L416-L424) must be disrupting the keymap. A possible fix will be saving the keymap value before setting the undo points and restoring the value afterwards. I'll...

Sorry, I haven't had a chance to look at this due to non-Vim distractions. If anyone can come up with a tested patch, I can merge it.

Not a problem. Glad to find ways to improve this plugin. Autoformatting rules can be added/modified by defining your own `g:pencil#autoformat_config`. We can add default rules for ft=mail if you...

I vaguely recall that wasn't a controllable behavior for Vim's soft wrap mode back when I wrote pencil to support it years ago. However, Vim and Neovim have changed since...

Sorry for the delay. `iskeyword` is a bit of a pain in the neck. Pencil modifies it to support various punctuation in words, such as "$20 30% D&D #40 highest-rated...

Regarding excluding _ from iskeyword, I don’t recall the specifics, but likely due to behavior with markup for markdown, etc. A solution that selectively clobbers will be tricky given the...