1
0
Fork 0

Add checkdoc settings

This commit is contained in:
Tom Willemse 2021-02-27 15:37:36 -08:00
parent feec611d17
commit 21bd7564f5

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0915.224953 ;; Version: 2021.0227.150704
;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci oni-yasnippet oni-hydra rainbow-delimiters nameless erefactor flycheck-relint handle elisp-format) ;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci oni-yasnippet oni-hydra rainbow-delimiters nameless erefactor flycheck-relint handle elisp-format)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -26,6 +26,7 @@
;;; Code: ;;; Code:
(require 'checkdoc)
(require 'flycheck-relint) (require 'flycheck-relint)
(require 'handle) (require 'handle)
(require 'hydra) (require 'hydra)
@ -130,6 +131,10 @@ _eb_: Buffer
(flycheck-relint-setup) (flycheck-relint-setup)
(add-hook 'emacs-lisp-mode-hook 'checkdoc-minor-mode)
(setq checkdoc-spellcheck-documentation-flag t)
(handle '(emacs-lisp-mode inferior-emacs-lisp-mode) (handle '(emacs-lisp-mode inferior-emacs-lisp-mode)
:repls 'ielm :repls 'ielm
:formatters 'elisp-format-buffer) :formatters 'elisp-format-buffer)