Make sure eldoc info is not removed when you switch to insert mode
- This will prevent jumping of eldoc box when you switch to insert mode.
This commit is contained in:
parent
cab1e69585
commit
bc55d9b6fd
|
@ -1073,6 +1073,8 @@ Other:
|
|||
- Enabled =doom= mode-line theme to respect
|
||||
=dotspacemacs-display-default-layout= (thanks to Jake Romer)
|
||||
- Hide =spacemacs//= command prefixes in which-key (thanks to duianto)
|
||||
- Prevented removal of =eldoc= info when switching to insert state
|
||||
(thanks to Ivan Yonchovski)
|
||||
- Fixed:
|
||||
- Fixed ~h~ key binding in compilation and grep buffers
|
||||
(thanks to Sylvain Benner)
|
||||
|
|
|
@ -143,7 +143,14 @@
|
|||
;; enable eldoc in IELM
|
||||
(add-hook 'ielm-mode-hook #'eldoc-mode)
|
||||
;; don't display eldoc on modeline
|
||||
(spacemacs|hide-lighter eldoc-mode))))
|
||||
(spacemacs|hide-lighter eldoc-mode)
|
||||
|
||||
;; eldoc-message-commands
|
||||
(eldoc-add-command #'evil-insert)
|
||||
(eldoc-add-command #'evil-insert-line)
|
||||
(eldoc-add-command #'evil-append)
|
||||
(eldoc-add-command #'evil-append-line)
|
||||
(eldoc-add-command #'evil-force-normal-state))))
|
||||
|
||||
(defun spacemacs-defaults/init-help-fns+ ()
|
||||
(use-package help-fns+
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
(hs-minor-mode :location built-in)
|
||||
(linum-relative :toggle (version< emacs-version "26"))
|
||||
vi-tilde-fringe
|
||||
))
|
||||
eldoc))
|
||||
|
||||
(defun spacemacs-evil/init-evil-anzu ()
|
||||
(use-package evil-anzu
|
||||
|
@ -64,6 +64,12 @@
|
|||
(setq anzu-mode-line-update-function
|
||||
'spacemacs/anzu-update-mode-line)))))
|
||||
|
||||
(defun spacemacs-evil/post-init-eldoc ()
|
||||
(eldoc-add-command #'evil-cp-insert)
|
||||
(eldoc-add-command #'evil-cp-insert-at-end-of-form)
|
||||
(eldoc-add-command #'evil-cp-insert-at-beginning-of-form)
|
||||
(eldoc-add-command #'evil-cp-append))
|
||||
|
||||
(defun spacemacs-evil/init-evil-args ()
|
||||
(use-package evil-args
|
||||
:defer t
|
||||
|
|
Loading…
Reference in New Issue