aboutsummaryrefslogtreecommitdiff
path: root/modules/lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-01-24 21:48:39 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-01-24 21:48:39 -0500
commit4b45cac860a6eb86815c5af85bd6adb6098ac6c7 (patch)
tree7421a88a2b40f14b44f31ff750562c7e19bb876b /modules/lua
parentd6eb8cb3d6a968de8525633aa5cc8c304fdd6844 (diff)
downloadtextadept-4b45cac860a6eb86815c5af85bd6adb6098ac6c7.tar.gz
textadept-4b45cac860a6eb86815c5af85bd6adb6098ac6c7.zip
Rename module shortcut variables.
Diffstat (limited to 'modules/lua')
-rw-r--r--modules/lua/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/lua/init.lua b/modules/lua/init.lua
index ce22d8bb..c224ea9d 100644
--- a/modules/lua/init.lua
+++ b/modules/lua/init.lua
@@ -26,12 +26,12 @@ module('_M.lua')]]
--
-- * `sense`: The Lua [Adeptsense](_M.textadept.adeptsense.html).
-local Mediting, Mrun = _M.textadept.editing, _M.textadept.run
+local m_editing, m_run = _M.textadept.editing, _M.textadept.run
-- Comment string tables use lexer names.
-Mediting.comment_string.lua = '--'
+m_editing.comment_string.lua = '--'
-- Compile and Run command tables use file extensions.
-Mrun.run_command.lua = 'lua %(filename)'
-Mrun.error_detail.lua = {
+m_run.run_command.lua = 'lua %(filename)'
+m_run.error_detail.lua = {
pattern = '^lua: (.-):(%d+): (.+)$',
filename = 1, line = 2, message = 3
}