diff --git a/.config/emacs/init.el b/.config/emacs/init.el index af3adac..92d958a 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -234,6 +234,13 @@ than following the buffer." (add-hook 'completion-at-point-functions #'cape-file) ) +(use-package dumb-jump + :ensure t + :init + (add-hook 'xref-backend-functions #'dumb-jump-xref-activate) + :config + (setq dumb-jump-prefer-searcher 'rg)) + (use-package highlight-parentheses :ensure t :hook (prog-mode . highlight-parentheses-mode) @@ -411,5 +418,6 @@ than following the buffer." ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(cape consult corfu gruber-darker-theme highlight-parentheses hl-todo - magit orderless vertico))) + '(cape consult corfu-candidate-overlay dumb-jump gruber-darker-theme + highlight-parentheses hl-todo js2-mode magit orderless + vertico)))