diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-13 15:55:08 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-13 15:55:08 +0100 |
commit | 8aef5c1a44a7c12c05fb2470cf2d6d33ce30d3f2 (patch) | |
tree | f44ce9fcec4e71412fbab082127a8dc00a66ea7d /.emacs.d | |
parent | 33b0b94d454b648c2509cd8a5b782dc72d0ceeb4 (diff) | |
download | dotfiles-8aef5c1a44a7c12c05fb2470cf2d6d33ce30d3f2.tar.gz |
Make sure lsp lens mode is diminished
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-lsp.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el index 14579e1..3c44367 100644 --- a/.emacs.d/lisp/init-lsp.el +++ b/.emacs.d/lisp/init-lsp.el @@ -10,13 +10,17 @@ (use-package lsp-mode :diminish - :hook (clojure-mode . lsp) + :hook + (clojure-mode . lsp) + (lsp-lens-mode . really-diminish-lsp-lens-mode) :config + (defun really-diminish-lsp-lens-mode () + (diminish 'lsp-lens-mode) + (remove-hook 'lsp-lens-mode-hook 'really-diminish-lsp-lens-mode)) (if (eq system-type 'darwin) (setq lsp-keymap-prefix "s-l") (setq lsp-keymap-prefix "C-c C-l")) (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 lsp-ui-peek-enable t |