Pull in my fork of ivy-xref
This commit is contained in:
parent
2c22745a17
commit
8cb8d0dcee
@ -4895,6 +4895,22 @@ An alternative minibuffer completion framework:
|
||||
(leader-def-key "cs" #'lsp-ivy-workspace-symbol)
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ivy-xref
|
||||
:ensure t
|
||||
:straight (ivy-xref :fork (:host github :repo "jdormit/ivy-xref"))
|
||||
:init
|
||||
;; xref initialization is different in Emacs 27 - there are two different
|
||||
;; variables which can be set rather than just one
|
||||
(when (>= emacs-major-version 27)
|
||||
(setq xref-show-definitions-function #'ivy-xref-show-defs))
|
||||
;; Necessary in Emacs <27. In Emacs 27 it will affect all xref-based
|
||||
;; commands other than xref-find-definitions (e.g. project-find-regexp)
|
||||
;; as well
|
||||
(setq xref-show-xrefs-function #'ivy-xref-show-xrefs))
|
||||
#+END_SRC
|
||||
|
||||
|
||||
* graphviz
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package graphviz-dot-mode
|
||||
|
Loading…
Reference in New Issue
Block a user