aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--doc/autobrace.txt4
2 files changed, 6 insertions, 2 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
diff --git a/doc/autobrace.txt b/doc/autobrace.txt
index fbb1b2d..6d82da5 100644
--- a/doc/autobrace.txt
+++ b/doc/autobrace.txt
@@ -11,7 +11,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