Skip to content

Commit f3fdea9

Browse files
committed
fix another crash on 1.18.0 diagnostic
1 parent 3d10ed2 commit f3fdea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/diagnostics.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ defmodule ElixirLS.LanguageServer.Diagnostics do
488488
"uri" => uri,
489489
"range" =>
490490
range(
491-
{line, column || 1},
491+
{line || 1, column || 1},
492492
source_file
493493
)
494494
},

0 commit comments

Comments
 (0)