aboutsummaryrefslogtreecommitdiff
path: root/modules/cpp/commands.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
commit5da76d004a633de15830ca3ca1e694a91110cc73 (patch)
tree6a36d0f4b886ab4870807aa11b33801f34a19ec9 /modules/cpp/commands.lua
parent91407194760539859d5f3a88d142c4f893c111d3 (diff)
downloadtextadept-5da76d004a633de15830ca3ca1e694a91110cc73.tar.gz
textadept-5da76d004a633de15830ca3ca1e694a91110cc73.zip
Renamed modules global to _m.
Diffstat (limited to 'modules/cpp/commands.lua')
-rw-r--r--modules/cpp/commands.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/cpp/commands.lua b/modules/cpp/commands.lua
index 25fa3584..472ca130 100644
--- a/modules/cpp/commands.lua
+++ b/modules/cpp/commands.lua
@@ -2,12 +2,12 @@
---
-- Commands for the cpp module.
-module('modules.cpp.commands', package.seeall)
+module('_m.cpp.commands', package.seeall)
-- C++-specific key commands.
local keys = _G.keys
if type(keys) == 'table' then
- local m_editing = modules.textadept.editing
+ local m_editing = _m.textadept.editing
local m_handlers = textadept.handlers
keys.cpp = {
al = { textadept.io.open, _HOME..'/modules/cpp/init.lua' },
@@ -20,7 +20,7 @@ if type(keys) == 'table' then
['('] = { function()
--~ buffer.word_chars =
--~ '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
- m_editing.show_call_tip(modules.cpp.api, true)
+ m_editing.show_call_tip(_m.cpp.api, true)
--~ buffer:set_chars_default()
return false
end },