Support loading configuration from .config/helix in project directory #15070
+16
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In addition to
<project>/.helix, also try to load configuration from<project>/.config/helix.This is not ready to merge, some pending discussions/choices:
config.tomlor aignore?, E.g.,.helix/config.tomland.config/helix/config.tomlconfig.tomlis present in one andignorein the other? E.g.,.helix/config.tomland.config/helix/ignore.I like using the
.configdirectory with the tools that currently support it to avoid having lots of dotfiles in the repo root, but this is not (yet?) widespread.Would this be something you would be willing to support? I'm not particularly experienced with rust but I'd be interested in giving an implementation a shot pending answers to the above questions.