Skip to content
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

[#27] Provide option for configuration file location #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alanz
Copy link
Contributor

@alanz alanz commented Feb 19, 2020

To match the change brought in for
erlang-ls/erlang_ls#440
via erlang-ls/erlang_ls#445

@alanz alanz requested a review from robertoaloi February 28, 2020 14:44
@@ -55,6 +55,11 @@
"description":
"Override the default path of the erlang_ls executable with a custom one."
},
"erlang_ls.config.path": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the other names for the configuration values are using camelCase for the names, shouldn't we keep it that way for this configuration as well?

},
initializationOptions: {
erlang: {
config_path: workspace.getConfiguration('erlang_ls').get('config.path'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use camelCase for configPath this could be workspace.getConfiguration('erlang_ls').configPath, instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants