Closed matthewbauer closed 3 years ago
Hey, thanks for this! I took a different route in the end, for a little more flexibility: https://github.com/purcell/envrc/pull/21/commits/17b8d6fc71e9fcd1673ce2b74a67a4be3084e757
In short, for your use case you should be able to (setq envrc-none-lighter nil)
now.
This only includes the lighter when envrc is actually active. This behavior can be turned on by setting envrc-hide-lighter-on-none. The benefit is to avoid littering the mode line.