Commit graph

739 commits

Author SHA1 Message Date
Vincent Zhang
a35a403c99 Show correct buffer faces. 2019-03-07 23:50:04 +07:00
Vincent Zhang
f4582bcbe3 Fix #139: doom-modeline showing buffer is modified when it's not. 2019-03-07 22:57:53 +07:00
Vincent Zhang
89bf87bea8 Update the package description. 2019-03-07 17:52:56 +07:00
Vincent Zhang
4b09117dac Bump version to 1.8.3. 2019-03-07 15:21:38 +07:00
Vincent Zhang
729e61a386 Fix: invalid symbol-overlay segment.
The API symbol-overlay-get-list was changed in ad77d6cd1e.
2019-03-07 15:19:54 +07:00
Vincent Zhang
df2397bcc5 Refactor persp segment and silence warnings. 2019-03-07 14:16:13 +07:00
Vincent Zhang
39221cfa67
Merge pull request #136 from hlissner/refactor-env
Refactor env system
2019-03-07 13:38:05 +07:00
Vincent Zhang
55f5ccebb1
Merge pull request #137 from hlissner/evil-mc
Add evil-mc support to multiple-cursors segment
2019-03-07 13:31:24 +07:00
Henrik Lissner
13197b6c9b
Restore missing parse function line argument 2019-03-06 23:28:03 -05:00
Henrik Lissner
aca6c96c6e
Update env parse tests 2019-03-06 23:27:33 -05:00
Henrik Lissner
d7d006d91f
Remove reference to non-existent function 2019-03-06 23:25:33 -05:00
Henrik Lissner
ac8bcc2551
Add evil-mc support to multiple-cursors segment 2019-03-06 23:18:30 -05:00
Henrik Lissner
80e4076bbc
Update README to reflect new env system 2019-03-06 21:04:31 -05:00
Henrik Lissner
a73cc3d112
Rewrite env system
+ Initializes the modeline segment on hack-local-variables-hook, which
  is triggered as late as possible in the major mode activation process,
  when file/dir-local variables have been processed. This allows users
  to exploit file/dir-local variables to modify the behavior of this
  mode-line segment.
+ Add doom-modeline-{before,after}-update-env-hook hooks. Useful for
  injecting environment detection for things like conda and virtualenv.
+ Add customizable executable variables for each language. e.g.
  doom-modeline-env-python-executable
