Add flycheck-clj-kondo for emacs linting

This commit is contained in:
niten 2022-06-22 11:26:51 -07:00
parent 33e2640c2f
commit e08a0da9b3
1 changed files with 8 additions and 3 deletions

View File

@ -18,14 +18,19 @@
;;(package! md4rd) ;;(package! md4rd)
(package! noflet) (package! noflet)
(package! org-roam) (package! org-roam)
(package! flycheck-clj-kondo)
;; Not sure if this is really needed...
(add-hook! clojure-mode
(require 'flycheck-clj-kondo))
(package! graphviz-dot-mode) (package! graphviz-dot-mode)
(use-package! marginalia (package! marginalia
:config :config
(marginalia-mode)) (marginalia-mode))
(use-package embark) (package! embark)
(defun tls-nocheck-error-advice (orig-fun &rest args) (defun tls-nocheck-error-advice (orig-fun &rest args)
"Advise a function (with :around) not to check TLS errors. "Advise a function (with :around) not to check TLS errors.
@ -37,7 +42,7 @@ Usage: (advice-add 'my-function-for-advisement :around 'tls-nocheck-error-advice
(let ((gnutls-verify-error nil)) (let ((gnutls-verify-error nil))
(apply orig-fun args))) (apply orig-fun args)))
(use-package! elpher (package! elpher
:config :config
(advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice)) (advice-add 'elpher-get-gemini-response :around 'tls-nocheck-error-advice))