Commit graph

370 commits

Author SHA1 Message Date
Vincent Zhang
38400801d2 Update copyright. 2020-01-18 00:13:25 +08:00
Vincent Zhang
5b68a8215d Click mouse-3 to restart grip preview. 2020-01-17 23:14:32 +08:00
Vincent Zhang
2cf1f2a7e7 Update grip segment accordingly. 2020-01-15 18:24:40 +08:00
Vincent Zhang
4afe41ef3d Refactor: remove redundant declarations. 2020-01-06 14:22:40 +08:00
Vincent Zhang
10794dfc4d Remove: doom-modeline-override-lsp-modeline. 2020-01-06 14:12:41 +08:00
Vincent Zhang
8f289397f3 Don't use the macro gnus-group-unread directly. 2020-01-06 14:03:05 +08:00
Vincent Zhang
0fe73f6a65 Eliminate warnings. 2020-01-06 12:33:05 +08:00
Vincent Zhang
e3dcc83738 Fix invalid function after compilation. 2020-01-06 12:31:58 +08:00
Vincent Zhang
95c6bd16d9 Update comments. 2020-01-06 12:25:39 +08:00
Vincent Zhang
7992b8c68f Fix invalid function after compilation. 2020-01-06 12:24:26 +08:00
Vincent Zhang
7656169343 [Enhancement] Remove eglot/lsp from global-mode-string. 2020-01-06 02:09:25 +08:00
Vincent Zhang
198057e37c Improve email icons. 2020-01-05 20:22:51 +08:00
Vincent Zhang
459b6d5a0d Fix: invalid function gnus-group-unread. 2020-01-05 20:20:32 +08:00
Vincent Zhang
6e2cf7035d Refactor word-count segment. 2020-01-05 17:54:54 +08:00
Vincent Zhang
f6e01dbe39 Rename lsp-after-uninitialized-hook to lsp-after-uninitialized-functions.
Refer https://github.com/emacs-lsp/lsp-mode/pull/1279.
2020-01-04 10:54:57 +13:00
Vincent Zhang
392019af0b Fix #285: rcirc tracking is broken. 2020-01-04 10:44:45 +13:00
Vincent Zhang
1248b0adc6 Fix #284: wrong-type-argument stringp evil-visual-tag
The evil state tags can be functions.
See https://github.com/emacs-evil/evil/issues/1180.
2020-01-02 18:43:47 +13:00
Vincent Zhang
7479e8957a [Enhancement] Add an icon for minions, and support minions-direct.
Close #282.
2019-12-31 16:24:20 +13:00
Vincent Zhang
6cdbd9b4ce Rename variables. 2019-12-31 12:21:49 +13:00
Vincent Zhang
2431a32e4d Refactor gnus indicator. 2019-12-30 09:38:02 +13:00
Vincent Zhang
6dc9463d98 [Feature] message modeline. 2019-12-28 23:27:24 +13:00
Vincent Zhang
08c2649e16 Override `lsp-mode' mode-line. 2019-12-28 00:59:18 +13:00
Vincent Zhang
37e333cd25 Display the state icons correctly and immediately.
Not using hooks or advices. It's very hard to handle all scenarios with them.
Close #280.
2019-12-25 23:51:33 +13:00
Vincent Zhang
05f5b13303 Improve gnus segment.
Fix #279.
2019-12-25 23:42:23 +13:00
Melkor333
3b2df9ab56 Add basic gnus support without any other dependency than gnus 2019-12-18 01:19:55 +01:00
Vincent Zhang
b400368524 Update the unicode fallbacks. 2019-12-10 00:23:50 +08:00
Vincent Zhang
d621458714 Fix #277: God-mode state tag not showing. 2019-12-08 01:16:05 +08:00
Vincent Zhang
e161813e0f [Enhancement] Improve minor-modes segment. 2019-12-03 23:42:48 +08:00
Vincent Zhang
2fcb6e8c0f Revert "Minor fix."
This reverts commit 211c0d0c28.

Close #274.
2019-12-03 01:10:23 +08:00
Vincent Zhang
211c0d0c28 Minor fix. 2019-12-02 13:28:15 +08:00
Vincent Zhang
247d77cc60 Update battery status immediately after enabling it. 2019-12-02 13:25:46 +08:00
Vincent Zhang
7a7f17c6bc Format. 2019-12-02 02:43:32 +08:00
Vincent Zhang
6c4a702d66 Fix infinitely recursings. 2019-12-02 02:39:01 +08:00
Vincent Zhang
3fe226542e Fix #273: modeline-override-battery-modeline infinitely recursing into itself. 2019-12-02 02:18:39 +08:00
Vincent Zhang
d822ebd444 Refactor minor-modes segment. 2019-11-29 23:24:16 +08:00
Vincent Zhang
bd3b0dfe21 Optimize buffer state icons. 2019-11-29 19:02:59 +08:00
Vincent Zhang
064ce4d422 Fix: doom-modeline-buffer-state-icon is unavailable. 2019-11-29 17:43:19 +08:00
Vincent Zhang
621edf5fb9 Revert "Use derived-mode-p"
This reverts commit 0bba9c4db8.

Also add gfm-mode.
Close #270.
2019-11-27 15:29:49 +08:00
Vincent Zhang
9880251702 Watch doom-modeline-unicode-fallback. 2019-11-26 20:05:57 +08:00
Vincent Zhang
9d820b9c48 Refactor modals segment. 2019-11-26 19:08:06 +08:00
Vincent Zhang
b0a25346c1 Slightly adjust the position of icons. 2019-11-26 15:41:14 +08:00
Vincent Zhang
dca6d4ca6a Refactor word-count segment. 2019-11-24 21:58:18 +08:00
Jake Romer
c87555de4f
Propertize active case 2019-11-24 08:06:19 -05:00
Jake Romer
0bba9c4db8
Use derived-mode-p 2019-11-24 08:00:02 -05:00
Jake Romer
d4b4ea4d61
Display wc in inactive mode-lines 2019-11-24 07:40:14 -05:00
Jake Romer
bf03231304
Add continuously displayed word count segment.
Introduces `doom-modeline-continuous-word-count-modes`, a customizable list
of major modes in which display a word count continuously when
`doom-modeline-enable-word-count' is non-nil.

```lisp
;; Major modes in which to display word count continuously.
;; Respects `doom-modeline-enable-word-count'.
(setq doom-modeline-continuous-word-count-modes '(markdown-mode org-mode))
```
2019-11-23 22:03:09 -05:00
Vincent Zhang
711bc49106 Format. 2019-11-24 01:20:47 +08:00
Vincent Zhang
8806da711c Improve macro indicator. 2019-11-24 01:18:54 +08:00
Vincent Zhang
d6165e6f3c Change doom-modeline-evil-state-icon to doom-modeline-modal-icon.
See #265.
2019-11-22 18:33:43 +08:00
Vincent Zhang
c70bb0c39d Update github unicode character. 2019-11-22 18:04:05 +08:00