Commit graph

873 commits

Author SHA1 Message Date
Vincent Zhang
19b79ffc6a [Optimize] just update the face of the buffer name in `after-change-functions'.
`doom-modeline--buffer-file-name' may consume lots fof CPU if it's called too frequently.

Refer to https://github.com/seagle0128/doom-modeline/issues/32#issuecomment-525838909.
2019-09-02 17:16:45 +08:00
Vincent Zhang
2a6e2e1dc0
Merge pull request #217 from ksqsf/master
Refresh buffer status after `not-modified`
2019-09-02 03:32:54 -05:00
Vincent Zhang
b433d87f42 [Optimize] Cache window font width.
Fix #215.
2019-08-31 00:05:52 +08:00
ksqsf
f580ef89b6 Refresh buffer status after `not-modified' 2019-08-29 19:16:54 +08:00
Vincent Zhang
47a9538197 Update FAQ. 2019-08-29 16:36:38 +08:00
Vincent Zhang
506fd05ece Add the table of contents in README. 2019-08-23 01:30:35 +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
c4a77d12c3 Improve grip indicator. 2019-08-18 23:19:25 +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
572d19f194 Enhance grip segment. 2019-08-18 00:40:07 +08:00
Vincent Zhang
0186ce9de9 [Feature] New indicator for markdown/org preview with grip. 2019-08-16 22:56:29 +08:00
Vincent Zhang
a6145d435a Display minor modes if minions is installed. 2019-08-12 22:48:00 +08:00
Vincent Zhang
777390f00b Display correct buffer state after saving org src block. 2019-08-08 23:12:40 +08:00
Vincent Zhang
56464b146e Fix #206: Don't display overwrite state when evil-mode is enabled. 2019-08-07 21:03:58 +08:00
Vincent Zhang
eb3258b503 Bump version to 2.5.0. 2019-08-05 00:29:50 +08:00
Vincent Zhang
fd7b2dbe45 Refactor. 2019-08-03 14:42:12 +08:00
Vincent Zhang
cf9bfe34a5 Fix #202: Be compatible with delight. 2019-08-03 14:38:10 +08:00
Vincent Zhang
ada38ab4d8 Fix lsp icon face. 2019-08-02 02:02:43 +08:00
Vincent Zhang
db49f49dc6 Fix #202: Be compatible with delight.
Don't use format-mode-line for mode-name since delight advices it.
2019-08-02 01:11: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
6ecda37e45 Remove the advice of fill-paragraph.
Close #201.
2019-07-26 23:21:10 +08:00
Vincent Zhang
7c318f0708 Optimize: faster to render icons. 2019-07-25 03:47:13 +08:00
Vincent Zhang
1834cf687d Fix #200: Helm mode line is mixedly active/inactive when previewing a line. 2019-07-25 03:24:58 +08:00
Vincent Zhang
e2e8c1c422 Rename doom-modeline--default-mode-line to doom-modeline--old-format. 2019-07-23 02:27:00 +08:00
Vincent Zhang
9e116eadc0 Update link in README. 2019-07-21 17:30:08 +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
Vincent Zhang
01cff7701b Revert "Improve git-timemachine segment."
This reverts commit 5e23b0cb34.
2019-07-18 20:05:30 +08:00
Vincent Zhang
5e23b0cb34 Improve git-timemachine segment. 2019-07-18 19:53:55 +08:00
Vincent Zhang
49057a1cfa
Merge pull request #197 from cireu/improve/smart-alias
When `if-let*` or `when-let*` was defined, don't do alias for it.
2019-07-17 01:41:47 -05: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
fc7cf85f1c Fix #195: Invalid face reference in persp-name. 2019-07-16 00:39:05 +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
d66c803d3a Add customization group: doom-modeline-faces. 2019-07-15 02:34:54 +08:00
Vincent Zhang
ce874ebc1d Add customization group: doom-modeline-env. 2019-07-15 02:34:34 +08:00
Vincent Zhang
7541c31846 Bump version to 2.4.0. 2019-07-15 01:42:40 +08:00
Vincent Zhang
10b7e92152 Make variables to customizations. 2019-07-15 01:41:48 +08:00
Vincent Zhang
015b692d2b Don't display debug icon after the debug session is terminated. 2019-07-13 01:52:22 +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
02e50cfb60 Bump version to 2.3.8. 2019-07-07 13:53:29 +08:00
Vincent Zhang
6b8d4c9719 Update README. 2019-07-07 13:46:05 +08:00
Vincent Zhang
fd52978a97 Improve icons for the persp-name segment. 2019-07-02 14:07:21 +08:00
Vincent Zhang
24fd535a69
Merge pull request #190 from justfdot/master
Add icon for persp-name segment
2019-07-02 13:34:09 +08:00
JustFdot
fe29b82625 Add icon for persp-name segment 2019-07-01 23:23:33 +05:00