Commit graph

7 commits

Author SHA1 Message Date
Henrik Lissner
a73cc3d112
Rewrite env system
+ Initializes the modeline segment on hack-local-variables-hook, which
  is triggered as late as possible in the major mode activation process,
  when file/dir-local variables have been processed. This allows users
  to exploit file/dir-local variables to modify the behavior of this
  mode-line segment.
+ Add doom-modeline-{before,after}-update-env-hook hooks. Useful for
  injecting environment detection for things like conda and virtualenv.
+ Add customizable executable variables for each language. e.g.
  doom-modeline-env-python-executable
+ Simplify language env definition into a macro.
+ Replaces the version string with "..." while we wait for a new one.
+ Add support for enh-ruby-mode.
2019-03-06 21:04:31 -05:00
Vincent Zhang
81635fdf36 Rename doom-modeline-version to doom-modeline-env-version. 2019-02-18 18:57:16 +08:00
Vincent Zhang
9e5b048f1f Update comments. 2019-01-27 18:30:25 +08:00
Vincent Zhang
fe1a703161 Refactor: split one file to core and segments. 2019-01-17 23:46:29 +08:00
Vincent Zhang
c7cfa51f29 Ignore errors while parsing env versions. 2019-01-14 02:05:29 +08:00
Vincent Zhang
63875f89b0 Don't create the process buffer while parsing env version. 2019-01-14 01:51:19 +08:00
Vincent Zhang
ea93d636f9 Refactor: rename doom-version-parser to doom-modeline-env. 2019-01-14 00:48:54 +08:00
Renamed from doom-version-parser.el (Browse further)