Townk/vim-autoclose — Issue #15: Apostrophes get miscounted as single quotes
Author: artm
Created: 2011-10-18 07:54:01+00:00
State: open

Single quotes are treated specially: when a single quote follows alpha-numeric character it doesn't trigger insertion of a closing character - it's most probably an apostrophe. But when a free single quote is typed on a line already containing such an apostrophe it is not auto-closed because it's considered a closing counterpart of the apostrophe.

Example, when typing:

> Apostrophe isn't a quote. And '

I expect the second single quote to be auto-closed.

But I'm not sure this is fixable (closing single quotes are difficult to distinguish from apostrophes).