/fnl/.clj-kondo/

-tty/atom/src/ui.h?h=main' type='application/atom+xml'/>
about summary refs log tree commit diff stats
path: root/src/ui.h
blob: 6e33efc66482b2a0796f0a1f8ed07e1f9047f559 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
s-prelude/personal/lisp/init-lsp.el?h=sops&id=64ca29b76b7f265ab2d5f5a88452118da40aa4c8'>64ca29b ^
1
2
3
4
5
6
7
                     

                  



                                             








                                             
                                            
                                           
                                

                                                            
                                  

                                                      


                   
(use-package lsp-mode
  :diminish
  :after key-chord
  :hook (clojure-mode . lsp)
  :config
  (setq gc-cons-threshold (* 100 1024 1024)
        read-process-output-max (* 1024 1024)
        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
        lsp-modeline-diagnostics-enable nil
        lsp-ui-doc-position 'top
        ;; user cider for indendation and completion instead
        lsp-enable-indentation nil
        lsp-completion-enable nil)
  (key-chord-define-global "QQ" 'lsp-find-references)
  (key-chord-define-global "GG" 'lsp-find-definition))

(provide 'init-lsp)