diff options
author | 2013-08-26 22:36:10 -0400 | |
---|---|---|
committer | 2013-08-26 22:36:10 -0400 | |
commit | 92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26 (patch) | |
tree | 53d4645ebc30698f4a782bc76232b0b54fe82507 /modules/textadept/run.lua | |
parent | acda712a50dbebafa295ccd07ce8186d9b82aa10 (diff) | |
download | textadept-92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26.tar.gz textadept-92a1e1cae3029a3c4dde56c8dcc5d212fdc11e26.zip |
Renamed `_M.textadept` to `textadept`; `_M` is for language modules only now.
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r-- | modules/textadept/run.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index 38a5e0f4..6a66e8d3 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -33,7 +33,7 @@ local M = {} -- -- * `lexer`: The lexer language name. -- * `output`: The string output from the command. -module('_M.textadept.run')]] +module('textadept.run')]] M.ERROR_COLOR = not CURSES and 'color.light_red' or 'color.red' @@ -231,7 +231,7 @@ function M.goto_error(line, next) -- Goto the error and show an annotation. local err = get_error_details(buffer:get_line(line)) if not err then if CURSES then view:goto_buffer(cur_buf) end return end - _M.textadept.editing.select_line() + textadept.editing.select_line() ui.goto_file(M.cwd..err.filename, true, preferred_view, true) local line, message = err.line, err.message buffer:goto_line(line - 1) |