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

Provide elvis_path option #850

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

define-null
Copy link
Contributor

Added option for configuring elvis config path

@@ -99,6 +100,7 @@ do_initialize(RootUri, Capabilities, {ConfigPath, Config}) ->
CodeReload = maps:get("code_reload", Config, disabled),
Runtime = maps:get("runtime", Config, #{}),
CtRunTest = maps:get("ct-run-test", Config, #{}),
ElvisPath = maps:get("elvis_path", Config, undefined),
Copy link
Member

Choose a reason for hiding this comment

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

This maybe interpreted as the path to the elvis executable/escript. Would elvis_config_path be a more precise name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, fixed.

@robertoaloi robertoaloi merged commit 9a41d0e into erlang-ls:master Jan 8, 2021
@robertoaloi
Copy link
Member

Thanks!

@define-null define-null deleted the defnull/elvis_path branch January 8, 2021 13:05
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