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
330330 state =
331331 case reason do
332332 :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 ( )
333342 state
334343
335344 _ ->
@@ -345,10 +354,6 @@ defmodule ElixirLS.LanguageServer.Server do
345354 handle_build_result ( :error , [ Diagnostics . exception_to_diagnostic ( reason , path ) ] , state )
346355 end
347356
348- if reason == :normal do
349- WorkspaceSymbols . notify_build_complete ( )
350- end
351-
352357 state = if state . needs_build? , do: trigger_build ( state ) , else: state
353358 { :noreply , state }
354359 end
You can’t perform that action at this time.
0 commit comments