Commit graph

1171 commits

Author SHA1 Message Date
Vincent Zhang
e8066aad42 Eliminate warnings. 2020-04-06 20:55:36 +08:00
Vincent Zhang
671a640a19 [Feature] Support rime input method. 2020-04-06 20:10:05 +08:00
Vincent Zhang
0642f71071 [Enhancement] Add minor-modes and input-method to project mode-line.
Close #320.
2020-03-22 14:36:26 +08:00
Vincent Zhang
99e9bcf970 Fix the compatibility issue of the buffer icons.
See https://github.com/seagle0128/icons-in-terminal.el/issues/1.
2020-03-20 00:13:07 +08:00
Vincent Zhang
06a79f5c50 Update comments. 2020-03-12 01:26:09 +08:00
Vincent Zhang
883370eb16 [Feature] Support tab-bar-mode in workspace-name segment.
Close #317.
2020-03-12 01:22:04 +08:00
Vincent Zhang
5bffef2568 Allow fetching github notifications background. 2020-03-06 19:34:39 +08:00
Vincent Zhang
53bf59d50c Fix #316: error in 25 - Symbol’s value as variable is void: props. 2020-03-06 17:39:55 +08:00
Vincent Zhang
0df5585984 Update icon size. 2020-03-01 14:57:11 +08:00
Vincent Zhang
1d909a930d Add debug segment to org-src mode-line. 2020-02-29 03:48:13 +08:00
Vincent Zhang
5d651207ae [Feature] Add org-src mode-line. 2020-02-29 03:32:22 +08:00
Vincent Zhang
f541215023 Fix incorrect icons. 2020-02-28 15:13:35 +08:00
Vincent Zhang
83e663ac98 Add matches segment to pdf mode-line. 2020-02-27 22:32:19 +08:00
Vincent Zhang
e18b5ea60d Enhance faces. 2020-02-26 14:44:32 +08:00
Vincent Zhang
9508fae617 Ensure the width and height are numbers. 2020-02-26 02:49:36 +08:00
Vincent Zhang
54574d9af3 [Optimize] Check if the buffer is modified timely.
Don't check in the hooks in case some cases are missing.
Moreover calling `buffer-modified-p' is fast.
It doesn't affect performance.
2020-02-25 20:18:01 +08:00
Vincent Zhang
41015d72e7 Change the default value of doom-modeline-window-width-limit. 2020-02-25 04:40:35 +08:00
Vincent Zhang
25b79dff8f Fix warnings. 2020-02-24 20:59:15 +08:00
Vincent Zhang
fb508498e3 Fix ert cases. 2020-02-24 01:19:00 +08:00
Vincent Zhang
0b13552514 doom-modeline-window-width-limit doesn't need to respect file-name style. 2020-02-23 20:29:13 +08:00
Vincent Zhang
db951f9533
Merge pull request #314 from LEXUGE/patch-1
Fix issue with use-package installation
2020-02-23 13:27:52 +08:00
Ying Kanyang (Harry Ying)
3974e50b53
Fix issue with use-package installation
One `)` missing
2020-02-23 10:07:20 +08:00
Vincent Zhang
a25dc7267e [Feature] Simplify buffer name and others when the window is small.
1. Introduce an option: doom-modeline-window-width-limit.
2. Check if the window is small (window-width <=
doom-modeline-window-width-limit) while window size is changed.
3. Only display buffer name when the window is snall.
4. Don't display pers-name when the window is small.
2020-02-23 04:21:58 +08:00
Vincent Zhang
ccc7f973a9 Optimize performance. 2020-02-23 03:41:52 +08:00
Vincent Zhang
17abc0dba4 Rename doom-modeline--old-format to doom-modeline--default-format. 2020-02-23 01:00:32 +08:00
Vincent Zhang
b88ec7fef7 Fix cut-off issue in unicode-fallback. 2020-02-22 23:47:44 +08:00
Vincent Zhang
4d8d935191 Eliminate warnings. 2020-02-22 16:06:14 +08:00
Vincent Zhang
d355309218 Minor refactor. 2020-02-22 01:44:06 +08:00
Vincent Zhang
65af9de491 Remove redundant codes for refreshing buffer file name. 2020-02-20 01:40:45 +08:00
Vincent Zhang
333dc074e5 Fix #313: Frame focus error.
doom-modeline-focus-change: Symbol’s function definition is void:
frame-focus-state.

`after-focus-change-function' and `frame-focus-state are introduced' in 27.
2020-02-19 23:51:40 +08:00
Vincent Zhang
4ee3559fb6 [Enhancement] Support buffer names from org-protocol.
Use "%b" instead of "(buffer-name)".
With "auto" style, display buffer name if not in a project.
2020-02-19 17:24:06 +08:00
Vincent Zhang
1b5424ff3c Add an extra space for safety.
Fix #287.
2020-02-19 13:43:00 +08:00
Vincent Zhang
ff8f4c8c80 Add an extra space for safety.
Fix #287.
2020-02-19 13:37:02 +08:00
Vincent Zhang
25af2880de Suppress compiler warnings. 2020-02-19 13:16:29 +08:00
Vincent Zhang
af24cb1106 Update FAQ.
Close #311.
2020-02-19 12:38:10 +08:00
Vincent Zhang
a6ebfe10a2 Ensure the mode-line is displayed correctly while switching frames. 2020-02-19 00:58:49 +08:00
Vincent Zhang
54815a7dc7 Exclude the child frames while refreshing. 2020-02-19 00:44:18 +08:00
Vincent Zhang
1c397a757c Only starting the process When the window is active.
Otherwise the mode-line will be activated while the frame is unfocused.
2020-02-19 00:43:16 +08:00
Vincent Zhang
0d6993a84c Refactor doom-modeline-propertize-icon. 2020-02-18 22:28:11 +08:00
Vincent Zhang
0ce7ddfa0d Make the icons inconsistent in both active and inactive windows.
Fix #306.

