Skip to content

Commit

Permalink
fix neovim highlighting (#1535)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoagy-davis-digges authored Feb 15, 2024
1 parent c20c665 commit 2829332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp/internal/diagnostics/highlights.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2829332

Please sign in to comment.