fixup! help/helpful: Set tab-width to 8, better integration w/ Ivy (#15243)
This commit is contained in:
parent
9e30cf9b39
commit
8bfc1566ec
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
|||
(defalias 'describe-function 'helpful-callable)
|
||||
(defalias 'describe-variable 'helpful-variable)
|
||||
(defalias 'describe-key 'helpful-key)
|
||||
(add-hook 'helpful-mode (lambda () (setq-local tab-width 8)))
|
||||
(add-hook 'helpful-mode-hook (lambda () (setq-local tab-width 8)))
|
||||
(when (featurep 'counsel)
|
||||
(setq counsel-describe-function-function #'helpful-callable)
|
||||
(setq counsel-describe-variable-function #'helpful-variable))))
|
||||
|
|
|
@ -233,7 +233,7 @@
|
|||
(use-package help-fns+
|
||||
:commands (describe-keymap)
|
||||
:init (spacemacs/set-leader-keys "hdK" 'describe-keymap)
|
||||
:config (add-hook 'help-mode (lambda () (setq-local tab-width 8)))))
|
||||
:config (add-hook 'help-mode-hook (lambda () (setq-local tab-width 8)))))
|
||||
|
||||
(defun spacemacs-defaults/init-hi-lock ()
|
||||
(with-eval-after-load 'hi-lock
|
||||
|
|
Reference in a new issue