From 825012daeb6c3a95c114f161090e262a2a0794dd Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 7 Feb 2026 15:12:44 -0500 Subject: [PATCH] fix(ci): remove unused variable --- lua/diffs/highlight.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/diffs/highlight.lua b/lua/diffs/highlight.lua index fed979b..306b0e5 100644 --- a/lua/diffs/highlight.lua +++ b/lua/diffs/highlight.lua @@ -68,9 +68,8 @@ local function highlight_text(bufnr, ns, hunk, col_offset, text, lang, context_l local header_line = hunk.start_line - 1 for id, node, metadata in query:iter_captures(trees[1]:root(), parse_text) do - local sr, sc, er, ec = node:range() + local sr, sc, _, ec = node:range() if sr == 0 then - er = 0 local capture_name = '@' .. query.captures[id] .. '.' .. lang local buf_sr = header_line