Skip to content

Commit 2829332

Browse files
fix neovim highlighting (#1535)
1 parent c20c665 commit 2829332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/internal/diagnostics/highlights.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function! s:place_highlights(server, diagnostics_response, bufnr) abort
160160
endif
161161

162162
call nvim_buf_add_highlight(a:bufnr, s:namespace_id, l:hl_group,
163-
\ l:line - 1, l:highlight_start_col - 1, l:highlight_end_col == -1 ? -1 : l:highlight_end_col)
163+
\ l:line - 1, l:highlight_start_col - 1, l:highlight_end_col == -1 ? -1 : l:highlight_end_col - 1)
164164
endfor
165165
else
166166
if l:start_line == l:end_line

0 commit comments

Comments
 (0)