Commit graph

105 commits

Author SHA1 Message Date
Vincent Zhang
748824e692 [Optimize] Improve the performance of fancy-battery segment. 2019-03-22 01:52:25 +08:00
Vincent Zhang
3b704ee080 Fix #149: hang while changing `doom-modeline-icon' from nil to t.
Don't delay load all-the-icons for this case:
  Load Emacs daemon and enable doom-modeline-icon in Emacs clients.
2019-03-17 22:21:50 +07:00
Vincent Zhang
48bf1f26b7 Update the icons of all buffers while changing doom-modeline-icon.
Otherwise, the icons in inactive windows may not be displayed correctly.
2019-03-17 17:54:01 +07:00
Vincent Zhang
d3bebe6b2e Improve DAP indicator. 2019-03-17 00:01:02 +07:00
Vincent Zhang
2213a238df [Feature] Support dap-mode in debug indicator. 2019-03-16 23:44:32 +07:00
Vincent Zhang
547d479c6d Rename function: doom-modeline-update-vcs-icon. 2019-03-16 18:46:57 +07:00
Vincent Zhang
88459ee106 Fix #149: (setq doom-modeline-icon 1) fails and hangs emacs daemon. 2019-03-16 17:41:11 +07:00
Vincent Zhang
04ed6ec68f [Enhancement] Support edebug/edebug-x in debug indicator. 2019-03-16 02:50:22 +07:00
Vincent Zhang
b29e5a85e9 Fix: conflict with lsp-on-revert/lsp-on-change.
Don't advice doom-modeline-set-selected-window (also bad performance).
And updating the buffer-file-name after selecting window in focus-in-hook (so
append it to the hook, after doom-modeline-set-selected-window).
See #133 and #114#issuecomment-469060334.
2019-03-16 01:20:31 +07:00
Vincent Zhang
fb8220d47e Add more variable watchers for all-the-icons-scale-factor. 2019-03-14 16:12:11 +07:00
Vincent Zhang
7aa92a7a43 Fix #147: Buffer does not seem to be associated with any file.
Introduced by 605c5615c1.
2019-03-14 16:00:03 +07:00
Vincent Zhang
2b0f9ea1df Refactor doom-modeline--symbol-overlay. 2019-03-14 00:19:42 +07:00
Vincent Zhang
34cc69a8df Ignore user errors in symbol-overlay sub-segment. 2019-03-14 00:15:24 +07:00
Vincent Zhang
92f99bbd96 Silence warnings. 2019-03-13 15:31:17 +07:00
Vincent Zhang
72b4ea3741 Improve persp segment. 2019-03-12 23:26:03 +07:00
Vincent Zhang
605c5615c1 Simplify the variable watchers. 2019-03-12 21:16:34 +07:00
Vincent Zhang
43d0956960 Improve macro segment. 2019-03-12 21:08:06 +07:00
Vincent Zhang
0a38a65d39 Improve multiple-cursor segment. 2019-03-12 20:03:07 +07:00
Vincent Zhang
5985a573f1 Improve LSP segment. 2019-03-12 17:50:18 +07:00
Vincent Zhang
292f7bd238 Optimize performance of lsp indicator. 2019-03-12 00:59:28 +07:00
Vincent Zhang
550f849b81 [Enhancement] Improve lsp indicator for lsp-mode. 2019-03-12 00:51:37 +07:00
Vincent Zhang
ebbdbed858 [Feature] Support eglot state in LSP indicator. 2019-03-12 00:49:30 +07:00
Vincent Zhang
5dc0b5e7cd Improve faces of multiple-cursors and silence warnings. 2019-03-11 15:38:06 +07:00
Vincent Zhang
dc83e6a4c3 Fix incorrect faces of "%" in global-mode-string.
See https://github.com/seagle0128/doom-modeline/issues/121#issuecomment-471335250.
2019-03-11 15:36:29 +07:00
Vincent Zhang
b3e1dacbee [Compatibility] Fix incorrect file state with popup. 2019-03-11 00:22:13 +07:00
Vincent Zhang
a496a3d84e
Merge pull request #144 from netromdk/mc-matches
Show number of multiple cursors correctly
2019-03-10 22:18:00 +07:00
Morten Kristensen
a30a3b354a
Don't use inactive face for active mc matches context 2019-03-10 14:20:37 +01:00
Morten Kristensen
dc57152514
Show number of multiple cursors correctly
Before this change nothing was shown in the "matches" section of the modeline.
2019-03-10 13:08:20 +01:00
Vincent Zhang
84a0aac09b [Feature] Show state icons for fancy-narrow. 2019-03-09 02:41:20 +07:00
Vincent Zhang
f5a6fd9d42 Fix #141: All the icons icon misalignment when increasing icon scale. 2019-03-09 02:32:27 +07:00
Vincent Zhang
cc29f43045 Optimize performance.
See #139.
2019-03-08 15:23:59 +07:00
Vincent Zhang
a35a403c99 Show correct buffer faces. 2019-03-07 23:50:04 +07:00
Vincent Zhang
f4582bcbe3 Fix #139: doom-modeline showing buffer is modified when it's not. 2019-03-07 22:57:53 +07: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
Vincent Zhang
df2397bcc5 Refactor persp segment and silence warnings. 2019-03-07 14:16:13 +07:00
Henrik Lissner
ac8bcc2551
Add evil-mc support to multiple-cursors segment 2019-03-06 23:18:30 -05:00
Vincent Zhang
52f46c1baf Use buffer-list-update-hook instead of advising select-window.
Follow #135.
2019-03-07 04:11:05 +07:00
Vincent Zhang
23b9ffb762 Not support variable-pitch since it breaks icons. 2019-03-07 04:04:03 +07:00
Vincent Zhang
5c926b81de Fix #133: buffer-info loses face after frame focus.
Also see #114.
2019-03-05 15:19:33 +07:00
Vincent Zhang
8e0ed6239b Update buffer file name in evil.
See https://github.com/seagle0128/doom-modeline/issues/129#issuecomment-469327822.
2019-03-05 00:02:09 +07:00
Vincent Zhang
c69ec1e5c5 Fix incorrect faces of buffer file name.
See https://github.com/seagle0128/doom-modeline/issues/114#issuecomment-469060334.
2019-03-04 23:38:33 +07:00
Vincent Zhang
de4c631252 Improve icons for terminal mode. 2019-03-04 21:15:28 +07:00
Vincent Zhang
93d335a54f Fix incorrect help-echo of file icons in org-agenda. 2019-03-04 16:58:24 +07:00
Vincent Zhang
67c352def1 Override u4e-alert-modeline after enabling doom-modeline.
See #130.
2019-03-04 14:15:52 +07:00
yqrashawn
66779bcb17 Revert "fix mu4e-alert-mode-line numberp error"
This reverts commit b29ce18e68.
2019-03-04 11:31:51 +08:00
yqrashawn
b29ce18e68 fix mu4e-alert-mode-line numberp error 2019-03-04 09:45:20 +08:00
Vincent Zhang
d46b5434f2 Fix: invalid faces. 2019-03-04 02:23:33 +07:00
Vincent Zhang
ab7f854d89 Fix invalid mouse-face in inactive windows. 2019-03-04 01:43:53 +07:00
Vincent Zhang
9c283f50bd Fix: invalid icons after setting modeline fonts. 2019-03-04 00:53:20 +07:00
Vincent Zhang
b1b51de36a Update battery thresholds. 2019-03-02 01:06:47 +07:00