Skip to content

Commit 5d168a2

Browse files
committed
refactor: remove extmark line highlight. Fixes #109
1 parent de01d4c commit 5d168a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/tiny-inline-diagnostic/extmarks.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ local function set_extmark(buf, line, virt_text, win_col, priority, pos)
6767
strict = false,
6868
}
6969

70-
if line == 0 then
71-
extmark_opts.line_hl_group = "TinyInlineDiagnosticVirtualTextBg"
72-
end
70+
-- if line == 0 then
71+
-- extmark_opts.line_hl_group = "TinyInlineDiagnosticVirtualTextBg"
72+
-- end
7373

7474
vim.api.nvim_buf_set_extmark(buf, DIAGNOSTIC_NAMESPACE, line, 0, extmark_opts)
7575
end

0 commit comments

Comments
 (0)