Commit graph

851 commits

Author SHA1 Message Date
Vincent Zhang
62f48c062e Refresh the mode-line forcedly after switching frames. 2019-06-06 18:21:04 +08:00
Vincent Zhang
94ddb2f68b Use hooks instead of advices. 2019-06-06 17:28:34 +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
5e8b134b5b Update README. 2019-06-06 01:33:42 +08:00
Vincent Zhang
33284e5d9a Enable and disable colorful major icons.
Close #182.
2019-06-04 22:58:24 +08:00
Vincent Zhang
59c81a0d81 Fix #180: Error for TRAMP python in doom-modeline-env. 2019-05-31 22:04:16 +08:00
Vincent Zhang
97dba610f8 Fix #180: Error for TRAMP python in doom-modeline-env.
Check if the env command exists.
2019-05-31 13:47:08 +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
839f94e889 Update minimal and special mode-line. 2019-05-23 03:54:06 +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
e7ebb24208 Remove obsolete variable: doom-modeline-version. 2019-05-22 15:36:40 +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
d306c3f0d3 Bump version to 2.3.1. 2019-05-20 23:18:18 +08:00
Vincent Zhang
4d99a5f11b Optimize: Make bar look better for big fonts. 2019-05-20 23:17:07 +08:00
Vincent Zhang
798c8687cd Update docs and bump version to 2.3.0. 2019-05-20 01:52:51 +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
a783f9c68e Use project mode-line in dired-mode. 2019-05-19 15:59:13 +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
66029d4590 Update README. 2019-05-18 21:03:09 +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
Vincent Zhang
30383defe0 Try to use whitespace. 2019-05-17 01:56:09 +08:00
Vincent Zhang
d09943534c Bump version to 2.2.1. 2019-05-16 23:32:27 +08:00
Vincent Zhang
c300c80260 Refactor vspc and whitespace. 2019-05-16 23:31:52 +08:00
Vincent Zhang
b50388cc61
Merge pull request #169 from vjoki/various-fixes
Various fixes
2019-05-16 10:07:48 -05:00
vjoki
caf3a3b770
Various fixes
1. Make helm icon color consistent with major-mode icon.
2. Attempt to fix missing colors.
   Prevent mode-line face from overriding properties that resulted in lack of colors in checker, lsp, vcs, and buffer-info segments. It's possible that there are still more instances of these.
   This is just a quick fix, there should be a better way to do this.
3. Reduce checker jumpiness/flicker by retaining the existing text while the checker is running.
4. Refactor segment whitespace.
   Attempt at fixing most of the cases of whitespace with no inactive properties.
   Occurs for example when activating helm M-x.
2019-05-15 14:01:13 +03:00
Vincent Zhang
1c5520de94 Fix #172: invalid format argument order in flymake. 2019-05-15 18:26:24 +08:00
Vincent Zhang
450aca5fbd
Merge pull request #170 from codesuki/patch-1
fix: invalid face reference: mode-line-inactives
2019-05-14 21:06:14 -05:00
Neri Marschik
b43bbbffba
fix: invalid face reference: mode-line-inactives 2019-05-15 07:34:52 +09:00
Vincent Zhang
4a694ece9b Improve LSP segment. 2019-05-14 03:54:48 +08:00
Vincent Zhang
6f54eb240e Update README. 2019-05-14 02:15:57 +08:00
Vincent Zhang
d092d9b182 Bump version to 2.2.0. 2019-05-14 02:13:12 +08:00
Vincent Zhang
356e8d670a [Feature] options: doom-modeline-buffer-encoding and doom-modeline-indent-info. 2019-05-14 02:12:36 +08:00
Vincent Zhang
edd97bb2a0 [Feature] indent-info segment. 2019-05-14 02:08:37 +08:00
Vincent Zhang
23c9278704 Add one space for the LSP indicator. 2019-05-14 01:56:22 +08:00
Vincent Zhang
8e16fc8380 Fix: void variables error in Emacs 25 with terminal. 2019-05-14 01:19:48 +08:00