Commit graph

674 commits

Author SHA1 Message Date
Vincent Zhang
2213a238df [Feature] Support dap-mode in debug indicator. 2019-03-16 23:44:32 +07:00
Vincent Zhang
547d479c6d Rename function: doom-modeline-update-vcs-icon. 2019-03-16 18:46:57 +07:00
Vincent Zhang
88459ee106 Fix #149: (setq doom-modeline-icon 1) fails and hangs emacs daemon. 2019-03-16 17:41:11 +07:00
Vincent Zhang
04ed6ec68f [Enhancement] Support edebug/edebug-x in debug indicator. 2019-03-16 02:50:22 +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
fb8220d47e Add more variable watchers for all-the-icons-scale-factor. 2019-03-14 16:12:11 +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
2b0f9ea1df Refactor doom-modeline--symbol-overlay. 2019-03-14 00:19:42 +07:00
Vincent Zhang
34cc69a8df Ignore user errors in symbol-overlay sub-segment. 2019-03-14 00:15:24 +07:00
Vincent Zhang
92f99bbd96 Silence warnings. 2019-03-13 15:31:17 +07:00
Vincent Zhang
e9faab3db5
Merge pull request #146 from hlissner/patch-2
No-op if env executable doesn't exist
2019-03-13 10:09:57 +07:00
Henrik Lissner
3d467b7a70
No-op if env executable doesn't exist 2019-03-12 16:20:30 -04:00
Vincent Zhang
72b4ea3741 Improve persp segment. 2019-03-12 23:26:03 +07:00
Vincent Zhang
605c5615c1 Simplify the variable watchers. 2019-03-12 21:16:34 +07:00
Vincent Zhang
43d0956960 Improve macro segment. 2019-03-12 21:08:06 +07:00
Vincent Zhang
0a38a65d39 Improve multiple-cursor segment. 2019-03-12 20:03:07 +07:00
Vincent Zhang
5985a573f1 Improve LSP segment. 2019-03-12 17:50:18 +07:00
Vincent Zhang
292f7bd238 Optimize performance of lsp indicator. 2019-03-12 00:59:28 +07:00
Vincent Zhang
4c5a8d3ab9 Bump version to 1.9.0. 2019-03-12 00:52:18 +07:00
Vincent Zhang
550f849b81 [Enhancement] Improve lsp indicator for lsp-mode. 2019-03-12 00:51:37 +07:00
Vincent Zhang
ebbdbed858 [Feature] Support eglot state in LSP indicator. 2019-03-12 00:49:30 +07:00
Vincent Zhang
bc442eecf8 Bump version to 1.8.6. 2019-03-11 15:38:45 +07:00
Vincent Zhang
5dc0b5e7cd Improve faces of multiple-cursors and silence warnings. 2019-03-11 15:38:06 +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
94c24ac375 Bump version to 1.8.5. 2019-03-11 00:23:48 +07:00
Vincent Zhang
b3e1dacbee [Compatibility] Fix incorrect file state with popup. 2019-03-11 00:22:13 +07:00
Vincent Zhang
a496a3d84e
Merge pull request #144 from netromdk/mc-matches
Show number of multiple cursors correctly
2019-03-10 22:18:00 +07:00
Vincent Zhang
8d76f3d33f
Merge pull request #145 from netromdk/mc-active-face
Don't use inactive face for active multiple-cursors matches context
2019-03-10 22:15:03 +07:00
Morten Kristensen
a30a3b354a
Don't use inactive face for active mc matches context 2019-03-10 14:20:37 +01:00
Morten Kristensen
dc57152514
Show number of multiple cursors correctly
Before this change nothing was shown in the "matches" section of the modeline.
2019-03-10 13:08:20 +01:00
Vincent Zhang
84a0aac09b [Feature] Show state icons for fancy-narrow. 2019-03-09 02:41:20 +07:00
Vincent Zhang
f5a6fd9d42 Fix #141: All the icons icon misalignment when increasing icon scale. 2019-03-09 02:32:27 +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
Vincent Zhang
cc29f43045 Optimize performance.
See #139.
2019-03-08 15:23:59 +07:00
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