Replace :xref-backend setting with :jump
Which takes :definitions, :references, :documentation and :xref-backend. Each accepts a function that will jump to definitions, references, and documentation respectively. If a major-mode has an :xref-backend, you don't need :definitions or :references.
This commit is contained in:
parent
928812da8a
commit
bc3aee2a4f
6 changed files with 102 additions and 56 deletions
|
@ -292,6 +292,7 @@
|
|||
:m "gT" #'+workspace/switch-left
|
||||
:m "gd" #'+jump/definition
|
||||
:m "gD" #'+jump/references
|
||||
:m "gh" #'+jump/documentation
|
||||
:n "gp" #'+evil/reselect-paste
|
||||
:n "gr" #'+eval:region
|
||||
:n "gR" #'+eval/buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue