mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add option for flycheck-joker for clojure
This is provided as a +feature on clojure because joker is not included in the standard clojure distribution, and I wouldn't assume a given clojurist has or wants to have it installed. But I think installing it is the least-fuss option for syntax-checking clojure/script code in emacs with flycheck.
This commit is contained in:
4
modules/lang/clojure/+joker.el
Normal file
4
modules/lang/clojure/+joker.el
Normal file
@ -0,0 +1,4 @@
|
||||
;;; lang/clojure/+joker.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! flycheck-joker
|
||||
:after (flycheck clojure-mode))
|
@ -37,3 +37,6 @@
|
||||
(map! :map clj-refactor-map
|
||||
:localleader
|
||||
:desc "Refactor hydra" :n "r" #'hydra-cljr-help-menu/body)))
|
||||
|
||||
(when (and (featurep! +joker) (featurep! :feature syntax-checker))
|
||||
(load! "+joker"))
|
||||
|
@ -4,3 +4,6 @@
|
||||
(package! cider)
|
||||
(package! clj-refactor)
|
||||
|
||||
(when (and (featurep! :feature syntax-checker)
|
||||
(featurep! +joker))
|
||||
(package! flycheck-joker))
|
||||
|
Reference in New Issue
Block a user