Commit graph

1010 commits

Author SHA1 Message Date
Muir Manders
0443a65d97 Fix double space after "checker" segment.
If there is no checker text (i.e. no errors), you were ending up with
two spaces after the checker icon. Fix by moving the second space into
the "text" conditional.
2019-10-27 11:36:39 -07:00
Vincent Zhang
a8d932e093 Restore to the default mode-line for special buffers. 2019-10-28 01:29:33 +08:00
Vincent Zhang
79c705019a Fix: (wrong-type-argument stringp nil). 2019-10-27 16:21:47 +08:00
Vincent Zhang
b2c0012252 [Feature] EOL (End Of Line) cycle.
Close #240.
2019-10-27 03:31:15 +08:00
Vincent Zhang
a19d82e8cf Revert to doom-modeline-major-mode-icon and doom-modeline-major-mode-color-icon as suggested. 2019-10-26 00:06:10 +08:00
Vincent Zhang
59b1f7fe24 Remove doom-modeline-color-icons. 2019-10-25 14:24:51 +08:00
Vincent Zhang
b76ff9b5d6 Fix #235: it's not possible to disable icon colours.
Rename doom-modeline-color-icons to doom-modeline-buffer-color-icon.
2019-10-25 05:57:02 +08:00
Vincent Zhang
c4e6e3d834 Eliminate warnings. 2019-10-25 04:35:49 +08:00
Vincent Zhang
a3b6432569 Force redisplay to trigger height calculations
ertain functions, including e.g. `fit-window-to-buffer', base
their size calculations on values that are incorrect if the
mode-line has a height different from that of the `default' face
and certain other calculations have not yet taken place for the
window in question.

Force a redisplay before `fit-window-to-buffer' using an advice,
like we already did for `resize-temp-buffer-window'.

Close #183.

