Skip to content

Commit c48014c

Browse files
committed
updates to lsp build
1 parent 3810368 commit c48014c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/mod_file/Importer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void diagnoseModuleFileDataUnit(WorkspaceManager& manager, ModuleFileDataUnit* u
7373

7474
if (!diagnoser.diagnostics.empty()) {
7575
// append all the diagnostics
76-
unit->modFileData.diagnostics.insert(unit->modFileData.diagnostics.end(), diagnoser.diagnostics.begin(), diagnoser.diagnostics.end());
76+
unit->modFileData.parse_diagnostics.insert(unit->modFileData.parse_diagnostics.end(), diagnoser.diagnostics.begin(), diagnoser.diagnostics.end());
7777
}
7878

7979
}
@@ -149,7 +149,7 @@ void WorkspaceManager::process_dot_mod_file(const std::string& path) {
149149

150150
// publish diagnotics of parsing
151151
std::vector<lsp::Diagnostic> diagnostics;
152-
add_diagnostics(diagnostics, unit->modFileData.diagnostics);
152+
add_diagnostics(diagnostics, unit->modFileData.parse_diagnostics);
153153
publish_diagnostics(path, diagnostics);
154154

155155
}

0 commit comments

Comments
 (0)