We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4bd85e commit bdd5030Copy full SHA for bdd5030
apps/language_server/lib/language_server/server.ex
@@ -38,6 +38,7 @@ defmodule ElixirLS.LanguageServer.Server do
38
39
alias ElixirLS.Utils.Launch
40
alias ElixirLS.LanguageServer.Tracer
41
+ alias ElixirLS.Utils.MixfileHelpers
42
43
use Protocol
44
@@ -1239,7 +1240,7 @@ defmodule ElixirLS.LanguageServer.Server do
1239
1240
1241
is_nil(prev_project_dir) ->
1242
File.cd!(project_dir)
- %{state | project_dir: File.cwd!(), mix_project?: File.exists?("mix.exs")}
1243
+ %{state | project_dir: File.cwd!(), mix_project?: File.exists?(MixfileHelpers.mix_exs())}
1244
1245
prev_project_dir != project_dir ->
1246
JsonRpc.show_message(
0 commit comments