Commit graph

118 commits

Author SHA1 Message Date
Vincent Zhang
c5b5a4d2d2 Fix #154: shorten branch name of vcs segment. 2019-04-06 15:12:11 +08:00
Vincent Zhang
eb5685a2b9 Silence warnings. 2019-04-04 01:04:09 +08:00
Vincent Zhang
64f1cf5de1 Fix invalid sate icon in org-narrow.
narrow-to-region doesn't work in org-narrow-to-subtree, org-narrow-to-block,
org-narrow-to-element. Don't know the root cause.
2019-04-02 00:24:48 +08:00
Vincent Zhang
78f4ee0b8c Adjust faces of debug icons. 2019-04-01 18:33:28 +08:00
Vincent Zhang
5cb7c2ddfb Change buffer icon for unknown type. 2019-03-28 23:24:56 +08:00
Vincent Zhang
99a0bd9f12 Monitor buffer-read-only for all operations. 2019-03-28 16:25:35 +08:00
Vincent Zhang
262e42109c Fix for run hooks with args in lsp indicator. 2019-03-23 14:02:29 +08:00
Vincent Zhang
7b9a1e5dd6 Update hooks for lsp indicator.
See https://github.com/emacs-lsp/lsp-mode/issues/726.
2019-03-23 01:49:20 +08:00
Vincent Zhang
5774186d18 [Enhancement] Improve lsp indicator. 2019-03-22 22:40:08 +08:00
Vincent Zhang
aebaa760c6 [Performance] Optimize lsp/eglot indicators. 2019-03-22 03:00:45 +08:00
Vincent Zhang
77ac0984eb [Performance] Improve performance of buffer-info segment.
Do not update every time for icons.
2019-03-22 02:46:13 +08:00
Vincent Zhang
67cc091716 Update 5 min later after opening github notifications page. 2019-03-22 02:27:01 +08:00
Vincent Zhang
80d0d40a34 [Performance] Improve the performance of pdf-pages segment. 2019-03-22 02:19:55 +08:00
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