File tree Expand file tree Collapse file tree
apps/language_server/lib/language_server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -438,11 +438,9 @@ defmodule ElixirLS.LanguageServer.Server do
438438 state . source_files [ uri ] . dirty? )
439439 end )
440440
441- # TODO remove uniq when duplicated subscriptions from vscode plugin are fixed
442441 deleted_paths =
443442 for change <- changes ,
444443 change [ "type" ] == 3 ,
445- uniq: true ,
446444 do: SourceFile.Path . from_uri ( change [ "uri" ] )
447445
448446 for path <- deleted_paths do
@@ -481,10 +479,8 @@ defmodule ElixirLS.LanguageServer.Server do
481479
482480 state = % { state | source_files: source_files }
483481
484- # TODO remove uniq when duplicated subscriptions from vscode plugin are fixed
485482 changes
486483 |> Enum . map ( & & 1 [ "uri" ] )
487- |> Enum . uniq ( )
488484 |> WorkspaceSymbols . notify_uris_modified ( )
489485
490486 if needs_build , do: trigger_build ( state ) , else: state
You can’t perform that action at this time.
0 commit comments