Reputation: 33
I want to use coc.nvim and elrang_ls in vim8.2. There are some problems. It report missing an erlang_ls.config when I open a erlang file. But i have erlang_ls.config in project root.
the result of CocCommand workspace.showOutput
show it read config from unexpected place
Where is correct position for erlang_ls.config?
Sorry for my poor English. Thanks.
It is possible to customize the behaviour of the erlang_ls server via a configuration file, named erlang_ls.config. The erlang_ls.config file should be placed in the root directory of a given project to store the configuration for that project.
Upvotes: 0
Views: 585
Reputation: 33
It is need create erlang_ls.config
in C:\Users\Administrator\AppData\Roaming\erlang_ls
and erlang_ls.config
erlang_ls.yaml
in the project root path. But I don't know why.
Upvotes: 0
Reputation: 4077
According to the picture, the clue has already been given to you. In the els_config.erl
file consult_config
function, line 126. error type = 2.
I think the information is enough, you can find source code file and read it and find why?
Upvotes: 0