From ddcc45f0615ab6ba776635a15e2183f8d50401a7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 10 Feb 2009 10:24:56 -0500 Subject: Moved the textadept.locale table into the globals table. --- modules/textadept/lsnippets.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/textadept/lsnippets.lua') diff --git a/modules/textadept/lsnippets.lua b/modules/textadept/lsnippets.lua index c0cfab20..b8499fbb 100644 --- a/modules/textadept/lsnippets.lua +++ b/modules/textadept/lsnippets.lua @@ -1,6 +1,7 @@ -- Copyright 2007-2009 Mitchell mitchellcaladbolg.net. See LICENSE. local textadept = _G.textadept +local locale = _G.locale --- -- Provides Lua-centric snippets for Textadept. @@ -352,8 +353,8 @@ function show_style() local style_num = buffer.style_at[buffer.current_pos] local style = buffer:get_style_name(style_num) local text = - string.format(textadept.locale.M_TEXTADEPT_SNIPPETS_SHOW_STYLE, lexer, - style, style_num) + string.format(locale.M_TEXTADEPT_SNIPPETS_SHOW_STYLE, lexer, style, + style_num) buffer:call_tip_show(buffer.current_pos, text) end -- cgit v1.2.3