Commit graph

461 commits

Author SHA1 Message Date
Vincent Zhang
2cf48d76ae Fix #246: Incompatible with (setq vc-display-status nil). 2019-10-31 16:57:48 +08:00
Vincent Zhang
280efe94c6 Update encoding segment. 2019-10-30 01:41:37 +08:00
Vincent Zhang
f29b943e20 Fix typo. 2019-10-30 01:31:28 +08:00
Vincent Zhang
b08a8138cf Fix incorrect face of special buffers. 2019-10-29 21:01:45 +08:00
Vincent Zhang
2f3df816c2 Don't display buffer modification state in pure buffers. 2019-10-29 20:33:26 +08:00
Vincent Zhang
60ef755ef2 Fix #244: infinite recursion when opening file via "/ssh:host|sudo:host:".
The advice of generate-new-buffer causes the issue.
Remove it and don't check buffer-file-name for buffer modification state.
2019-10-29 17:36:37 +08:00
Vincent Zhang
3789a96ae0 Change the face of debug icon. 2019-10-29 02:38:40 +08:00
Muir Manders
0443a65d97 Fix double space after "checker" segment.
If there is no checker text (i.e. no errors), you were ending up with
two spaces after the checker icon. Fix by moving the second space into
the "text" conditional.
2019-10-27 11:36:39 -07:00
Vincent Zhang
79c705019a Fix: (wrong-type-argument stringp nil). 2019-10-27 16:21:47 +08:00
Vincent Zhang
b2c0012252 [Feature] EOL (End Of Line) cycle.
Close #240.
2019-10-27 03:31:15 +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
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
c4e6e3d834 Eliminate warnings. 2019-10-25 04:35:49 +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
93135d4220 [Feature] Use built-in battery instead of unmaintained fancy-battery.
See 9b88ae77a0.
2019-10-25 01:28:57 +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
8f756cf390 Fix #234: Symbol’s value as variable is void: fancy-battery-last-status. 2019-10-23 13:31:55 +08:00
Vincent Zhang
4a58b8d6b1 Update vcs icon. 2019-10-23 03:15:18 +08:00
Vincent Zhang
8bdd0cd2ee Update the icon of git-timemachine. 2019-10-23 03:07:51 +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
Amos Bird
0f885d6fcd
inhibit bogus cursor jump. 2019-10-19 02:55:51 +08:00
Vincent Zhang
e9cd72fd2a Refactor. 2019-10-13 20:48:14 +08:00
Vincent Zhang
bed3d38f0e Fix #227: Buffer is shown modified although fill-paragraph does nothing. 2019-10-03 04:39:06 +08:00
Vincent Zhang
2690aa2789 Eliminate warnings. 2019-09-18 23:10:11 +08:00
Vincent Zhang
efd2f3ac4c Fix #221: update file state icon after org-toggle-narrow-to-subtree. 2019-09-18 17:38:06 +08:00
Vincent Zhang
2553e8cf06 Update buffer state icon after generating a new buffer. 2019-09-05 04:07:29 +08:00
Vincent Zhang
c97e06454b Only change the face of buffer files. 2019-09-05 03:30:43 +08:00
Vincent Zhang
5b523bef65 Bump version to 2.6.0. 2019-09-02 17:18:51 +08:00
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
ksqsf
f580ef89b6 Refresh buffer status after `not-modified' 2019-08-29 19:16:54 +08:00
Vincent Zhang
c4a77d12c3 Improve grip indicator. 2019-08-18 23:19:25 +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
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
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
fc7cf85f1c Fix #195: Invalid face reference in persp-name. 2019-07-16 00:39:05 +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
fd52978a97 Improve icons for the persp-name segment. 2019-07-02 14:07:21 +08:00