Skip to content

Commit

Permalink
Update diagnostic for cursor on diagnostic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
natebosch committed Nov 24, 2017
1 parent 99a8a1f commit 846d02d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
allow the client to attempt incremental syncs. This feature is experimental.
- Bug Fix: Use buffer filetype rather than current filetype when flushing file
changes for background buffers.
- Update the diagnostic under the cursor when diagnostics change for the file.

# 0.2.6

Expand Down
1 change: 1 addition & 0 deletions autoload/lsc/diagnostics.vim
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function! lsc#diagnostics#setForFile(file_path, diagnostics) abort
endif
call lsc#diagnostics#updateLocationList(a:file_path)
call lsc#highlights#updateDisplayed()
call lsc#cursor#onMove()
endfunction

" Updates location list for all windows showing [file_path].
Expand Down

0 comments on commit 846d02d

Please sign in to comment.