From 5cc2f2ed4928037394f6a14e6c958e926424380b Mon Sep 17 00:00:00 2001 From: David Morgan Date: Sat, 4 Sep 2021 17:00:53 +0100 Subject: Fix lsp-command-map binding --- .emacs.d/lisp/init-lsp.el | 4 ++-- 1 file 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 -- cgit 1.4.1-2-gfad0