Skip to content

Commit 061d7ad

Browse files
authored
fix: activate nextls when it detects a mix.exs file (#165)
1 parent 8b13b29 commit 061d7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/elixir/nextls/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function M.setup(opts)
4949
group = nextls_group,
5050
pattern = { "elixir", "eelixir", "heex", "surface" },
5151
callback = function()
52-
local matches = vim.fs.find({ "mix.lock" }, {
52+
local matches = vim.fs.find({ "mix.lock", "mix.exs" }, {
5353
stop = vim.uv.os_homedir(),
5454
upward = true,
5555
path = vim.fs.dirname(vim.api.nvim_buf_get_name(0)),

0 commit comments

Comments
 (0)