Disable vi tilde fringe in which-key buffer
This commit is contained in:
parent
d0452a861a
commit
e1826c9382
1 changed files with 4 additions and 3 deletions
|
@ -359,9 +359,10 @@
|
|||
:documentation
|
||||
"Globally display a ~ on empty lines in the fringe."
|
||||
:evil-leader "T~")
|
||||
;; don't enable it on spacemacs home buffer
|
||||
(with-current-buffer spacemacs-buffer-name
|
||||
(spacemacs/disable-vi-tilde-fringe))
|
||||
;; don't enable it on some special buffers
|
||||
(dolist (x (list spacemacs-buffer-name
|
||||
which-key--buffer))
|
||||
(with-current-buffer x (spacemacs/disable-vi-tilde-fringe)))
|
||||
;; after a major mode is loaded, check if the buffer is read only
|
||||
;; if so, disable vi-tilde-fringe-mode
|
||||
(add-hook 'after-change-major-mode-hook
|
||||
|
|
Reference in a new issue