core-ui: adjust powerline on big-mode + wider lineno column

This commit is contained in:
Henrik Lissner 2016-02-17 20:11:02 -05:00
parent 814b6ee475
commit 0d5fbcb6e0

View file

@ -169,7 +169,7 @@
:preface :preface
(defvar narf--hl-nlinum-overlay nil) (defvar narf--hl-nlinum-overlay nil)
(defvar narf--hl-nlinum-line nil) (defvar narf--hl-nlinum-line nil)
(defvar nlinum-format "%4d ") (defvar nlinum-format "%4d ")
(defface linum-highlight-face '((t (:inherit linum))) "Face for line highlights") (defface linum-highlight-face '((t (:inherit linum))) "Face for line highlights")
(setq linum-format "%3d ") (setq linum-format "%3d ")
:init :init
@ -240,6 +240,8 @@
powerline-height 19 powerline-height 19
spaceline-highlight-face-func 'spaceline-highlight-face-evil-state) spaceline-highlight-face-func 'spaceline-highlight-face-evil-state)
(add-hook! big-mode (setq-default powerline-height (if big-mode 26 19)))
(defface mode-line-is-modified nil "Face for mode-line modified symbol") (defface mode-line-is-modified nil "Face for mode-line modified symbol")
(defface mode-line-buffer-file nil "Face for mode-line buffer file path") (defface mode-line-buffer-file nil "Face for mode-line buffer file path")