clp

command line syntax highlighter
git clone git://jeskin.net/clp.git
README | Log | Files | Refs | LICENSE

commit 661573480d2536a69e0e5ad51c418cf82b3dfc38
parent 0375446d3098407877450983c2a7bdc1e67b2910
Author: Jon Eskin <eskinjp@gmail.com>
Date:   Sun, 24 Jul 2022 06:57:52 -0400

fix line highlighting

Diffstat:
Mlua/clp.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/clp.lua b/lua/clp.lua @@ -27,7 +27,7 @@ function write(args) -- if a line was set to be highlighted, make sure it has valid bounds and -- then highlight it. Otherwise just write normally to stdout. - local hl_line_start, hl_line_end + local hl_start_pos, hl_end_pos if (highlight_line ~= nil and highlight_line > 0) then hl_start_pos, hl_end_pos = find_hl_bounds(text, highlight_line) end