diff options
author | 2010-06-15 13:21:56 -0400 | |
---|---|---|
committer | 2010-06-15 13:21:56 -0400 | |
commit | f3bb9601ac824c2ff8fa12e37029bb15177c6583 (patch) | |
tree | ed7b79ef8f121b513230f1be29c78bc8a125d27e /modules/textadept | |
parent | 6169e7d42c434ef6a01b199e0f2729a25b389e43 (diff) | |
download | textadept-f3bb9601ac824c2ff8fa12e37029bb15177c6583.tar.gz textadept-f3bb9601ac824c2ff8fa12e37029bb15177c6583.zip |
Removed user_dofile() of keys and snippets.
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/keys.lua | 9 | ||||
-rw-r--r-- | modules/textadept/snippets.lua | 2 |
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 |