Vincent Zhang
ede1c34716
Fix invalid face for inactive bars.
2019-11-15 05:54:09 +08:00
endoffile78
0198387356
Add support for erc
2019-11-11 23:29:24 -06:00
Vincent Zhang
a80cf92417
Don't enable unicode characters fallback by default.
...
Close #254 .
2019-11-12 01:27:22 +08:00
Vincent Zhang
0553a3f348
Fix #252 : Use new stable API eglot-current-server.
...
See 146108af7a
.
2019-11-11 23:59:20 +08:00
Vincent Zhang
33caf3e1d7
New face: doom-modeline-host.
2019-11-11 21:12:36 +08:00
Vincent Zhang
701271488a
[Enhancement] Formalize mouse faces.
2019-11-07 18:04:14 +08:00
Vincent Zhang
e93660e93f
[Feature] Support evil state icon.
...
New option: doom-modeline-evil-state-icon.
The fallback is the unicode character.
Update evil state faces.
2019-11-06 00:37:41 +08:00
Vincent Zhang
3eeb090405
Fix performace issue in hydra/lv-message.
...
See #183 .
2019-10-31 19:35:11 +08:00
Vincent Zhang
271e840832
Update docs for displaying icons when using server.
...
Close #247 .
2019-10-31 16:49:09 +08:00
Vincent Zhang
a19d82e8cf
Revert to doom-modeline-major-mode-icon and doom-modeline-major-mode-color-icon as suggested.
2019-10-26 00:06:10 +08:00
Vincent Zhang
59b1f7fe24
Remove doom-modeline-color-icons.
2019-10-25 14:24:51 +08:00
Vincent Zhang
b76ff9b5d6
Fix #235 : it's not possible to disable icon colours.
...
Rename doom-modeline-color-icons to doom-modeline-buffer-color-icon.
2019-10-25 05:57:02 +08:00
Vincent Zhang
a3b6432569
Force redisplay to trigger height calculations
...
ertain functions, including e.g. `fit-window-to-buffer', base
their size calculations on values that are incorrect if the
mode-line has a height different from that of the `default' face
and certain other calculations have not yet taken place for the
window in question.
Force a redisplay before `fit-window-to-buffer' using an advice,
like we already did for `resize-temp-buffer-window'.
Close #183 .
Reference:
https://github.com/tarsius/moody/issues/19
https://github.com/magit/transient/issues/63
2019-10-25 02:53:17 +08:00
Vincent Zhang
54fe24786a
[New] Option: doom-modeline-number-limit.
...
The maximum number displayed for notifications.
2019-10-25 01:58:28 +08:00
Vincent Zhang
22b14c9b8e
[NEW] Options: doom-modeline-color-icons & doom-modeline-buffer-icon
...
Deprecate doom-modeline-major-mode-color-icon and doom-modeline-major-mode-icon.
2019-10-24 20:28:26 +08:00
Vincent Zhang
cfb45c8eef
[Feature] Unicode and ASCII fallbacks.
...
Enhance the segments.
Remove doom-modeline-persp-name-icon.
Refactor.
See #218 .
2019-10-23 02:50:04 +08:00
Vincent Zhang
3b956e5d85
Update face: doom-modeline-debug.
2019-10-22 22:26:19 +08:00
Vincent Zhang
f6584d45b3
New option: doom-modeline-project-detection.
...
How to detect the project root.
The default priority of detection is `ffip' > `projectile' > `project'.
nil means to use `default-directory'.
The project management packages have some issues on detecting project root.
e.g. `projectile' doesn't handle symlink folders well, while `project' is unable
to hanle sub-projects.
You can specify one if you encounter the issue.
For more details, refer to #209 .
Close #224 .
2019-10-17 00:14:24 +08:00
Christian Schwarzgruber
a2ff05706d
Inhibit message from ffip-project-root
2019-09-13 22:39:34 +02:00
Vincent Zhang
b117f2e869
Support find-file-in-project.
2019-09-09 17:18:26 +08:00
Vincent Zhang
b433d87f42
[Optimize] Cache window font width.
...
Fix #215 .
2019-08-31 00:05:52 +08:00
Vincent Zhang
442e1ada18
Remove unnecessary icons from the compatible list.
2019-08-21 01:49:01 +08:00
Vincent Zhang
b47fe7b65a
Don't expand symbolic links in path.
...
Fix #51 and #209 .
Root cause: https://github.com/bbatsov/projectile/issues/1387 .
2019-08-20 02:29:03 +08:00
Vincent Zhang
2c01d9eb9e
Fix the width of preview icon.
2019-08-18 19:11:47 +08:00
Vincent Zhang
b2bd730f1e
Change github to GitHub.
2019-08-18 03:56:39 +08:00
Vincent Zhang
a6145d435a
Display minor modes if minions is installed.
2019-08-12 22:48:00 +08:00
Vincent Zhang
59a5d1e8d2
Fix #203 : Add custom faces for the LSP icon.
2019-08-02 00:44:43 +08:00
Vincent Zhang
00ddd1b964
Enhance customizations.
2019-07-20 17:35:03 +08:00
Vincent Zhang
4a4177714f
Refactor face group.
2019-07-19 00:03:52 +08:00
Zhu Zihao
c8d2556483
When if-let*
or when-let*
was defined, don't do alias for it.
...
Some package may alias it (or define a enhance version) before the loading of
`doom-modeline`
Use `eval-and-compile`, allow byte-compiler see through the form, is better than
using `with-no-warnings` to suppress it rigidly.
2019-07-16 05:59:55 +08:00
Vincent Zhang
d66c803d3a
Add customization group: doom-modeline-faces.
2019-07-15 02:34:54 +08:00
Vincent Zhang
10b7e92152
Make variables to customizations.
2019-07-15 01:41:48 +08:00
Vincent Zhang
fed2b288dd
Refactor: use quote instead of unnecessary backquote.
2019-07-13 00:55:05 +08:00
Vincent Zhang
324ab847a2
Align right segments after scaling font of the mode-line.
2019-07-09 01:53:37 +08:00
Vincent Zhang
ce7c1006eb
Improve: calculate font height.
2019-07-08 23:51:54 +08:00
Vincent Zhang
fd52978a97
Improve icons for the persp-name segment.
2019-07-02 14:07:21 +08:00
JustFdot
fe29b82625
Add icon for persp-name segment
2019-07-01 23:23:33 +05:00
Vincent Zhang
1c092cbd17
Optimize doom-modeline--font-height.
2019-07-01 19:47:47 +08:00
Vincent Zhang
68362f248e
Fix: Wrong type argument: number-or-marker-p, unspecified.
2019-07-01 19:42:41 +08:00
Vincent Zhang
2bf802e7f5
Optimize: calculate font height of mode-line.
...
Use face-attribute instead of frame-char-height.
Close #189 .
2019-07-01 18:50:09 +08:00
Vincent Zhang
7d8ec424c8
Change doom-modeline--font-height to function.
...
See @187.
2019-07-01 18:00:41 +08:00
Vincent Zhang
c12ba0edfc
Update font height.
2019-06-25 17:57:40 +08:00
Vincent Zhang
118f7084ff
Revert: Refresh the mode-line forcedly after switching frames.
...
Revert 62f48c062e
.
Close #186 .
2019-06-10 15:41:13 +08:00
Vincent Zhang
62f48c062e
Refresh the mode-line forcedly after switching frames.
2019-06-06 18:21:04 +08:00
Vincent Zhang
94ddb2f68b
Use hooks instead of advices.
2019-06-06 17:28:34 +08:00
Vincent Zhang
59c81a0d81
Fix #180 : Error for TRAMP python in doom-modeline-env.
2019-05-31 22:04:16 +08:00
Vincent Zhang
c5226e4aae
Eliminate compiler warnings.
2019-05-23 16:47:30 +08:00
Vincent Zhang
b2b7e60798
[Optimize] Calculate font height.
...
Not use font-info which is slow and may hang.
Only create xpm images if available on GUI.
Close #176 .
2019-05-23 16:35:15 +08:00
Vincent Zhang
e7ebb24208
Remove obsolete variable: doom-modeline-version.
2019-05-22 15:36:40 +08:00
Vincent Zhang
0076029ac6
Rename: doom-modeline-whitespace -> doom-modeline-spc.
2019-05-22 15:15:48 +08:00