aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tb2err
Commit message (Collapse)AuthorAgeFilesLines
* tools/tb2err: Trim trailing whitespaceKim Alvefur2023-04-081-1/+1
|
* tools/tb2err: Rewrite prosody-modules paths to ../modulesKim Alvefur2023-04-081-0/+2
| | | | This assumes you have community modules in ../modules as I do
* tools/tb2err: Add some example usage in a commentKim Alvefur2023-04-081-0/+2
|
* tools/tb2err: Drop use of lua-any since it should run fine on any LuaKim Alvefur2023-04-081-2/+1
| | | | Dependencies--; \o/
* tools/tb2err: Formats Lua traceback in errors.err formatKim Alvefur2020-10-281-0/+21
Manually opening to the files and line numbers from a Lua traceback is tedious. This tool converts tracebacks into a format that many compilers and such tools use, which is also compatible with Vim (and possibly other editors). Thus if someone sends you a pastebin link with a traceback, a command like the following gets you right to the relevant lines: curl paste.example/abc123.txt | tb2err > errors.err; vim -q