lsp: re-analyze IR2 files when they change (#1841)

* lsp: re-analyze IR2 files when they change

* tests: update ref tests
This commit is contained in:
Tyler Wilding
2022-09-05 17:45:41 -04:00
committed by GitHub
parent 9f90a7c2db
commit 71871595da
12 changed files with 19 additions and 23 deletions
+2 -1
View File
@@ -17,11 +17,12 @@ void LSPSpec::from_json(const json& j, TextDocumentContentChangeEvent& obj) {
}
void LSPSpec::to_json(json& j, const DidChangeTextDocumentParams& obj) {
j = json{{"textDocument", obj.m_textDocument}};
j = json{{"textDocument", obj.m_textDocument}, {"contentChanges", obj.m_contentChanges}};
}
void LSPSpec::from_json(const json& j, DidChangeTextDocumentParams& obj) {
j.at("textDocument").get_to(obj.m_textDocument);
j.at("contentChanges").get_to(obj.m_contentChanges);
}
void LSPSpec::to_json(json& j, const DidCloseTextDocumentParams& obj) {