Skip to content

Commit

Permalink
Do not skip other diagnostics on jedi syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinmad committed Oct 10, 2023
1 parent 770fe74 commit 2e6d2ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions anakinls/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,6 @@ def _validate(ls: LanguageServer, uri: str, script: Script = None):
)
for x in script.get_syntax_errors()
]
if result:
ls.publish_diagnostics(uri, result)
return

# pyflakes
pyflakes_check(script._code, script.path,
Expand Down

0 comments on commit 2e6d2ef

Please sign in to comment.