|
1 |
| -;; -------------------------------------------------- |
| 1 | +;; --------------------------------------------------------- |
2 | 2 | ;; Clojure LSP user level (global) configuration
|
3 | 3 | ;; https://clojure-lsp.io/settings/
|
4 | 4 | ;;
|
5 | 5 | ;; Complete config.edn example with default settings
|
6 | 6 | ;; https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/all-available-settings.edn
|
7 |
| -;; -------------------------------------------------- |
| 7 | +;; --------------------------------------------------------- |
8 | 8 |
|
9 | 9 |
|
10 |
| -{;; -------------------------------------------------- |
| 10 | +{;; --------------------------------------------------------- |
11 | 11 | ;; Project analysis
|
12 | 12 |
|
13 | 13 | ;; auto-resolved for deps.edn, project.clj or bb.edn projects
|
|
51 | 51 | :download-jdk-source? false}
|
52 | 52 |
|
53 | 53 | ;; End of Project analysis
|
54 |
| - ;; -------------------------------------------------- |
| 54 | + ;; --------------------------------------------------------- |
55 | 55 |
|
56 |
| - |
57 |
| - ;; -------------------------------------------------- |
| 56 | +;; --------------------------------------------------------- |
58 | 57 | ;; Linter configuration
|
59 | 58 |
|
60 | 59 | :linters
|
|
72 | 71 | :copy-kondo-configs? true
|
73 | 72 |
|
74 | 73 | ;; End of Linter configuration
|
75 |
| - ;; -------------------------------------------------- |
76 |
| - |
| 74 | + ;; --------------------------------------------------------- |
77 | 75 |
|
78 |
| - ;; -------------------------------------------------- |
| 76 | +;; --------------------------------------------------------- |
79 | 77 | ;; Refactor code
|
80 | 78 |
|
81 | 79 | ;; namespaces
|
|
98 | 96 | :keep-parens-when-threading? false
|
99 | 97 |
|
100 | 98 | ;; End of Refactor code
|
101 |
| - ;; -------------------------------------------------- |
| 99 | + ;; --------------------------------------------------------- |
102 | 100 |
|
103 |
| - ;; -------------------------------------------------- |
| 101 | +;; --------------------------------------------------------- |
104 | 102 | ;; Clojure formatting configuration - cljfmt
|
105 | 103 |
|
106 | 104 | ;; location of cljfmt configuration for formatting
|
|
111 | 109 | :cljfmt {}
|
112 | 110 |
|
113 | 111 | ;; End of Clojure formatting configuration - cljfmt
|
114 |
| - ;; -------------------------------------------------- |
| 112 | + ;; --------------------------------------------------------- |
115 | 113 |
|
116 |
| - ;; -------------------------------------------------- |
| 114 | +;; --------------------------------------------------------- |
117 | 115 | ;; LSP snippets
|
118 | 116 | ;; https://clojure-lsp.io/features/#snippets
|
119 | 117 |
|
|
318 | 316 | ;; ---------------------------------------------------------
|
319 | 317 | ]
|
320 | 318 | ;; End of LSP snippets
|
321 |
| - ;; -------------------------------------------------- |
| 319 | + ;; --------------------------------------------------------- |
322 | 320 |
|
323 |
| - ;; -------------------------------------------------- |
| 321 | +;; --------------------------------------------------------- |
324 | 322 | ;; Visual LSP components
|
325 | 323 |
|
326 | 324 | :code-lens {:segregate-test-references true}
|
|
337 | 335 | :clojuredocs true}
|
338 | 336 |
|
339 | 337 | ;; End of Visual LSP components
|
340 |
| - ;; -------------------------------------------------- |
| 338 | + ;; --------------------------------------------------------- |
341 | 339 |
|
342 |
| - ;; -------------------------------------------------- |
| 340 | +;; --------------------------------------------------------- |
343 | 341 | ;; LSP general configuration options
|
344 | 342 |
|
345 | 343 | ;; Exit clojure-lsp if any errors found, e.g. classpath scan failure
|
|
349 | 347 | :text-document-sync-kind :full
|
350 | 348 |
|
351 | 349 | ;; End of LSP general configuration options
|
352 |
| - ;; -------------------------------------------------- |
| 350 | + ;; --------------------------------------------------------- |
353 | 351 |
|
354 |
| - ;; -------------------------------------------------- |
| 352 | +;; --------------------------------------------------------- |
355 | 353 | ;; File locations
|
356 | 354 |
|
357 | 355 | ;; project analysis cache to speed clojure-lsp startup
|
|
362 | 360 | :log-path "/tmp/clojure-lsp.*.out"
|
363 | 361 |
|
364 | 362 | ;; End of file locations
|
365 |
| - ;; -------------------------------------------------- |
| 363 | + ;; --------------------------------------------------------- |
366 | 364 | }
|
0 commit comments