diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-04 17:00:53 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-04 17:00:53 +0100 |
commit | 5cc2f2ed4928037394f6a14e6c958e926424380b (patch) | |
tree | 1d0681966cffe8e7bb3e6517953390db71305eaf /.emacs.d/lisp/init-lsp.el | |
parent | 945eca786b9c1747b57e5d6fd9969065a9ff5850 (diff) | |
download | dotfiles-5cc2f2ed4928037394f6a14e6c958e926424380b.tar.gz |
Fix lsp-command-map binding
Diffstat (limited to '.emacs.d/lisp/init-lsp.el')
-rw-r--r-- | .emacs.d/lisp/init-lsp.el | 4 |
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 |