-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the default erlang format for erlang_ls.config #1083
base: main
Are you sure you want to change the base?
Conversation
@maxno-kivra Any concerns with this? |
Hi @sirikid and thanks for your contribution! I am happy to support Erlang terms as a possible format (that would also make it easier to produce diagnostics for the configuration itself), but I believe we should keep this change backward compatible, at least for now. What do you think about trying to parse the config in both ways (Erlang, YAML) before giving up? Something like
An option is to call it something like |
Sure, we can also emit a warning if erlang_ls.config is written in YAML. I will update the PR.
I would like to keep it |
I was thinking about breaking existing configs. As long as the users doesn't notice this change, why not. But if it means I'm forced to update all my config files I wouldn't be very happy. I also would like to keep support for YAML. Partly the same reason as above, don't force the user to make an arbitrary change. But also because many other tools use YAML and I like the consistency with those. (Although YAML as a format is not great, I give you that.) |
1dd433e
to
91e64fc
Compare
@robertoaloi ping |
Subj.