How to conditionally include a config file? #8317
-
How to conditionally include a config file? Is it feasible? eg, in
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can pass |
Beta Was this translation helpful? Give feedback.
-
That's nice to know, thank you, but it does not solve my problem. Rather, like I want to enable similar functionality to vim. Here's an example
I'd also like to be able to check conditions like shell-environment variables to determine which config files to include/source/load. Like this (imagine this as
|
Beta Was this translation helpful? Give feedback.
This won't be possible with the toml config. Once we have a plugin system something like.that will.be possible until then you will habe to use tricks like symlinking a different config file or per project configuration (.helix/config.toml in workspace root)