From 4ea746a4b72d5c250bcf5c5ffae4cdaff9a42c52 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 28 Sep 2011 20:41:17 -0400 Subject: Use lexer at the caret for key commands and snippets. --- core/keys.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/keys.lua b/core/keys.lua index a7d0f3d1..a00beb7d 100644 --- a/core/keys.lua +++ b/core/keys.lua @@ -237,7 +237,7 @@ local function keypress(code, shift, control, alt, meta) local success for i = 1, 2 do - local status = run_key_command(i == 1 and buffer:get_lexer()) + local status = run_key_command(i == 1 and buffer:get_lexer(true)) if status > 0 then -- CHAIN or HALT if status == HALT then -- Clear the key sequence, but keep any status messages from the key -- cgit v1.2.3