The extra face should be the first attribute, or the font family may be overridden.
So convert the face ":family XXX :height XXX :inherit XXX" to
":inherit XXX :family XXX :height XXX".

Remove `doom-modeline-icon-inactive' face accordingly.
2020-02-18 21:07:14 +08:00
Vincent Zhang
0bc9953cb1 Revert "Make the icon faces inconsistent."
This reverts commit 68e17437cf.
Close #308.
2020-02-18 01:21:57 +08:00
Vincent Zhang
f1426d01d6 Update bug template. 2020-02-17 22:44:31 +08:00
Vincent Zhang
7eea9773ac Fix cl-lib compatibility issue. 2020-02-17 19:23:23 +08:00
Vincent Zhang
87911f0144 Remove extra space in the checker segment. 2020-02-16 23:37:49 +08:00
Vincent Zhang
68e17437cf Make the icon faces inconsistent.
Fix #306.
1. Remove face: doom-modeline-icon-inactive.
2. Change the face as plist.
2020-02-16 23:03:21 +08:00
Vincent Zhang
c2b286f2f3 Fix incorrect icon while doom-modeline-major-mode-color-icon is nil. 2020-02-16 02:35:57 +08:00
Vincent Zhang
a18f913cf1 Revert "Fix #306: modeline icon color is inconsistent when using which-key."
This reverts commit bf26cc00b5.
2020-02-16 01:21:49 +08:00
Vincent Zhang
bf26cc00b5 Fix #306: modeline icon color is inconsistent when using which-key. 2020-02-16 00:54:47 +08:00
Vincent Zhang
26d82585a9 Update dap debug state while the session is changed. 2020-02-14 15:53:48 +08:00
Vincent Zhang
4d2c28805e [Optimize] Update dap-debug state. 2020-02-14 15:34:37 +08:00