aboutsummaryrefslogtreecommitdiff
path: root/doc/08_Preferences.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/08_Preferences.md')
-rw-r--r--doc/08_Preferences.md6
1 files changed, 4 insertions, 2 deletions
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