ui: visible powerline-hud in all windows + fix text-scale-mode unbound error
This commit is contained in:
parent
723f7c3e95
commit
26a7012936
1 changed files with 3 additions and 4 deletions
|
@ -234,7 +234,7 @@
|
||||||
:config
|
:config
|
||||||
(setq-default
|
(setq-default
|
||||||
powerline-default-separator nil
|
powerline-default-separator nil
|
||||||
powerline-height 15
|
powerline-height 19
|
||||||
spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)
|
spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)
|
||||||
|
|
||||||
(defface mode-line-is-modified nil "Face for mode-line modified symbol")
|
(defface mode-line-is-modified nil "Face for mode-line modified symbol")
|
||||||
|
@ -389,7 +389,7 @@ iedit."
|
||||||
(spaceline-define-segment *major-mode
|
(spaceline-define-segment *major-mode
|
||||||
(powerline-raw
|
(powerline-raw
|
||||||
(concat
|
(concat
|
||||||
(and (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
|
(and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
|
||||||
mode-name
|
mode-name
|
||||||
mode-line-process
|
mode-line-process
|
||||||
))
|
))
|
||||||
|
@ -469,8 +469,7 @@ Supports both Emacs and Evil cursor conventions."
|
||||||
|
|
||||||
(spaceline-define-segment *hud
|
(spaceline-define-segment *hud
|
||||||
"A HUD that shows which part of the buffer is currently visible."
|
"A HUD that shows which part of the buffer is currently visible."
|
||||||
(powerline-hud highlight-face other-face 1)
|
(powerline-hud 'spaceline-highlight-face other-face 1)
|
||||||
:face other-face
|
|
||||||
:tight-right t))
|
:tight-right t))
|
||||||
|
|
||||||
;; Initialize modeline
|
;; Initialize modeline
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue