Commit graph

221 commits

Author SHA1 Message Date
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
JustFdot
fe29b82625 Add icon for persp-name segment 2019-07-01 23:23:33 +05:00
Vincent Zhang
ee4619d367 Optimize lsp segment. 2019-06-29 01:21:43 +08:00
Vincent Zhang
24d30ccc1e Format codes. 2019-06-27 17:42:31 +08:00
Vincent Zhang
4befbbbdce Fix: Wrong number of arguments in info-nodes segment. 2019-06-27 03:48:10 +08:00
Vincent Zhang
2360bd543c Ignore unhandled errors in after-change-functions.
Close #184.

If an unhandled error happens in running these functions,
the variable’s value remains nil.  That prevents the error
from happening repeatedly and making Emacs nonfunctional.
2019-06-26 23:12:14 +08:00
Vincent Zhang
944148526f Revert "Make after-change-functions to buffer-local hook."
This reverts commit bafe20a171.
2019-06-26 22:55:46 +08:00
Vincent Zhang
bafe20a171 Make after-change-functions to buffer-local hook.
Close #184.

If an unhandled error happens in running these functions,
the variable’s value remains nil.  That prevents the error
from happening repeatedly and making Emacs nonfunctional.
2019-06-26 17:27:13 +08:00
Vincent Zhang
e470ca8622 Optimize debug segment. 2019-06-24 14:22:07 +08:00
Vincent Zhang
d179593c7a Bump version to 2.3.5. 2019-06-24 14:17:12 +08:00
Vincent Zhang
7a29c27b55 Refactor debug segment. 2019-06-24 14:13:08 +08:00
Vincent Zhang
34b23b3e25 Optimize debug segment. 2019-06-23 23:48:24 +08:00
Vincent Zhang
1a77ba0690 Improve: update lsp status. 2019-06-14 16:27:26 +08:00
Vincent Zhang
3ab88cb57c Make lsp state as buffer local. 2019-06-14 00:52:18 +08:00
Vincent Zhang
6293c63924 Fix #185: doom-modeline breaks query-replace. 2019-06-10 16:03:48 +08:00
Vincent Zhang
28ca62c735 Update the matches segment.
The args of symbol-overlay-get-symbol are changed in e40a7c407f.
2019-06-08 18:49:20 +08:00
Vincent Zhang
62f48c062e Refresh the mode-line forcedly after switching frames. 2019-06-06 18:21:04 +08:00
Vincent Zhang
ae0ecddd31 Fix: sometimes the persp name is not updated. e.g. other-window. 2019-06-06 17:11:26 +08:00
Vincent Zhang
33284e5d9a Enable and disable colorful major icons.
Close #182.
2019-06-04 22:58:24 +08:00
Vincent Zhang
b0e61befc9 Remove unused codes. 2019-05-30 13:55:11 +08:00
Vincent Zhang
f524bbc622 Fix #178: "Error during redisplay" when org agenda mode is enabled. 2019-05-29 13:39:56 +08:00
Vincent Zhang
64631d103a Refactor. 2019-05-27 00:25:08 +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
9c692eea2c Use window-configuration-change-hook instead of the advice. 2019-05-22 23:42:59 +08:00
Vincent Zhang
376e6fb54a Update the icon of timemachine. 2019-05-22 23:31:28 +08:00
Vincent Zhang
0076029ac6 Rename: doom-modeline-whitespace -> doom-modeline-spc. 2019-05-22 15:15:48 +08:00
Vincent Zhang
dc6dd9ceb1 Use lsp-workspace-folders-open instead of lsp-workspace-folders-switch.
‘lsp-workspace-folders-switch’ is obsolete in lsp-mode 6.1.
2019-05-22 14:11:41 +08:00
Vincent Zhang
51813336e9 Improve checker text. 2019-05-22 13:59:03 +08:00
Vincent Zhang
617b77a07a Don't show numbers while the check is running. And refactor checker. 2019-05-21 22:23:49 +08:00
Vincent Zhang
0a3ba66da7 Show correct buffer name in ivy-occur buffers. 2019-05-21 21:21:02 +08:00
Vincent Zhang
58c05c5834 Refactor. 2019-05-21 14:40:35 +08:00
Vincent Zhang
825c2bed71 Calculate the actual char height of the mode-line.
doom-modeline-height is the minimal height of mode-line. It respects the actual
char height.
2019-05-21 14:35:01 +08:00
Vincent Zhang
4d99a5f11b Optimize: Make bar look better for big fonts. 2019-05-20 23:17:07 +08:00
Vincent Zhang
ea9c02134c Remove unused spaces while lsp is not enabled. 2019-05-19 23:04:34 +08:00
Vincent Zhang
46338a560d [Feature] timemachine mode-line for git-timemachine-mode. 2019-05-19 23:04:03 +08:00
Vincent Zhang
3167beda51 Fix #175: change "RLF" to "CRLF". 2019-05-19 19:02:27 +08:00
Vincent Zhang
ec4e6b932e [Feature] overwrite-mode indicator.
Close #174.
2019-05-19 04:09:36 +08:00
Vincent Zhang
230ffe8efc Fix #173: Vertical separators showing up when modeline is inactive. 2019-05-19 03:45:04 +08:00
Vincent Zhang
81b91ae666 Add one more space in checker if vc-mode is nil. 2019-05-17 01:59:06 +08:00
Vincent Zhang
613a9ae4cc Remove one space before checker. 2019-05-17 01:57:48 +08:00