aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-03-08 22:04:22 -0500
committerJesse Luehrs <doy@tozt.net>2018-03-08 22:04:22 -0500
commit0113c56e537e0ebf5e41fadcc9fb52cb3af8e04a (patch)
tree1f0c480ca3e2d68e4ffb9963b2b267c07b4385f9 /README.md
parentbe08e358b9c80919812376848c5bcab0649489b5 (diff)
downloadvim-autobrace-0113c56e537e0ebf5e41fadcc9fb52cb3af8e04a.tar.gz
vim-autobrace-0113c56e537e0ebf5e41fadcc9fb52cb3af8e04a.zip
add note about apostrophes
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index e73dc24..8cc7f24 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,9 @@ Specifically, it does these things:
* Opening brace and quote characters (specifically, `(`,
`[`, `{`, `'`, and `"`) are mapped to make them automatically insert their
- corresponding closing character.
+ corresponding closing character. `'` is special-cased to not insert the
+ closing character when typed after a word character, to avoid triggering
+ when typing words with apostrophes.
* Typing a closing brace or quote character while the next character past the
cursor is that character will skip over it instead of inserting it.
* Pressing <CR> when the next character is a closing brace will insert two