File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -206,10 +206,11 @@ Otherwise, only the docstring is returned."
206
206
; ; so we just display the docstring
207
207
(t docstring))))
208
208
209
- (defun cider-eldoc-format-variable (thing pos eldoc-info )
209
+ (defun cider-eldoc-format-variable (thing eldoc-info )
210
210
" Return the formatted eldoc string for a variable.
211
- THING is the variable name. POS will always be 0 here.
212
- ELDOC-INFO is a p-list containing the eldoc information."
211
+
212
+ THING is the variable name. ELDOC-INFO is a p-list containing the eldoc
213
+ information."
213
214
(let* ((ns (lax-plist-get eldoc-info " ns" ))
214
215
(symbol (lax-plist-get eldoc-info " symbol" ))
215
216
(docstring (lax-plist-get eldoc-info " docstring" ))
@@ -467,7 +468,7 @@ Only useful for interop forms. Clojure forms would be returned unchanged."
467
468
(when eldoc-info
468
469
(if (equal (cider-eldoc-thing-type eldoc-info) 'fn )
469
470
(cider-eldoc-format-function thing pos eldoc-info)
470
- (cider-eldoc-format-variable thing pos eldoc-info))))))
471
+ (cider-eldoc-format-variable thing eldoc-info))))))
471
472
472
473
(defun cider-eldoc-setup ()
473
474
" Setup eldoc in the current buffer.
You can’t perform that action at this time.
0 commit comments