Vincent Zhang
36e081f912
Revert "Load hooks for anzu--reset-status immediately."
...
This reverts commit 752bb05e73
.
2018-11-27 23:09:30 +08:00
Vincent Zhang
752bb05e73
Load hooks for anzu--reset-status immediately.
2018-11-27 23:02:48 +08:00
Vincent Zhang
01db5c1040
Fix compiler warnings.
2018-11-27 22:54:35 +08:00
Vincent Zhang
78b2e196f6
Fix #51 : add FAQ in README.
2018-11-27 21:51:15 +08:00
Vincent Zhang
58eb5c3b55
Don't show state icon in inactive windows.
2018-11-27 18:13:13 +08:00
Vincent Zhang
6c941d824c
Only check uniquify-buffer-name-style is nil or post-forward-angle-brackets.
2018-11-27 16:57:22 +08:00
Vincent Zhang
88a10968d1
Only show buffer names in inactive windows.
2018-11-27 05:54:36 +08:00
Vincent Zhang
e729389ab8
Fix #44 again.
2018-11-27 02:39:54 +08:00
Vincent Zhang
94b1aa2629
Enable major mode icons by default.
...
Already addressed the performance issue.
Should ensure `all-the-icons` is installed correctly.
2018-11-26 23:53:31 +08:00
Vincent Zhang
8e02bf5f58
Disable icons in terminal by default.
2018-11-26 23:01:03 +08:00
Vincent Zhang
8aeb80f32d
Change faces of flycheck icons.
2018-11-26 14:09:22 +08:00
Vincent Zhang
bba86db87f
Change icons position.
2018-11-26 14:06:44 +08:00
Vincent Zhang
fa840219a3
Revert "Adjust icons' position."
...
This reverts commit a95440341e
.
2018-11-25 23:10:12 +08:00
Vincent Zhang
a95440341e
Adjust icons' position.
2018-11-25 13:47:38 +08:00
Vincent Zhang
1ddf68939e
Fix fold icon.
2018-11-25 03:33:24 +08:00
Vincent Zhang
9754dbe996
Fix typo.
2018-11-25 03:31:57 +08:00
Vincent Zhang
87f12fa662
Fix #50 : Misplaced major mode icon.
2018-11-25 03:26:01 +08:00
Vincent Zhang
613684d383
Fix invalid icon family.
2018-11-25 03:06:34 +08:00
Vincent Zhang
336cab5ed4
Formalize the face of major mode icon.
2018-11-25 01:10:53 +08:00
Vincent Zhang
f244142693
Disable major-mode icons by default due to incorrect icons.
2018-11-25 00:56:48 +08:00
Vincent Zhang
d4973e2bc6
Optimize performance of updating buffer information (~2x faster).
2018-11-24 17:10:32 +08:00
Vincent Zhang
2b5a3b103e
Display file icons by default.
2018-11-24 13:19:14 +08:00
Vincent Zhang
229366ffe5
Optimize performance of displaying file icons.
2018-11-24 13:18:33 +08:00
Vincent Zhang
0c9888c5b6
Refactor: Update vcs and flycheck segments.
2018-11-24 13:11:58 +08:00
Vincent Zhang
25fa66bb08
Fix #49 : void-function file-local-name in spacemacs.
...
`file-local-name' is introduced in 25.2.2.
2018-11-24 12:18:41 +08:00
Vincent Zhang
969d001290
Update modeline after refreshing vc state.
2018-11-23 22:36:26 +08:00
Vincent Zhang
34c6f91d36
Fix #48 : [Feature] show the icon for major mode.
...
New variable `doom-modeline-major-mode-icon' to control.
2018-11-23 01:13:52 +08:00
Vincent Zhang
b91e76b383
Fix #47 : new style buffer-name
, which respects uniquify names.
2018-11-23 00:12:36 +08:00
Vincent Zhang
364f5acb0b
Fix: invalid path for remote files.
2018-11-22 05:07:45 +08:00
Vincent Zhang
a7643cf918
Add an indicator of remote host.
2018-11-22 03:59:39 +08:00
Vincent Zhang
d430859bf2
Add the roy-modal indicator.
2018-11-22 03:13:44 +08:00
Vincent Zhang
9acad7f3f4
Fix #46 : God-mode indicator.
2018-11-22 02:48:59 +08:00
Vincent Zhang
69f3029c31
Bump version to 0.8.1.
2018-11-20 23:29:04 +08:00
Vincent Zhang
d27c5485ba
[Optimize] doom-modeline-buffer-file-name for all truncate styles.
...
e.g.`truncate-upto-project' is ~5x faster.
(benchmark-run 1000 (format-mode-line mode-line-format))
~0.7s vs ~4s
Also add 2 new styles: `truncate-from-project' and `truncate-except-project'.
Given ~/Projects/FOSS/emacs/lisp/comint.el
truncate-upto-project => ~/P/F/emacs/lisp/comint.el
truncate-from-project => ~/Projects/FOSS/emacs/l/comint.el
truncate-with-project => emacs/l/comint.el
truncate-except-project => ~/P/F/emacs/l/comint.el
NOTE: `shrink-path-file-mixed' has so BAD performance! Damn it!!!
2018-11-20 23:23:23 +08:00
Vincent Zhang
51ca9570a6
Fix incorrect colors of slash.
2018-11-20 22:28:28 +08:00
Vincent Zhang
345959763b
Refactor: use internal variables.
2018-11-20 21:43:06 +08:00
Vincent Zhang
669206d03a
Remove redundant slash \
in truncated directory.
2018-11-20 21:26:34 +08:00
Vincent Zhang
a530aaee04
Optimize performance of truncate-with-project style.
...
`file-truename` is bad performance, so should not used in the crucial function.
2018-11-20 21:24:24 +08:00
Vincent Zhang
700a0107f2
Bump version to 0.8.0.
2018-11-18 04:08:58 +08:00
Vincent Zhang
5fefd185b6
Fix: nil error if the buffer file name doesn't contain directory.
2018-11-18 03:39:35 +08:00
Vincent Zhang
87ee2e7122
Add truncate-with-project style and set it to default.
2018-11-18 03:26:00 +08:00
Vincent Zhang
7f28abb514
Improve faces of the buffer info.
2018-11-18 02:08:51 +08:00
Vincent Zhang
c809e27487
Don't update buffer info if the file doesn't exist.
2018-11-16 02:28:36 +08:00
Vincent Zhang
c7251193bb
Fix: flash window number while re-enabling ace-window-display-mode
.
2018-11-16 01:45:52 +08:00
Vincent Zhang
9df9260ab3
Fix: flash window number while refreshing this buffer.
2018-11-16 01:37:58 +08:00
Vincent Zhang
489a75ae49
Bump version to 0.7.1.
2018-11-16 01:10:43 +08:00
Vincent Zhang
9701be775c
Revert performance optimization for buffer info.
...
Because the buffer info will be updated in many scenarios and no need to handle
all cases in hooks or advices.
But Keep showing buffer name if it doesn't equal the file name.
2018-11-16 00:53:52 +08:00
Vincent Zhang
f336f37efa
Fix #44 : Height problems with flycheck-mode on.
2018-11-15 23:32:47 +08:00
Vincent Zhang
6c151e7535
Merge pull request #45 from drrlvn/patch-1
...
Fix python-mode when executable is nil
2018-11-15 22:38:05 +08:00
Vincent Zhang
ab6ab18bc7
Hide buffer icons in inactive windows.
2018-11-15 17:24:00 +08:00