Last active
November 5, 2022 22:31
-
-
Save borkdude/61d1532c57f9efdfd336a9ab6f468353 to your computer and use it in GitHub Desktop.
clojure-lsp config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; clojure-lsp | |
;; see https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/ | |
;; and https://clojure-lsp.github.io/clojure-lsp/clients/#emacs | |
;; ensure the lsp-mode package is installed | |
(add-hook 'clojure-mode-hook 'lsp) | |
(add-hook 'clojurescript-mode-hook 'lsp) | |
(add-hook 'clojurec-mode-hook 'lsp) | |
(setq gc-cons-threshold (* 100 1024 1024) | |
read-process-output-max (* 1024 1024) | |
treemacs-space-between-root-nodes nil | |
lsp-headerline-breadcrumb-enable nil | |
company-idle-delay 0.2 | |
company-minimum-prefix-length 1 | |
;; lsp-lens-enable t | |
lsp-file-watch-threshold 10000 | |
lsp-signature-auto-activate nil | |
lsp-clojure-custom-server-command '("/Users/borkdude/Dropbox/bin/clojure-lsp") | |
;; I use clj-kondo from master | |
lsp-diagnostics-provider :none | |
lsp-enable-indentation nil ;; uncomment to use cider indentation instead of lsp | |
;; lsp-enable-completion-at-point nil ;; uncomment to use cider completion instead of lsp | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment