Skip to content

Commit de86ad7

Browse files
authored
Analyze project even if --no-lint is set
1 parent fc3c76e commit de86ad7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vhdl_ls/src/vhdl_server.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,13 @@ impl VHDLServer {
281281
}
282282

283283
fn publish_diagnostics(&mut self) {
284+
let diagnostics = self.project.analyse();
285+
284286
if self.settings.no_lint {
285287
return;
286288
}
287289

288290
let supports_related_information = self.client_supports_related_information();
289-
let diagnostics = self.project.analyse();
290291
let diagnostics = {
291292
if supports_related_information {
292293
diagnostics

0 commit comments

Comments
 (0)