diff options
author | 2011-09-28 20:41:17 -0400 | |
---|---|---|
committer | 2011-09-28 20:41:17 -0400 | |
commit | 4ea746a4b72d5c250bcf5c5ffae4cdaff9a42c52 (patch) | |
tree | 87adfa3f13bdf4910a45080823891e205e2158a6 /core/keys.lua | |
parent | 65c54ee23b6855ae6b21d1d218f5c13af080aa96 (diff) | |
download | textadept-4ea746a4b72d5c250bcf5c5ffae4cdaff9a42c52.tar.gz textadept-4ea746a4b72d5c250bcf5c5ffae4cdaff9a42c52.zip |
Use lexer at the caret for key commands and snippets.
Diffstat (limited to 'core/keys.lua')
-rw-r--r-- | core/keys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |