Commit graph

28 commits

Author SHA1 Message Date
Vincent Zhang
a62a95d49a Update comments and page breaks. 2021-05-13 22:26:04 +08:00
Vincent Zhang
0531669f59 Format and eliminate warnings. 2021-05-13 22:09:27 +08:00
Naofumi Yasufuku
12f1ab19b9
Fix doom-modeline-env command to display python version under pipenv (#436)
This reverts "pipenv run <python> --version" command generation code
removed by #391 patch.
2021-05-02 00:28:01 +08:00
Bruno Heridet
669cac3839
fix: typos in comments and docstrings (#429) 2021-03-30 23:22:24 +08:00
Vincent Zhang
5032c7acf0 Format codes. 2020-12-13 02:23:29 +08:00
Wang Kai
c1475ba6ae
Add pyenv version-name (#391)
see: #109
2020-12-13 02:21:06 +08:00
Vincent Zhang
38400801d2 Update copyright. 2020-01-18 00:13:25 +08:00
Vincent Zhang
5c715d9d78 Update docs. 2019-11-18 00:01:27 +08:00
Jake Romer
983f1ae381
Introduce doom-modeline-display-default-perspective-name
Adds a customizable option to toggle displaying the default perspective's name
on the modeline. Updates `doom-modeline-update-persp-name` to respect it.
2019-11-17 10:06:33 -05:00
Henrik Lissner
d149cbc8bb
Evaluate docstrings in doom-modeline-def-env 2019-10-12 23:41:41 -04:00
Vincent Zhang
00ddd1b964 Enhance customizations. 2019-07-20 17:35:03 +08:00
Vincent Zhang
bdbf45e690 Make enable-var and exc-var to customizations in doom-modeline-def-env. 2019-07-15 03:18:59 +08:00
Vincent Zhang
bb3f24c375 Update the customization group doom-modeline-env. 2019-07-15 03:02:51 +08:00
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)