Add notice that the file is generated

Fixes #123
This commit is contained in:
Urtsi Santsi 2023-09-02 02:11:09 +03:00
parent 80cb57cb88
commit cf136ab09f
2 changed files with 11 additions and 2 deletions

View file

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