Created
April 6, 2022 13:48
-
-
Save andrewzhurov/ef28c143ef94e977537f2a50fc7cce33 to your computer and use it in GitHub Desktop.
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 setup from https://clojure-lsp.io/clients/#emacs | |
(setenv "PATH" (concat | |
"/usr/local/bin" ;; for 'clojure' | |
path-separator | |
(getenv "PATH"))) | |
;; as found in https://emacs-lsp.github.io/lsp-mode/page/adding-new-language/#registering-server | |
(setq lsp-language-id-configuration '((clojure-mode . "clojure") | |
(clojurescript-mode . "clojure") | |
(clojurec-mode . "clojure") | |
(clojurex-mode . "clojure"))) | |
(setq lsp-clojure-server-command '("/home/user1/gits/clojure-lsp/clojure-lsp/clojure-lsp")) ;; hardcoded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment