Unnamed repository; edit this file 'description' to name the repository.
Add mix.exs and mix.lock as Elixir root markers (#3917)
Riccardo Binetti 2022-09-23
parent 888f4fe · commit 3a245fe
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 949dd372..133b87ae 100644
--- a/languages.toml
+++ b/languages.toml
@@ -99,7 +99,7 @@ scope = "source.elixir"
injection-regex = "(elixir|ex)"
file-types = ["ex", "exs", "mix.lock"]
shebangs = ["elixir"]
-roots = []
+roots = ["mix.exs", "mix.lock"]
comment-token = "#"
language-server = { command = "elixir-ls" }
config = { elixirLS.dialyzerEnabled = false }