File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
apps/language_server/lib/language_server Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -330,6 +330,15 @@ defmodule ElixirLS.LanguageServer.Server do
330
330
state =
331
331
case reason do
332
332
:normal ->
333
+ WorkspaceSymbols . notify_build_complete ( )
334
+ state
335
+
336
+ :shutdown ->
337
+ WorkspaceSymbols . notify_build_complete ( )
338
+ state
339
+
340
+ { :shutdown , _ } ->
341
+ WorkspaceSymbols . notify_build_complete ( )
333
342
state
334
343
335
344
_ ->
@@ -345,10 +354,6 @@ defmodule ElixirLS.LanguageServer.Server do
345
354
handle_build_result ( :error , [ Diagnostics . exception_to_diagnostic ( reason , path ) ] , state )
346
355
end
347
356
348
- if reason == :normal do
349
- WorkspaceSymbols . notify_build_complete ( )
350
- end
351
-
352
357
state = if state . needs_build? , do: trigger_build ( state ) , else: state
353
358
{ :noreply , state }
354
359
end
You can’t perform that action at this time.
0 commit comments