[discuss] place runtime folder in ~/.local/helix
or ~/.cache/helix
instead of ~/.config/helix
#4498
Labels
~/.local/helix
or ~/.cache/helix
instead of ~/.config/helix
#4498
My
~/.config
in under git control, I have to configure.gitignore
to avoid upload/download tree-sitter sources and*.so
.I think the more reasonale approach is
config.toml
languages.toml
inside~/.config/helix
~/.local/helix
and one more step, for one who need to workspace-level customize (for example: tree-sitter grammar developer)
we can config addtional runtime path in
$workspace/.helix/config
finally behaviour:
helix merge
config.toml
&languages.toml
in the following order:$workspace/.helix/
~/.config/helix/
/etc/helix/
/usr/local/helix/
and lookup runtime files in the following order:
additional-runtime-path
in mergedconfig.toml
~/.local/helix/runtime/
/usr/local/helix/runtime/
alternative: use
.cache
instead.local
reason:
runtime
somehow could be seen as a build-cache oflanguages.toml
The text was updated successfully, but these errors were encountered: