We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16a00e commit 341cdbeCopy full SHA for 341cdbe
plugin/core/diagnostics.py
@@ -3,7 +3,6 @@
3
from .logging import debug
4
from .url import uri_to_filename
5
from .protocol import Diagnostic
6
-from .workspace import is_in_workspace
7
from .events import Events
8
9
assert Diagnostic
@@ -45,11 +44,6 @@ def handle_diagnostics(update: 'Any'):
45
44
file_path = uri_to_filename(update.get('uri'))
46
window = sublime.active_window()
47
48
- if not is_in_workspace(window, file_path):
49
- debug("Skipping diagnostics for file", file_path,
50
- " it is not in the workspace")
51
- return
52
-
53
diagnostics = list(
54
Diagnostic.from_lsp(item) for item in update.get('diagnostics', []))
55
0 commit comments