tpope / vim-unimpaired

unimpaired.vim: Pairs of handy bracket mappings

Home Page:https://www.vim.org/scripts/script.php?script_id=1590

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[x does not encode ' (apostrophe)

tinybeachthor opened this issue · comments

As far as I know the ' should be encoded as ' or ' (for pre-html5 compatibility), however [x ignores the character.

Let me know if I am missing something, or if there is a reason behind this.

The short answer is that this plugin is older than HTML5, ' is ugly and confusing, and it didn't really seem necessary. I suppose given that it's 2019 I would be okay with encoding to '.

Also how about expanding the encode to include all possible characters, since decode already supports them.
To make the encode/decode symmetrical.

Now that's an argument you should have made back in 2009. Who is still writing resumé in this day and age?