aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-10-13 21:58:35 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-10-13 21:58:35 -0400
commit1a95f6cad42e99e477e2b1532f6a234b4b586006 (patch)
tree831f96f310f45c94c3a7c3692bdf7de7499c57e0 /modules/textadept/keys.lua
parentb148931b259d4ebd407a5ee5352535df8b1db9ba (diff)
downloadtextadept-1a95f6cad42e99e477e2b1532f6a234b4b586006.tar.gz
textadept-1a95f6cad42e99e477e2b1532f6a234b4b586006.zip
Parameterize lexer and height for `ui.command_entry.enter_mode()`.
Also enable more accurate Lua command completion.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index b5fbaa45..3e463026 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -467,7 +467,7 @@ keys[not OSX and 'cj' or 'mj'] = editing.goto_line
-- Tools.
keys[not OSX and (not CURSES and 'ce' or 'mc')
- or 'me'] = {ui.command_entry.enter_mode, 'lua_command'}
+ or 'me'] = {ui.command_entry.enter_mode, 'lua_command', 'lua'}
keys[not OSX and (not CURSES and 'cE' or 'mC') or 'mE'] = utils.select_command
keys[not OSX and 'cr' or 'mr'] = textadept.run.run
keys[not OSX and (not CURSES and 'cR' or 'cmr') or 'mR'] = textadept.run.compile