about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-lsp.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-01 14:57:56 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-01 14:57:56 +0100
commit56338465abfca9338c356b511bb66773977d1543 (patch)
tree40b86e5093e27bd5a07e53eb9e5e2ef6c1ad2c0b /.emacs.d/lisp/init-lsp.el
parent06842692d5b3f629092fe9104cff6ba62eb625d8 (diff)
downloaddotfiles-56338465abfca9338c356b511bb66773977d1543.tar.gz
Turn on lsp lens and headerline breadcrumb
Diffstat (limited to '.emacs.d/lisp/init-lsp.el')
-rw-r--r--.emacs.d/lisp/init-lsp.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el
index ea4a850..e66eb24 100644
--- a/.emacs.d/lisp/init-lsp.el
+++ b/.emacs.d/lisp/init-lsp.el
@@ -6,6 +6,8 @@
   :config
   (require 'lsp-ui-imenu))
 
+(use-package lsp-treemacs)
+
 (use-package lsp-mode
   :diminish
   :hook (clojure-mode . lsp)
@@ -18,11 +20,12 @@
         lsp-ui-peek-enable t
         lsp-ui-peek-always-show t
         lsp-ui-doc-delay 1
-        lsp-lens-enable nil
+        lsp-lens-enable t
         lsp-ui-doc-enable t
         lsp-ui-doc-show-with-cursor t
         lsp-ui-doc-show-with-mouse t
-        lsp-headerline-breadcrumb-enable nil
+        lsp-headerline-breadcrumb-enable t
+        lsp-headerline-breadcrumb-enable-diagnostics nil
         lsp-enable-symbol-highlighting t
         lsp-ui-sideline-show-diagnostics t
         lsp-ui-sideline-show-code-actions nil
@@ -38,7 +41,5 @@
         ([remap xref-find-definitions] . lsp-ui-peek-find-definitions)
         ([remap xref-find-references] . lsp-ui-peek-find-references)))
 
-(use-package lsp-treemacs)
-
 (provide 'init-lsp)
 ;;; init-lsp.el ends here