fix neovim highlighting (#1535)

This commit is contained in:
Hoagy
2024-02-15 01:26:35 +00:00
committed by GitHub
parent c20c6650d3
commit 2829332051

View File

@@ -160,7 +160,7 @@ function! s:place_highlights(server, diagnostics_response, bufnr) abort
endif
call nvim_buf_add_highlight(a:bufnr, s:namespace_id, l:hl_group,
\ l:line - 1, l:highlight_start_col - 1, l:highlight_end_col == -1 ? -1 : l:highlight_end_col)
\ l:line - 1, l:highlight_start_col - 1, l:highlight_end_col == -1 ? -1 : l:highlight_end_col - 1)
endfor
else
if l:start_line == l:end_line