-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp: Update contents before diagnosticRequestFile
One of the main causes for the 'empty module' error stemmed from the sending of diagnosticRequestFile events with no content. One solution would have been to fetch the content when processing events on the diagnosticRequestFile channel, however it felt like the publisher had more knowledge of how to do this correctly and processing diagnosticRequestFile was getting unwieldy. I have removed the content from diagnosticRequestFile, and these events will just update the parse and send diagnostics. This should be less surprising. Signed-off-by: Charlie Egan <charlie@styra.com>
- Loading branch information
1 parent
6f9b32f
commit a65ce07
Showing
1 changed file
with
77 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters