preservim / vim-pencil

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

When user hits insert and highlight stack is empty, check nearby #11

Closed reedes closed 10 years ago

reedes commented 10 years ago

Hardpencil mode issue.

If at the end of a line in a list of links, such as

...the synstack call may return .

Then pencil enables autoformat and the text is disrupted.

Checking one character to the left would detect the syntax and the blacklist mechanism could then prevent autoformat.

reedes commented 10 years ago

Done.