git.fiddlerwoaroof.com
Browse code

bug(emacs): make slime/slime-company more consistent

Edward authored on 20/12/2020 22:26:08
Showing 2 changed files
... ...
@@ -73,7 +73,9 @@
73 73
   :ensure t
74 74
   :after company
75 75
   :config
76
-  (add-hook 'company-mode-hook (lambda () (company-posframe-mode 1))))
76
+  (add-hook 'company-mode-hook (lambda () (company-posframe-mode 1)))
77
+  (setq company-posframe-quickhelp-delay nil))
78
+
77 79
 
78 80
 
79 81
 (use-package jeison
... ...
@@ -1,9 +1,14 @@
1 1
 ;;;; SLIME SETUP {{{
2 2
 ;; (load (expand-file-name "~/quicklisp/slime-helper.el"))
3 3
 
4
-;; (add-to-list 'load-path (fwoar-git-repo "3dp/slime/"
5
-;;                                         "git@github.com:slime/slime.git"
6
-;;                                         "https://github.com/slime/slime.git"))
4
+(add-to-list 'load-path
5
+             (fwoar-git-repo "3dp/slime/"
6
+                             "git@github.com:slime/slime.git"
7
+                             "https://github.com/slime/slime.git"))
8
+(add-to-list 'load-path
9
+             (fwoar-git-repo "3dp/slime-company/"
10
+                             "git@github.com:anwyn/slime-company.git"
11
+                             "https://github.com/anwyn/slime-company.git"))
7 12
 ;; (require 'slime)
8 13
 
9 14
 
... ...
@@ -135,19 +140,16 @@ Examples:
135 140
 )
136 141
 
137 142
 (use-package slime-company
138
-  :ensure t
139
-  :after slime
140
-  :config (setq slime-company-completion 'fuzzy))
143
+  :ensure nil
144
+  :no-require t
145
+  :config
146
+  (setq slime-company-completion 'fuzzy)
147
+  )
141 148
 
142 149
 (defvar passwords ())
143 150
 (use-package slime
144
-  :ensure t
151
+  :ensure nil
145 152
   :after smartparens
146
-  :load-path (lambda ()
147
-               (list
148
-                (fwoar-git-repo "3dp/slime/"
149
-                                "git@github.com:slime/slime.git"
150
-                                "https://github.com/slime/slime.git")))
151 153
   :config
152 154
 
153 155
   (defslimefun get-passwd (id prompt)