aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-12-01 07:48:54 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2010-12-01 07:48:54 -0500
commit4ddbf4efd0e085f83117590db7d86dbbc07fc3de (patch)
treeebb634d51c184f7ec050405dab79b6d81cc926b9 /modules/lua
parentba15402dad3e2cb28a03361d5ad2b526da8d6899 (diff)
downloadtextadept-4ddbf4efd0e085f83117590db7d86dbbc07fc3de.tar.gz
textadept-4ddbf4efd0e085f83117590db7d86dbbc07fc3de.zip
Change back to Shift+Return for autocomplete end; modules/lua/commands.lua
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/commands.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua
index e8889a5b..88b3bf3a 100644
--- a/modules/lua/commands.lua
+++ b/modules/lua/commands.lua
@@ -9,7 +9,8 @@ module('_m.lua.commands', package.seeall)
--
-- + `Alt+l, m`: Open this module for editing.
-- + `Alt+l, g`: Goto file being 'require'd on the current line.
--- + `Return`: Try to autocomplete an `if`, `for`, etc. statement with `end`.
+-- + `Shift+Return`: Try to autocomplete an `if`, `for`, etc. statement with
+-- `end`.
-- + `.`: When to the right of a known identifier, show an autocompletion list
-- of fields.
-- + `:`: When to the right of a known identifier, show an autocompletion list
@@ -267,7 +268,7 @@ if type(keys) == 'table' then
(_HOME..'/modules/lua/init.lua'):iconv('UTF-8', _CHARSET) },
g = { goto_required },
},
- ['\n'] = { try_to_autocomplete_end },
+ ['s\n'] = { try_to_autocomplete_end },
[not OSX and 'c\n' or 'esc'] = { function() -- complete API
local buffer = buffer
local part = prev_word('[%w_]', buffer.current_pos)