Open DN4Davi opened 3 weeks ago
This should work, how does your project structure looks like and how does your erlang_ls.config look like?
I think I understand now. Just two files in the project root? I guess we don't support that, but expect source files to be under src/
.
I think your use-case is valid, so will try to fix it :)
I think I understand now. Just two files in the project root? I guess we don't support that, but expect source files to be under
src/
.
Yes, is it but even when I put them into the 'src/' dir doesn't works (but if i add a rebar.config sample filie to the root in this case, it seems to work).
I think your use-case is valid, so will try to fix it :)
Thanks! 🙏
I found the real problem to the case of the files in the "src/" dir.
It isn't a bug in erlang_ls
itself, but with the way nvim-lspconfig
defines the root dir to the LSP (https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#erlangls).
I have a folder with two files:
but i don't receive any completion from erlang_ls about the x module in the y module. Why it occurs? How to configue erlang_ls.config to solve it?