clojure-emacs / clojure-emacs/orchard

Add additional types for eldoc

Open
#99 4 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Clojure
Stars
340
Forks
52
Avg merge
55m
Merged PRs (30d)
5

Description

Currently the eldoc type is either `function` or `variable`:

```clj
(defn- extract-eldoc
[info]
(if-let [arglists (seq (-> info extract-arglists format-arglists))]
{:eldoc arglists :type "function"}
{:type "variable"}))
```
This means that the result users see is not particularly accurate, not to mention that the function check is pretty primitive. We should add types like `macro`, `special-form`, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.