Reference:
https://github.com/tarsius/moody/issues/19
https://github.com/magit/transient/issues/63
2019-10-25 02:53:17 +08:00
Vincent Zhang
54fe24786a [New] Option: doom-modeline-number-limit.
The maximum number displayed for notifications.
2019-10-25 01:58:28 +08:00
Vincent Zhang
93135d4220 [Feature] Use built-in battery instead of unmaintained fancy-battery.
See 9b88ae77a0.
2019-10-25 01:28:57 +08:00
Vincent Zhang
22b14c9b8e [NEW] Options: doom-modeline-color-icons & doom-modeline-buffer-icon
Deprecate doom-modeline-major-mode-color-icon and doom-modeline-major-mode-icon.
2019-10-24 20:28:26 +08:00
Vincent Zhang
8f756cf390 Fix #234: Symbol’s value as variable is void: fancy-battery-last-status. 2019-10-23 13:31:55 +08:00
Vincent Zhang
4a58b8d6b1 Update vcs icon. 2019-10-23 03:15:18 +08:00
Vincent Zhang
8bdd0cd2ee Update the icon of git-timemachine. 2019-10-23 03:07:51 +08:00
Vincent Zhang
cfb45c8eef [Feature] Unicode and ASCII fallbacks.
Enhance the segments.
Remove doom-modeline-persp-name-icon.
Refactor.
See #218.
2019-10-23 02:50:04 +08:00
Vincent Zhang
3b956e5d85 Update face: doom-modeline-debug. 2019-10-22 22:26:19 +08:00
Vincent Zhang
ce2cee661c
Merge pull request #233 from amosbird/master
inhibit bogus cursor jump.
2019-10-19 09:59:21 +08:00
Amos Bird
0f885d6fcd
inhibit bogus cursor jump. 2019-10-19 02:55:51 +08:00
Vincent Zhang
f6584d45b3 New option: doom-modeline-project-detection.
How to detect the project root.
The default priority of detection is `ffip' > `projectile' > `project'.
nil means to use `default-directory'.
The project management packages have some issues on detecting project root.
e.g. `projectile' doesn't handle symlink folders well, while `project' is unable
to hanle sub-projects.
You can specify one if you encounter the issue.

For more details, refer to #209.

Close #224.
2019-10-17 00:14:24 +08:00
Vincent Zhang
e9cd72fd2a Refactor. 2019-10-13 20:48:14 +08:00
Vincent Zhang
bc046daea2
Merge pull request #231 from hlissner/patch-3
Evaluate docstrings in doom-modeline-def-env
2019-10-13 11:51:24 +08:00
Henrik Lissner
d149cbc8bb
Evaluate docstrings in doom-modeline-def-env 2019-10-12 23:41:41 -04:00
Vincent Zhang
c7eb0fb93e Bump version to 2.6.2. 2019-10-12 03:30:46 +08:00
Vincent Zhang
5eb0961d1f Force to set mode-line for scratch and message buffers. 2019-10-12 03:28:34 +08:00
Vincent Zhang
5d3c59968b Add doom-modeline-mode-map. 2019-10-08 12:15:40 +08:00
Vincent Zhang
bed3d38f0e Fix #227: Buffer is shown modified although fill-paragraph does nothing. 2019-10-03 04:39:06 +08:00
Vincent Zhang
67ef88a9c9 Update README. 2019-09-29 00:07:14 +08:00
Vincent Zhang
7f00fe794f Update README. 2019-09-29 00:05:22 +08:00
Vincent Zhang
2690aa2789 Eliminate warnings. 2019-09-18 23:10:11 +08:00
Vincent Zhang
efd2f3ac4c Fix #221: update file state icon after org-toggle-narrow-to-subtree. 2019-09-18 17:38:06 +08:00
Vincent Zhang
349d7c0084
Merge pull request #220 from cslux/master
Inhibit message from `ffip-project-root`
2019-09-13 21:42:57 -05:00
Christian Schwarzgruber
a2ff05706d Inhibit message from ffip-project-root 2019-09-13 22:39:34 +02:00
Vincent Zhang
b117f2e869 Support find-file-in-project. 2019-09-09 17:18:26 +08:00
Vincent Zhang
2553e8cf06 Update buffer state icon after generating a new buffer. 2019-09-05 04:07:29 +08:00
Vincent Zhang
c97e06454b Only change the face of buffer files. 2019-09-05 03:30:43 +08:00
Vincent Zhang
5b523bef65 Bump version to 2.6.0. 2019-09-02 17:18:51 +08:00
Vincent Zhang
19b79ffc6a [Optimize] just update the face of the buffer name in `after-change-functions'.
`doom-modeline--buffer-file-name' may consume lots fof CPU if it's called too frequently.

Refer to https://github.com/seagle0128/doom-modeline/issues/32#issuecomment-525838909.
2019-09-02 17:16:45 +08:00
Vincent Zhang
2a6e2e1dc0
Merge pull request #217 from ksqsf/master
Refresh buffer status after `not-modified`
2019-09-02 03:32:54 -05:00
Vincent Zhang
b433d87f42 [Optimize] Cache window font width.
Fix #215.
2019-08-31 00:05:52 +08:00
ksqsf
f580ef89b6 Refresh buffer status after `not-modified' 2019-08-29 19:16:54 +08:00
Vincent Zhang
47a9538197 Update FAQ. 2019-08-29 16:36:38 +08:00
Vincent Zhang
506fd05ece Add the table of contents in README. 2019-08-23 01:30:35 +08:00
Vincent Zhang
442e1ada18 Remove unnecessary icons from the compatible list. 2019-08-21 01:49:01 +08:00
Vincent Zhang
b47fe7b65a Don't expand symbolic links in path.
Fix #51 and #209.
Root cause: https://github.com/bbatsov/projectile/issues/1387.
2019-08-20 02:29:03 +08:00
Vincent Zhang
c4a77d12c3 Improve grip indicator. 2019-08-18 23:19:25 +08:00
Vincent Zhang
2c01d9eb9e Fix the width of preview icon. 2019-08-18 19:11:47 +08:00
Vincent Zhang
b2bd730f1e Change github to GitHub. 2019-08-18 03:56:39 +08:00
Vincent Zhang
572d19f194 Enhance grip segment. 2019-08-18 00:40:07 +08:00
Vincent Zhang
0186ce9de9 [Feature] New indicator for markdown/org preview with grip. 2019-08-16 22:56:29 +08:00