aboutsummaryrefslogtreecommitdiff
path: root/doc/08_Preferences.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-01-31 11:16:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-01-31 11:16:21 -0500
commit210e761ac6721de0922e830deaaadfc36a74aa02 (patch)
treefd8c220b248033c90c4c38ff8e195f4f2178d67b /doc/08_Preferences.md
parenta715bf63d6a62f000f6acd91e20eef9ef00a03c8 (diff)
downloadtextadept-210e761ac6721de0922e830deaaadfc36a74aa02.tar.gz
textadept-210e761ac6721de0922e830deaaadfc36a74aa02.zip
Added ability to type over characters like closing braces and quotes.
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