diff options
author | Felicián Németh <felician.nemeth@gmail.com> | 2024-07-30 19:53:08 +0200 |
---|---|---|
committer | Felicián Németh <felician.nemeth@gmail.com> | 2024-07-30 19:53:08 +0200 |
commit | 34eb04fcd456158f486b59f4e3b3ad8f95f9fbaa (patch) | |
tree | a1eba098f1740f08c85fb359b15fa76e5daf287a | |
parent | 31cf3e66c1e93107aaa04f1c7e266d84ce3b31ea (diff) |
Add menu item "Find related file"
* eglot-x.el (eglot-x-menu): Add new item, show it when eglot-x
has its own `ff-find-other-file' version for the current server.
-rw-r--r-- | eglot-x.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -296,6 +296,10 @@ connections." ["Customize Eglot-x" (lambda () (interactive) (customize-group "eglot-x"))] "--" ["Find additional references" eglot-x-find-refs] + ["Find related file" ff-find-other-file + :visible (and eglot-x-enable-ff-related-file-integration + (map-contains-key eglot--saved-bindings + 'ff-other-file-alist))] ["Join lines" eglot-x-join-lines :visible (eglot--server-capable :experimental :joinLines)] ["Move item down" eglot-x-move-item-down |