Skip to content

Commit

Permalink
Remember to set lsp_diagnostic_phantom to false when cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
tomv564 authored and rwols committed Mar 7, 2020
1 parent 6a0afdf commit e39baf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def create_phantom_html(self, content: str, severity: str) -> str:

def clear(self) -> None:
if self._last_phantom_set:
self._last_phantom_set.view.settings().set('lsp_diagnostic_phantom', False)
self._last_phantom_set.update([])


Expand Down

0 comments on commit e39baf1

Please sign in to comment.