+ Simplify language env definition into a macro.
+ Replaces the version string with "..." while we wait for a new one.
+ Add support for enh-ruby-mode.
2019-03-06 21:04:31 -05:00
Vincent Zhang
80bc70fa82
Merge pull request #132 from flatwhatson/relative-project-highlight
Highlight project-root for relative-from-project style
2019-03-07 04:16:32 +07:00
Vincent Zhang
52f46c1baf Use buffer-list-update-hook instead of advising select-window.
Follow #135.
2019-03-07 04:11:05 +07:00
Vincent Zhang
77cf8a45c4
Merge pull request #135 from Alexander-Miller/select-window
Use buffer-list-update-hook instead of advising select-window.
2019-03-07 04:10:00 +07:00
Vincent Zhang
23b9ffb762 Not support variable-pitch since it breaks icons. 2019-03-07 04:04:03 +07:00
Alexander Miller
eabfed0068 Use buffer-list-update-hook instead of advising select-window. 2019-03-06 12:48:33 +01:00
Vincent Zhang
5c926b81de Fix #133: buffer-info loses face after frame focus.
Also see #114.
2019-03-05 15:19:33 +07:00
Andrew Whatson
3397c94da5 Highlight project-root for relative-from-project style 2019-03-05 10:46:58 +10:00
Vincent Zhang
8e0ed6239b Update buffer file name in evil.
See https://github.com/seagle0128/doom-modeline/issues/129#issuecomment-469327822.
2019-03-05 00:02:09 +07:00
Vincent Zhang
c69ec1e5c5 Fix incorrect faces of buffer file name.
See https://github.com/seagle0128/doom-modeline/issues/114#issuecomment-469060334.
2019-03-04 23:38:33 +07:00
Vincent Zhang
de4c631252 Improve icons for terminal mode. 2019-03-04 21:15:28 +07:00
Vincent Zhang
933f321092 [Feature] Display mode-line with `variable-pitch' face. 2019-03-04 17:13:29 +07:00
Vincent Zhang
93d335a54f Fix incorrect help-echo of file icons in org-agenda. 2019-03-04 16:58:24 +07:00
Vincent Zhang
67c352def1 Override u4e-alert-modeline after enabling doom-modeline.
See #130.
2019-03-04 14:15:52 +07:00
Vincent Zhang
94d78707a2
Merge pull request #131 from yqrashawn/revert-pr-130
Revert "fix mu4e-alert-mode-line numberp error"
2019-03-04 12:08:48 +07:00
yqrashawn
66779bcb17 Revert "fix mu4e-alert-mode-line numberp error"
This reverts commit b29ce18e68.
2019-03-04 11:31:51 +08:00
Vincent Zhang
59047842b0
Merge pull request #130 from yqrashawn/fix-mu4e-alert
fix mu4e-alert-mode-line numberp error
2019-03-04 09:04:19 +07:00
yqrashawn
b29ce18e68 fix mu4e-alert-mode-line numberp error 2019-03-04 09:45:20 +08:00
Vincent Zhang
d46b5434f2 Fix: invalid faces. 2019-03-04 02:23:33 +07:00
Vincent Zhang
ab7f854d89 Fix invalid mouse-face in inactive windows. 2019-03-04 01:43:53 +07:00
Vincent Zhang
9c283f50bd Fix: invalid icons after setting modeline fonts. 2019-03-04 00:53:20 +07:00
Vincent Zhang
b1b51de36a Update battery thresholds. 2019-03-02 01:06:47 +07:00
Vincent Zhang
6c35035bc8 Refactor mu4e segment. 2019-03-01 23:35:37 +07:00
Vincent Zhang
e8f8a61a74 Fix: failed test cases.
Close #123.
2019-03-01 20:30:58 +07:00
Vincent Zhang
07782ea9f6 Fix anzu issue.
See https://github.com/seagle0128/doom-modeline/pull/128#issuecomment-468621209.
2019-03-01 18:20:25 +07:00
Vincent Zhang
c6e95114ae Fix #123: invalid-regexp "Trailing backslash" on Windows.
Also see https://gitlab.com/bennya/shrink-path.el/issues/2.
2019-03-01 16:46:01 +07:00
Vincent Zhang
6942926612 Fix #128 and silence the warnings. 2019-03-01 16:33:02 +07:00
Vincent Zhang
c901459d9d
Merge pull request #128 from hlissner/patch-4
Fix matches segment mirroring across all buffers (part 2)
2019-03-01 16:28:12 +07:00
Vincent Zhang
d96b67576d [Enhancement] Override mode-lines in the global mode string.
For mu4e-alert and fancy-battery.
Refactor and reformat.
2019-03-01 16:18:13 +07:00
Henrik Lissner
6782b0ac30
Fix matches segment mirroring across all buffers
As well as the regression in anzu-replace-query
2019-02-28 19:10:19 -05:00
Vincent Zhang
8896f219e4 Update battery thresholds. 2019-03-01 03:38:06 +07:00
Vincent Zhang
266b3cae80
Merge pull request #127 from hlissner/patch-3
Prevent anzu from injecting itself into modeline
2019-03-01 03:34:27 +07:00
Vincent Zhang
eb387b9cb8
Merge pull request #126 from seagle0128/revert-125-patch-2
Revert "Fix matches segment mirroring across all buffers"
2019-03-01 03:23:35 +07:00
Vincent Zhang
88510a8e06
Revert "Fix matches segment mirroring across all buffers" 2019-03-01 03:23:02 +07:00
Vincent Zhang
371c3fcfa2
Merge pull request #125 from hlissner/patch-2
Fix matches segment mirroring across all buffers
2019-03-01 03:20:21 +07:00
Henrik Lissner
fb8e06a0b4
Prevent anzu from injecting itself into modeline 2019-02-28 15:20:13 -05:00
Vincent Zhang
cbc74f0e9e
Merge pull request #124 from hlissner/patch-1
Hide checker segment when disabled/empty
2019-03-01 03:17:31 +07:00