Closed fsouza closed 2 years ago
Sent #198. Let me know what you think.
Seems like not fully fix it?
return {
lintCommand = "flake8 --max-line-length 160 --format '%(path)s:%(row)d:%(col)d: %(code)s %(code)s %(text)s' --stdin-display-name ${INPUT} -",
lintStdin = true,
lintIgnoreExitCode = true,
lintFormats = {"%f:%l:%c: %t%n%n%n %m"},
lintSource = "flake8"
}
Looks like this is a regression caused by #193. Example workflow with Python and flake8 (could be anything really):
textDocument/didChange
to efmtextDocument/publishDiagnostics
textDocument/didChange
to efmtextDocument/publishDiagnostics
On step 5, efm should send
textDocument/publishDiagnostics
with an empty list of diagnostics, but instead it simply doesn't send the notification.