Disable flycheck in elisp

This commit is contained in:
Zelong Kuang
2025-12-23 07:34:32 +11:00
parent abc61e41a1
commit 5dd3599dbc
2 changed files with 15 additions and 14 deletions

View File

@@ -7,16 +7,18 @@
;; Rerunning checks on every newline is a mote excessive. ;; Rerunning checks on every newline is a mote excessive.
(delq 'new-line flycheck-check-syntax-automatically) (delq 'new-line flycheck-check-syntax-automatically)
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
;; And don't recheck on idle as often ;; And don't recheck on idle as often
(setq flycheck-idle-change-delay 1.0) (setq flycheck-idle-change-delay 1.0
;; For the above functionality, check syntax in a buffer that you switched to ;; For the above functionality, check syntax in a buffer that you switched to
;; only briefly. This allows "refreshing" the syntax check state for several ;; only briefly. This allows "refreshing" the syntax check state for several
;; buffers quickly after e.g. changing a config file. ;; buffers quickly after e.g. changing a config file.
(setq flycheck-buffer-switch-check-intermediate-buffers t) flycheck-buffer-switch-check-intermediate-buffers t
;; Display errors a little quicker (default is 0.9s) ;; Display errors a little quicker (default is 0.9s)
(setq flycheck-display-errors-delay 0.25)) flycheck-display-errors-delay 0.25))
(use-package flyover (use-package flyover
:diminish :diminish

View File

@@ -153,8 +153,7 @@ the element after the #+HEADER: tag."
(setq org-appear-autoemphasis t (setq org-appear-autoemphasis t
org-appear-autosubmarkers t org-appear-autosubmarkers t
org-appear-autolinks nil) org-appear-autolinks nil)
(run-at-time nil nil #'org-appear--set-elements) (run-at-time nil nil #'org-appear--set-elements))
)
(use-package hl-todo (use-package hl-todo
:hook (prog-mode . hl-todo-mode) :hook (prog-mode . hl-todo-mode)