From 1a95f6cad42e99e477e2b1532f6a234b4b586006 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 13 Oct 2014 21:58:35 -0400 Subject: Parameterize lexer and height for `ui.command_entry.enter_mode()`. Also enable more accurate Lua command completion. --- modules/textadept/keys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/keys.lua') 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 -- cgit v1.2.3