Fix adding evil-set-jump to rtags-jump-hook when evil is not enabled
This commit is contained in:
parent
cb3e780a96
commit
25977d662b
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ compilation database is present in the project.")
|
|||
;; Use rtags-imenu instead of imenu/counsel-imenu
|
||||
(map! :map (c-mode-map c++-mode-map) [remap imenu] #'rtags-imenu)
|
||||
|
||||
(add-hook 'rtags-jump-hook #'evil-set-jump)
|
||||
(when (featurep 'evil) (add-hook 'rtags-jump-hook #'evil-set-jump))
|
||||
(add-hook 'rtags-after-find-file-hook #'recenter))
|
||||
|
||||
(def-package! ivy-rtags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue