diff options
author | 2011-06-24 17:41:51 -0400 | |
---|---|---|
committer | 2011-06-24 17:41:51 -0400 | |
commit | e192e73a92eb896f9c8623d11a8c49ebbcb4c291 (patch) | |
tree | 7c09774b3fa143126e8373c2a0c3d901f3e7273c /modules/lua/init.lua | |
parent | 282c7dd9fe5c903a4620d41c9498153e83867119 (diff) |
Removed '_G' prefix from globals where necessary.
Diffstat (limited to 'modules/lua/init.lua')
-rw-r--r-- | modules/lua/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua index cf43934e..198aed3c 100644 --- a/modules/lua/init.lua +++ b/modules/lua/init.lua @@ -170,7 +170,7 @@ events.connect(events.FILE_AFTER_SAVE, -- Container for Lua-specific key commands. -- @class table -- @name _G.keys.lua -_G.keys.lua = { +keys.lua = { al = { m = { io.open_file, (_HOME..'/modules/lua/init.lua'):iconv('UTF-8', _CHARSET) }, @@ -183,12 +183,12 @@ _G.keys.lua = { -- Snippets. -if type(_G.snippets) == 'table' then +if type(snippets) == 'table' then --- -- Container for Lua-specific snippets. -- @class table -- @name _G.snippets.lua - _G.snippets.lua = { + snippets.lua = { l = "local %1(expr)%2( = %3(value))", p = "print(%0)", f = "function %1(name)(%2(args))\n\t%0\nend", |