Commit graph

383 commits

Author SHA1 Message Date
Vincent Zhang
14ac6ddbeb Remove: comments.
Note: This hook will cause magit exception
(add-hook 'after-change-functions 'doom-modeline-update-buffer-file-icon)
2018-12-13 01:04:17 +08:00
Vincent Zhang
eaa1b0d971 Optimize: rendering icons and fetching github notifications. 2018-12-13 01:01:49 +08:00
Vincent Zhang
4a7100b5fd Optimize: material icons. 2018-12-12 22:53:35 +08:00
Vincent Zhang
b7bc345b44 Revert "Improve: remove the spaces in the end."
This reverts commit 2be5f28184.
2018-12-12 13:58:00 +08:00
Vincent Zhang
2be5f28184 Improve: remove the spaces in the end. 2018-12-12 04:15:08 +08:00
Vincent Zhang
9460d50465 Improve: buffer-file-state icon. 2018-12-12 03:57:38 +08:00
Vincent Zhang
997425b9f5 Bump: version to v1.1.0. 2018-12-12 03:28:46 +08:00
Vincent Zhang
1d66c50309 Modernize the icons of buffer file state. 2018-12-12 01:35:19 +08:00
Vincent Zhang
c9699003f6 Beautify flycheck. 2018-12-11 23:27:50 +08:00
Vincent Zhang
1926d456a3 Fix #66: Add a segment for GitHub notifications. 2018-12-11 23:05:34 +08:00
Vincent Zhang
380bea265e Add unit test cases. 2018-12-11 01:05:16 +08:00
Vincent Zhang
eabb8fb56c Optimize: update persp name. 2018-12-10 02:25:52 +08:00
Vincent Zhang
900c501e1f
Merge pull request #65 from meqif/patch-1
Show Rust version in the modeline
2018-12-09 21:45:55 +08:00
Ricardo Martins
26b493fe65
Show Rust version in the modeline 2018-12-09 12:29:40 +00:00
Vincent Zhang
d7efae1d35 Update screenshots (#64). 2018-12-09 15:30:35 +08:00
Vincent Zhang
a989c93971 Make vcs more obvious. 2018-12-09 14:30:47 +08:00
Vincent Zhang
b0342b30b6 Improve mouse-face for segments. 2018-12-09 02:11:23 +08:00
Vincent Zhang
2e65c9d06b Make doom-modeline-column-zero-based and doom-modeline-percent-position global. 2018-12-08 03:57:38 +08:00
Vincent Zhang
21637ad560 Fix #62: disregards value of column-number-indicator-zero-based.
Same as mode-line-percent-position.
2018-12-08 03:46:12 +08:00
Vincent Zhang
44a46a61cc Treat doom-modeline-def-modeline as a function. 2018-12-08 03:07:41 +08:00
Vincent Zhang
cd62baebf9 Add unit test suite. 2018-12-08 02:59:08 +08:00
Vincent Zhang
fef210416f Add help-echo and mouse-face to encoding and input-method segments. 2018-12-07 01:35:10 +08:00
Vincent Zhang
851ed76dc1 Bump version to 1.0.0. 2018-12-07 00:45:36 +08:00
Vincent Zhang
1de4baed59 Add help-echo and mouse-click for buffer file name. 2018-12-07 00:43:59 +08:00
Vincent Zhang
83731bca00 Add two enablers for persp-name and lsp segments.
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444842483.
2018-12-07 00:25:48 +08:00
Vincent Zhang
8a2e5ffbda Add help-echo and mouse-click for buffer position and size. 2018-12-07 00:17:29 +08:00
Vincent Zhang
f73eba86fa [Feature] An indicator for LSP state.
See https://github.com/emacs-lsp/lsp-mode/issues/479#issuecomment-443992922.
2018-12-06 03:26:27 +08:00
Vincent Zhang
8d6974bb65 Simplify minor modes.
Remove help-echo and mouse-click since doom-modeline-def-segment
doesn't support mode-line-minor-mode-keymap.

See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444423882.
2018-12-06 02:45:22 +08:00
Vincent Zhang
4235da6465 Add new face: doom-modeline-buffer-minor-mode.
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444514463.
2018-12-06 02:12:17 +08:00
Vincent Zhang
9c6d00d3ab Add help-echo and mouse-click to persp-name segment. 2018-12-06 01:58:16 +08:00
Vincent Zhang
aa088e3f52 Fix: No definitions found for: xah-fly-insert-state-q. 2018-12-06 01:32:15 +08:00
Vincent Zhang
5fbb0291d6 Enhance flycheck segment: help-echo, mouse click. 2018-12-06 00:48:10 +08:00
Vincent Zhang
70049ac3bf [Feature] An indicator for xah-fly-keys state. 2018-12-06 00:08:10 +08:00
Vincent Zhang
9accf87eef Eliminate compiler warnings. 2018-12-05 23:09:11 +08:00
Vincent Zhang
84b2ab0abc Remove settings for projectile lighter.
See https://github.com/seagle0128/doom-modeline/issues/59#issuecomment-444423882.
2018-12-05 22:56:06 +08:00
Vincent Zhang
19019a781d
Merge pull request #61 from edkolev/patch-1
Update file state icon after widening
2018-12-05 22:43:06 +08:00
Evgeni Kolev
d6550fafd5
Update file state icon after widening 2018-12-05 13:13:07 +02:00
Vincent Zhang
dbfdf1b0b0 Change faces of input-method segment. 2018-12-05 04:32:14 +08:00
Vincent Zhang
e032bb92c3 Fix error in input-method: (wrong-type-argument stringp nil). 2018-12-05 04:30:01 +08:00
Vincent Zhang
5836f0603c Minor change minor-modes position. 2018-12-05 03:59:13 +08:00
Vincent Zhang
420285ae5f Refactor segments. Only show global and input in active window. 2018-12-05 03:50:50 +08:00
Vincent Zhang
c0b5f1c0ab Fix #59: [Feature] Minor modes segment. Disable by default. 2018-12-05 03:39:07 +08:00
Vincent Zhang
e43da4a963 [Feature] A perspective name segment for persp-mode. 2018-12-05 02:38:36 +08:00
Vincent Zhang
e466611f68 Update formats of buffer-encoding. 2018-12-04 21:09:16 +08:00
Vincent Zhang
ac1605a92c Fix #57: [Enhancement] Display uniquified buffer names in help-echo. 2018-12-04 00:22:20 +08:00
Vincent Zhang
da9fa3ced2 Fix #56: Error when launching Gnus. 2018-12-03 15:24:25 +08:00
Vincent Zhang
1497e12b08 Fix #55: Projectile segment errors on a new clojure project. 2018-12-02 18:53:51 +08:00
Vincent Zhang
b3b0fc780d
Merge pull request #54 from dkellner/master
Fix calling `projectile-project-root'.
2018-11-30 17:21:41 +08:00
Dominik Kellner
e697720c94 Fix calling `projectile-project-root'.
Depending on configuration, `projectile-project-root' raises an error if there
is no project available. This behaviour almost renders Emacs unusable outside
of projects as `doom-modeline-project-root' gets called upon every redisplay of
the modeline, which then causes the error.

This fix just ignores errors thrown by `projectile-project-root' and returns
`nil' instead, which is what we expect anyway.
2018-11-30 08:51:47 +07:00
Vincent Zhang
6975849702 Add function for minimal modeline. 2018-11-29 23:23:39 +08:00