Skip to content

Commit 8a9b722

Browse files
authored
fix!: fixes hooks.disable_line_highlight function signature to match readme and parse_fn (#154)
1 parent 517df88 commit 8a9b722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/colorizer/matcher.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ local function compile(matchers, matchers_trie, hooks)
4040
if
4141
hooks
4242
and hooks.disable_line_highlight
43-
and hooks.disable_line_highlight(line, line_nr, bufnr)
43+
and hooks.disable_line_highlight(line, bufnr, line_nr)
4444
then
4545
return
4646
end

0 commit comments

Comments
 (0)