aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/keys.lua9
-rw-r--r--modules/textadept/snippets.lua2
2 files changed, 3 insertions, 8 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 187f227c..0d65f76a 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -108,10 +108,9 @@ module('_m.textadept.keys', package.seeall)
--
-- ## Configuration
--
--- It is not recommended to edit Textadept's `modules/textadept/keys.lua`. You
--- can either override or add to default key commands in your
--- `~/.textadept/keys.lua` or `require` a separate module in your
--- `~/.textadept/init.lua` instead of `modules/textadept/keys`.
+-- It is not recommended to edit Textadept's `modules/textadept/keys.lua`.
+-- Instead you can modify `_G.keys` from within your `~/.textadept/init.lua` or
+-- from a file `require`d by your `init.lua`.
-- Windows and Linux key commands are listed in the first block.
-- Mac OSX key commands are listed in the second block.
@@ -483,8 +482,6 @@ end
-- @name _G.keys
_G.keys = _M
-user_dofile('keys.lua') -- load user key commands
-
-- Do not edit below this line.
-- optimize for speed
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 9dbe1988..f0da90e5 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -475,5 +475,3 @@ end
-- @class table
-- @name _G.snippets
_G.snippets = _M
-
-user_dofile('snippets.lua') -- load user snippets