Skip to content

turbo-cafe/flymake-kondor

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

flymake-kondor

This package integrates clj-kondo a Clojure linter into Emacs’ Flymake. To use it get clj-kondo following installation instructions; then proceed with your preferred way of adding packages.

MELPA

(use-package flymake-kondor
  :ensure t
  :hook (clojure-mode . flymake-kondor-setup))

GitHub

(el-get-bundle flymake-kondor
               :url "https://raw.githubusercontent.com/turbo-cafe/flymake-kondor/master/flymake-kondor.el"
               (add-hook 'clojure-mode-hook #'flymake-kondor-setup))

Local

(add-to-list 'load-path "~/path/to/flymake-kondor")
(require "flymake-kondor")
(add-hook 'clojure-mode-hook #'flymake-kondor-setup)

Note about Flymake

To start linting activate M-x flymake-mode in a Clojure buffer; even better assign hook and keys so you could navigate to the previous or next error in the buffer instantly.

(use-package flymake
  :ensure nil
  :bind (([f8] . flymake-goto-next-error)
         ([f7] . flymake-goto-prev-error))
  :hook (prog-mode . (lambda () (flymake-mode t)))
  :config (remove-hook 'flymake-diagnostic-functions #'flymake-proc-legacy-flymake))

There is a sister project that integrates clj-kondo into Flycheck.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published