about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-lsp.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-prelude/personal/lisp/init-lsp.el')
-rw-r--r--emacs-prelude/personal/lisp/init-lsp.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/emacs-prelude/personal/lisp/init-lsp.el b/emacs-prelude/personal/lisp/init-lsp.el
new file mode 100644
index 0000000..c92ade7
--- /dev/null
+++ b/emacs-prelude/personal/lisp/init-lsp.el
@@ -0,0 +1,23 @@
+(use-package lsp-mode
+  :hook (clojure-mode . lsp)
+  :config
+  (setq gc-cons-threshold (* 100 1024 1024)
+        read-process-output-max (* 1024 1024)
+        treemacs-space-between-root-nodes nil
+        lsp-ui-doc-delay 1
+        lsp-lens-enable nil
+        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-enable-symbol-highlighting t
+        lsp-ui-sideline-show-diagnostics t
+        lsp-ui-sideline-show-code-actions nil
+        lsp-modeline-code-actions-enable nil ;; TODO this causes errors in *Messages* if t
+        lsp-modeline-diagnostics-enable nil
+        ;; user cider for indendation and completion instead
+        lsp-enable-indentation nil
+        lsp-completion-enable nil))
+
+(provide 'init-lsp)
+