aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/06_AdeptEditing.md5
-rw-r--r--doc/08_Preferences.md6
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/06_AdeptEditing.md b/doc/06_AdeptEditing.md
index e28daf7c..3704e208 100644
--- a/doc/06_AdeptEditing.md
+++ b/doc/06_AdeptEditing.md
@@ -14,8 +14,9 @@ below.
Usually, quote (''', '"') and brace ('(', '[', '{') characters go
together in pairs. By default, Textadept automatically inserts the complement
character when the first is typed. Similarly, the complement is deleted when you
-press `Bksp` (`⌫` on Mac OSX | `Bksp` in ncurses) over the first. See the
-[preferences][] page if you would like to disable this.
+press `Bksp` (`⌫` on Mac OSX | `Bksp` in ncurses) over the first. Typing over
+complement characters is also supported. See the [preferences][] page if you
+would like to disable these features.
[preferences]: 08_Preferences.html#Generic
diff --git a/doc/08_Preferences.md b/doc/08_Preferences.md
index a8b4c15d..ad089fb5 100644
--- a/doc/08_Preferences.md
+++ b/doc/08_Preferences.md
@@ -35,12 +35,14 @@ below.
Many of Textadept's generic modules have settings you can change from
*~/.textadept/init.lua* after the module is loaded. These settings are viewed
-from module's [LuaDoc][]. For example, to disable character autopairing and
-stripping whitespace on save, your *~/.textadept/init.lua* might look like:
+from module's [LuaDoc][]. For example, to disable character autopairing with
+typeover and stripping whitespace on save, your *~/.textadept/init.lua* might
+look like:
_M.textadept = require 'textadept'
_M.textadept.editing.AUTOPAIR = false
+ _M.textadept.editing.TYPEOVER_CHARS = false
_M.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false
Now suppose you wanted to load all of Textadept's default modules except for the