Skip to content

Commit

Permalink
Add eglot functions
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Apr 7, 2024
1 parent 71ca3e3 commit 5710279
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions cats/+eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
:pretty-hydra
((:color teal)
("Eglot"
(("e" #'eglot "eglot")
(("e" #'eglot "start")
("E" #'eglot-reconnect "reconnect")
("k" #'eglot-shutdown "eglot shutdown")
("K" #'eglot-shutdown-all "eglot shutdown all")))))
("K" #'eglot-shutdown-all "eglot shutdown all")
("r" #'eglot-rename "rename")
("f" #'eglot-format "format")
("F" #'eglot-format-buffer "format buffer")
("d" #'eglot-find-declaration "declaration")
("i" #'eglot-find-implementation "implementations"))
"Code Actions"
(("c" #'eglot-code-actions "actions")
("o" #'eglot-code-action-organize-imports "organize imports")
("q" #'eglot-code-action-quickfix "quickfix")
("e" #'eglot-code-action-extract "extract")
("I" #'eglot-code-action-inline "inline")
("R" #'eglot-code-action-rewrite "rewrite")))))

0 comments on commit 5710279

Please sign in to comment.