Skip to content

Commit

Permalink
Fix mistaken match
Browse files Browse the repository at this point in the history
This was meant to be a normal `<-`.
  • Loading branch information
mhanberg committed Aug 9, 2022
1 parent ec567ec commit 9907e1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
uri = "file://#{file}"

with {:ok, source_file_text} <- File.read(file),
{:ok, symbols} = DocumentSymbols.symbols(uri, source_file_text, false) do
{:ok, symbols} <- DocumentSymbols.symbols(uri, source_file_text, false) do
{uri, symbols}
else
_ ->
Expand Down Expand Up @@ -166,7 +166,7 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
file = URI.parse(uri).path

with {:ok, source_file_text} <- File.read(file),
{:ok, symbols} = DocumentSymbols.symbols(uri, source_file_text, false) do
{:ok, symbols} <- DocumentSymbols.symbols(uri, source_file_text, false) do
{uri, symbols}
else
_ ->
Expand Down

0 comments on commit 9907e1d

Please sign in to comment.