about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-04 17:00:53 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-04 17:00:53 +0100
commit5cc2f2ed4928037394f6a14e6c958e926424380b (patch)
tree1d0681966cffe8e7bb3e6517953390db71305eaf
parent945eca786b9c1747b57e5d6fd9969065a9ff5850 (diff)
downloaddotfiles-5cc2f2ed4928037394f6a14e6c958e926424380b.tar.gz
Fix lsp-command-map binding
-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