Skip to content

Commit

Permalink
Fix crash when running completions in non file: schema URI
Browse files Browse the repository at this point in the history
Fixes #926
  • Loading branch information
lukaszsamson committed Jun 29, 2023
1 parent 5ae6425 commit 1ec247e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/language_server/lib/language_server/source_file.ex
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ defmodule ElixirLS.LanguageServer.SourceFile do
end
end

def formatter_for(_), do: :error
def formatter_for(_, _), do: :error

defp format_code(code, opts) do
try do
Expand Down

0 comments on commit 1ec247e

Please sign in to comment.