Refactor/reformat core-ui

+ Move minibuffer fringe disabler to ui/doom
+ Disable blink-cursor-mode (too distracting, causes other issues e.g.
  #892)
This commit is contained in:
Henrik Lissner 2018-09-18 15:16:22 -04:00
parent 895df84f8b
commit 0c39e73a1e
3 changed files with 48 additions and 44 deletions

View file

@ -60,11 +60,6 @@ If any hook returns non-nil, all hooks after it are ignored.")
(set-face-attribute 'which-key-local-map-description-face nil :weight 'bold)
(which-key-setup-side-window-bottom)
(setq-hook! 'which-key-init-buffer-hook line-spacing 3)
(defun doom*no-fringes-in-which-key-buffer (&rest _)
(doom|no-fringes-in-minibuffer)
(set-window-fringes (get-buffer-window which-key--buffer) 0 0 nil))
(advice-add 'which-key--show-buffer-side-window :after #'doom*no-fringes-in-which-key-buffer)
(which-key-mode +1))