这是indexloc提供的服务,不要输入任何密码
Skip to content

oxalorg/clojuredocs.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

clojuredocs.el

  • Search for all functions available on clojuredocs from within emacs
  • Open the documentation + examples of a function inside emacs buffer
  • Modify and evaluate examples from within the buffer (if clojure repl is available)

Read blog post here: https://oxal.org/blog/clojuredocs-emacs-intgeration-browser-elisp/

Screenshot

On calling M-x clojuredocs-lookup

image

On selecting an entry from the above minibuffer completion:

image

BONUS: change and evaluate the examples from this buffer if you are connected to a clojure repl!

Installation

Make sure you have request library installed.

This is what I have in my init.el

(use-package request)

For elpaca use:

(use-package clojuredocs
  :ensure (clojuredocs
            :host github
            :repo "oxalorg/clojuredocs.el"))

For straight.el use

(use-package clojuredocs
  :straight (clojuredocs
              :type git
              :host github
              :repo "oxalorg/clojuredocs.el"))

For first time setup run

M-x clojuredocs-download

or add this to your config

(unless (file-exists-p clojuredocs-cache-file)
  (message "ClojureDocs cache file not found, downloading...")
  (clojuredocs-download))

then use M-x clojuredocs-lookup or bind it a hotkey.

About

Emacs browser for clojuredocs.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published