Skip to content

Commit 1ec247e

Browse files
committed
Fix crash when running completions in non file: schema URI
Fixes #926
1 parent 5ae6425 commit 1ec247e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/source_file.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ defmodule ElixirLS.LanguageServer.SourceFile do
256256
end
257257
end
258258

259-
def formatter_for(_), do: :error
259+
def formatter_for(_, _), do: :error
260260

261261
defp format_code(code, opts) do
262262
try do

0 commit comments

Comments
 (0)