File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
apps/language_server/lib/language_server Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -438,11 +438,9 @@ defmodule ElixirLS.LanguageServer.Server do
438
438
state . source_files [ uri ] . dirty? )
439
439
end )
440
440
441
- # TODO remove uniq when duplicated subscriptions from vscode plugin are fixed
442
441
deleted_paths =
443
442
for change <- changes ,
444
443
change [ "type" ] == 3 ,
445
- uniq: true ,
446
444
do: SourceFile.Path . from_uri ( change [ "uri" ] )
447
445
448
446
for path <- deleted_paths do
@@ -481,10 +479,8 @@ defmodule ElixirLS.LanguageServer.Server do
481
479
482
480
state = % { state | source_files: source_files }
483
481
484
- # TODO remove uniq when duplicated subscriptions from vscode plugin are fixed
485
482
changes
486
483
|> Enum . map ( & & 1 [ "uri" ] )
487
- |> Enum . uniq ( )
488
484
|> WorkspaceSymbols . notify_uris_modified ( )
489
485
490
486
if needs_build , do: trigger_build ( state ) , else: state
You can’t perform that action at this time.
0 commit comments