Commit graph

15 commits

Author SHA1 Message Date
Vincent Zhang
165c864d46 Update customization examples in README. 2019-07-15 02:46:14 +08:00
Vincent Zhang
ce874ebc1d Add customization group: doom-modeline-env. 2019-07-15 02:34:34 +08:00
Vincent Zhang
24d30ccc1e Format codes. 2019-06-27 17:42:31 +08:00
Vincent Zhang
97dba610f8 Fix #180: Error for TRAMP python in doom-modeline-env.
Check if the env command exists.
2019-05-31 13:47:08 +08:00
Henrik Lissner
3d467b7a70
No-op if env executable doesn't exist 2019-03-12 16:20:30 -04:00
Vincent Zhang
729e61a386 Fix: invalid symbol-overlay segment.
The API symbol-overlay-get-list was changed in ad77d6cd1e.
2019-03-07 15:19:54 +07:00
Henrik Lissner
13197b6c9b
Restore missing parse function line argument 2019-03-06 23:28:03 -05:00
Henrik Lissner
d7d006d91f
Remove reference to non-existent function 2019-03-06 23:25:33 -05:00
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)