all repos — nixfiles @ 80f19b76f458c6661aff97c7ae96e05c5eaee60d

System and user configuration, managed by nix and home-manager

Emacs: enable progressively-nicer goto-{def,ref} commands

Alan Pearce
commit

80f19b76f458c6661aff97c7ae96e05c5eaee60d

parent

ebec58c9ebf9e99fca1f389bad50581e3a10cb9e

1 file changed, 8 insertions(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -762,6 +762,10 @@ :fringe-face 'flycheck-fringe-info
:info-list-face 'flycheck-error-list-info))) (use-package lsp-mode + :general (:states 'normal :keymaps 'lsp-mode-map + "gd" #'xref-find-definitions + "gr" #'xref-find-references + "C-t" #'xref-pop-marker-stack) :ghook ('(typescript-mode-hook dockerfile-mode-hook yaml-mode-hook
@@ -784,6 +788,10 @@
(use-package lsp-ui :after lsp-mode :ghook ('lsp-mode-hook) + :general (:states 'normal :keymaps 'lsp-ui-mode-map + "gd" #'lsp-ui-peek-find-definitions + "gr" #'lsp-ui-peek-find-references + "C-t" #'lsp-ui-peek-jump-backward) :config (progn (setq-default lsp-ui-doc-mode nil)) :custom ((lsp-ui-sideline-enable t)