lsp: Fix bad argument for compile

This commit is contained in:
Sonny Piers 2023-11-03 22:42:27 +01:00
parent ceb70271fd
commit 3c424d03a4
2 changed files with 3 additions and 3 deletions

View file

@ -326,7 +326,7 @@ class LanguageServer:
xml = None
try:
output = XmlOutput()
xml = output.emit(open_file.ast, generated_notice=False)
xml = output.emit(open_file.ast, indent=2, generated_notice=False)
except:
printerr(traceback.format_exc())
self._send_error(id, ErrorCode.RequestFailed, "Could not compile document")