JustFdot
fe29b82625
Add icon for persp-name segment
2019-07-01 23:23:33 +05:00
Vincent Zhang
1c092cbd17
Optimize doom-modeline--font-height.
2019-07-01 19:47:47 +08:00
Vincent Zhang
68362f248e
Fix: Wrong type argument: number-or-marker-p, unspecified.
2019-07-01 19:42:41 +08:00
Vincent Zhang
2bf802e7f5
Optimize: calculate font height of mode-line.
...
Use face-attribute instead of frame-char-height.
Close #189 .
2019-07-01 18:50:09 +08:00
Vincent Zhang
7d8ec424c8
Change doom-modeline--font-height to function.
...
See @187.
2019-07-01 18:00:41 +08:00
Vincent Zhang
c12ba0edfc
Update font height.
2019-06-25 17:57:40 +08:00
Vincent Zhang
118f7084ff
Revert: Refresh the mode-line forcedly after switching frames.
...
Revert 62f48c062e
.
Close #186 .
2019-06-10 15:41:13 +08:00
Vincent Zhang
62f48c062e
Refresh the mode-line forcedly after switching frames.
2019-06-06 18:21:04 +08:00
Vincent Zhang
94ddb2f68b
Use hooks instead of advices.
2019-06-06 17:28:34 +08:00
Vincent Zhang
59c81a0d81
Fix #180 : Error for TRAMP python in doom-modeline-env.
2019-05-31 22:04:16 +08:00
Vincent Zhang
c5226e4aae
Eliminate compiler warnings.
2019-05-23 16:47:30 +08:00
Vincent Zhang
b2b7e60798
[Optimize] Calculate font height.
...
Not use font-info which is slow and may hang.
Only create xpm images if available on GUI.
Close #176 .
2019-05-23 16:35:15 +08:00
Vincent Zhang
e7ebb24208
Remove obsolete variable: doom-modeline-version.
2019-05-22 15:36:40 +08:00
Vincent Zhang
0076029ac6
Rename: doom-modeline-whitespace -> doom-modeline-spc.
2019-05-22 15:15:48 +08:00
Vincent Zhang
825c2bed71
Calculate the actual char height of the mode-line.
...
doom-modeline-height is the minimal height of mode-line. It respects the actual
char height.
2019-05-21 14:35:01 +08:00
Vincent Zhang
230ffe8efc
Fix #173 : Vertical separators showing up when modeline is inactive.
2019-05-19 03:45:04 +08:00
Vincent Zhang
c300c80260
Refactor vspc and whitespace.
2019-05-16 23:31:52 +08:00
vjoki
caf3a3b770
Various fixes
...
1. Make helm icon color consistent with major-mode icon.
2. Attempt to fix missing colors.
Prevent mode-line face from overriding properties that resulted in lack of colors in checker, lsp, vcs, and buffer-info segments. It's possible that there are still more instances of these.
This is just a quick fix, there should be a better way to do this.
3. Reduce checker jumpiness/flicker by retaining the existing text while the checker is running.
4. Refactor segment whitespace.
Attempt at fixing most of the cases of whitespace with no inactive properties.
Occurs for example when activating helm M-x.
2019-05-15 14:01:13 +03:00
Vincent Zhang
6f54eb240e
Update README.
2019-05-14 02:15:57 +08:00
Vincent Zhang
356e8d670a
[Feature] options: doom-modeline-buffer-encoding and doom-modeline-indent-info.
2019-05-14 02:12:36 +08:00
Vincent Zhang
958756996a
Add an icon for helm buffers.
2019-05-10 14:15:21 +08:00
Vincent Zhang
8209edf915
Optimize performance.
2019-05-03 22:20:35 +08:00
Vincent Zhang
d103243e2a
Adjust the position of the last icon.
...
The widths of battery icons > 2 characters.
2019-04-29 11:34:06 +08:00
vjoki
ece9ce3600
Add face for doc-face.
2019-04-24 10:51:44 +03:00
Vincent Zhang
8e30b0b06b
Fix #160 : Remove unnecessary eldoc-eval package.
2019-04-23 20:13:40 +08:00
Vincent Zhang
108fd78261
[Feature] Add options: doom-modeline-buffer-state-icon and doom-modeline-buffer-modification-icon.
...
Close #158 .
2019-04-20 16:39:40 +08:00
Vincent Zhang
b464b69d26
[Enhancement] Improve the icons of major-mode, buffer state, etc.
...
1. Use the default icons of all-the-icons.
2. Respect all-the-icons-scale-factor correctly.
3. Remove the watchers of all-the-icons-scale-factor. Refresh the buffer to
enable after changing the value.
4. Remove function: doom-modeline-icon-height.
5. Refactor.
2019-04-20 02:39:05 +08:00
Vincent Zhang
8c2ed6b575
Set correct font width for `all-the-icons' for appropriate mode-line width.
...
See https://emacs.stackexchange.com/questions/14420/how-can-i-fix-incorrect-character-width .
2019-04-17 04:14:14 +08:00
Vincent Zhang
3464819e6c
Display color icons for major modes by default.
2019-04-12 01:30:25 +08:00
Vincent Zhang
c5b5a4d2d2
Fix #154 : shorten branch name of vcs segment.
2019-04-06 15:12:11 +08:00
Vincent Zhang
0ead21b91f
Optimize doom-modeline-project-root.
2019-03-29 21:36:47 +08:00
Vincent Zhang
3b704ee080
Fix #149 : hang while changing `doom-modeline-icon' from nil to t.
...
Don't delay load all-the-icons for this case:
Load Emacs daemon and enable doom-modeline-icon in Emacs clients.
2019-03-17 22:21:50 +07:00
Vincent Zhang
b29e5a85e9
Fix: conflict with lsp-on-revert/lsp-on-change.
...
Don't advice doom-modeline-set-selected-window (also bad performance).
And updating the buffer-file-name after selecting window in focus-in-hook (so
append it to the hook, after doom-modeline-set-selected-window).
See #133 and #114#issuecomment-469060334.
2019-03-16 01:20:31 +07:00
Vincent Zhang
7aa92a7a43
Fix #147 : Buffer does not seem to be associated with any file.
...
Introduced by 605c5615c1
.
2019-03-14 16:00:03 +07:00
Vincent Zhang
92f99bbd96
Silence warnings.
2019-03-13 15:31:17 +07:00
Vincent Zhang
72b4ea3741
Improve persp segment.
2019-03-12 23:26:03 +07:00
Vincent Zhang
dc83e6a4c3
Fix incorrect faces of "%" in global-mode-string.
...
See https://github.com/seagle0128/doom-modeline/issues/121#issuecomment-471335250 .
2019-03-11 15:36:29 +07:00
Vincent Zhang
ff68bfa4e6
Fix #140 : Only load all-the-icons in GUI.
2019-03-09 01:51:11 +07:00
Vincent Zhang
9bc96d908f
[Enhancement] Enable eldoc-in0mmiibuffer-mode after enabling doom-modeline-mode.
...
Close $42.
2019-03-09 00:59:29 +07: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
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
Andrew Whatson
3397c94da5
Highlight project-root for relative-from-project style
2019-03-05 10:46:58 +10:00
Vincent Zhang
933f321092
[Feature] Display mode-line with `variable-pitch' face.
2019-03-04 17:13:29 +07:00
Vincent Zhang
e8f8a61a74
Fix: failed test cases.
...
Close #123 .
2019-03-01 20:30:58 +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
5f9d9a2e48
[Enhancement] More meaningful icons for battery status.
2019-03-01 02:52:24 +07:00
Vincent Zhang
81635fdf36
Rename doom-modeline-version to doom-modeline-env-version.
2019-02-18 18:57:16 +08:00