aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-14 15:51:12 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-14 15:51:12 -0400
commit9964c09b5a9a769786f9fc62f316781050fe2dc9 (patch)
tree3b93ab3e4c899b1f8585b5d5a4b980539d878382 /modules/textadept/keys.lua
parent0d69af77291c66e4d982497b8e189f5228d4d07e (diff)
downloadtextadept-9964c09b5a9a769786f9fc62f316781050fe2dc9.tar.gz
textadept-9964c09b5a9a769786f9fc62f316781050fe2dc9.zip
Use buffer:get_lexer(true) more often when it should be used.
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 09175dc6..33ceb8e8 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -36,7 +36,7 @@ M.utils = {
local buffer = buffer
local style = buffer.style_at[buffer.current_pos]
local text = string.format("%s %s\n%s %s (%d)", _L['Lexer'],
- buffer:get_lexer(), _L['Style'],
+ buffer:get_lexer(true), _L['Style'],
buffer:get_style_name(style), style)
buffer:call_tip_show(buffer.current_pos, text)
end,