about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-lsp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el
index ec115ef..b95c6c2 100644
--- a/.emacs.d/lisp/init-lsp.el
+++ b/.emacs.d/lisp/init-lsp.el
@@ -11,11 +11,11 @@
 (use-package lsp-mode
   :diminish
   :hook (clojure-mode . lsp)
-  :init
+  :config
   (if (eq system-type 'darwin)
       (setq lsp-keymap-prefix "s-l")
     (setq lsp-keymap-prefix "C-c C-l"))
-  :config
+  (define-key lsp-mode-map (kbd lsp-keymap-prefix) lsp-command-map)
   (diminish 'lsp-lens-mode)
   (setq read-process-output-max (* 1024 1024)
         lsp-ui-sideline-enable t