aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
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 e72eae45..8cda6fb0 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -617,7 +617,7 @@ local function keypress(code, shift, control, alt)
end
keychain[#keychain + 1] = key_seq
- local lexer, scope = buffer:get_lexer_language(), nil
+ local lexer, scope = buffer:get_lexer(), nil
if SCOPES_ENABLED then
scope = buffer:get_style_name(buffer.style_at[buffer.current_pos])
end