summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-prog.el42
1 files changed, 1 insertions, 41 deletions
diff --git a/emacs.d/custom/fcuny-prog.el b/emacs.d/custom/fcuny-prog.el
index 64ba181..182e9e6 100644
--- a/emacs.d/custom/fcuny-prog.el
+++ b/emacs.d/custom/fcuny-prog.el
@@ -25,32 +25,6 @@
:ensure t
:hook ((go-mode . lsp-deferred))
:commands (lsp lsp-deferred)
- :pretty-hydra
- ((:title "lsp" :color teal :quit-key "q")
- ("Connection"
- (("cc" lsp "start")
- ("cr" lsp-restart-workspace "restart")
- ("cd" lsp-describe-session "describe session")
- ("cq" lsp-disconnect "disconnect"))
- "Find & Goto"
- (("fd" lsp-describe-thing-at-point "describe symbol")
- ("fm" lsp-ui-imenu "imenu")
- ("ft" lsp-find-type-definition "type definition"))
- "Refactor"
- (("rr" lsp-rename "rename")
- ("ra" lsp-execute-code-action "code action")
- ("rf" lsp-format-buffer "format"))
- "Toggles"
- (("tl" lsp-lens-mode "toggle lens" :toggle t :exit nil))))
- :mode-hydra
- ((go-mode)
- (:color teal :quit-key "q" :title "Language Server Commands")
- ("LSP"
- (("d" lsp-describe-thing-at-point "describe")
- ("R" lsp-rename "rename")
- ("A" lsp-execute-code-action "code action")
- ("F" lsp-format-buffer "format")
- ("l" lsp-mode-hydra/body "more..."))))
:custom
(lsp-session-file (expand-file-name "lsp-session-v1" fcuny/path-emacs-var))
(lsp-enable-snippet nil)
@@ -60,14 +34,6 @@
:ensure t
:hook (lsp-mode . lsp-ui-mode)
:commands lsp-ui-mode
- :pretty-hydra
- (lsp-mode-hydra
- ("Toggles"
- (("td" lsp-ui-doc-mode "toggle hover doc" :toggle t :exit nil)
- ("ts" lsp-ui-sideline-mode "toggle sideline" :toggle t :exit nil))
- "Find & Goto"
- (("gr" lsp-ui-peek-find-references "references")
- ("gd" lsp-ui-peek-find-definitions "definitions"))))
:custom
(lsp-ui-doc-enable nil)
(lsp-ui-doc-include-signature t)
@@ -114,13 +80,7 @@
(tab-width 4))
(use-package gotest
- :ensure t
- :mode-hydra
- (go-mode nil
- ("Tests"
- (("tt" go-test-current-test "current test")
- ("tf" go-test-current-file "current file")
- ("tp" go-test-current-project "current project")))))
+ :ensure t)
(use-package lisp-mode
:bind