Update
All checks were successful
/ Test config on 20 (push) Successful in 25s

This commit is contained in:
Maciej 2026-06-01 09:54:38 +03:00
parent bcaa83cfd5
commit 377b95bd7f
Signed by: maciej
GPG key ID: 28243AF437E32F99
7 changed files with 63 additions and 42 deletions

View file

@ -3,23 +3,30 @@
;;; Code:
;; Use flycheck checks with flymake.
(eval-when-compile
(declare-function cape-capf-super 'cape)
(declare-function cape-dabbrev 'cape)
(declare-function cape-file 'cape)
(declare-function cape-keyword 'cape)
(declare-function el-patch-defun 'el-patch)
(declare-function el-patch-feature 'el-patch)
(declare-function flymake--diagnostics-buffer-name 'flymake)
(declare-function flymake--project-diagnostics-buffer 'flymake)
(declare-function flymake-diagnostics-buffer-mode 'flymake)
(declare-function flymake-project-diagnostics-mode 'flymake)
(declare-function project-root 'project)
(declare-function yasnippet-capf 'yasnippet-capf)
(defvar flymake--diagnostics-buffer-source)
(defvar flymake-mode)
(defvar flymake-show-buffer-diagnostics)
(defvar flymake-show-project-diagnostics))
(use-package flymake-flycheck :ensure t :defer t :config
(setq-default
flycheck-disabled-checkers
(append (default-value 'flycheck-disabled-checkers)
'(emacs-lisp emacs-lisp-checkdoc emacs-lisp-package sh-shellcheck))))
(eval-when-compile
(declare-function flymake--project-diagnostics-buffer 'flymake)
(declare-function flymake--diagnostics-buffer-name 'flymake)
(declare-function flymake-project-diagnostics-mode 'flymake)
(declare-function flymake-diagnostics-buffer-mode 'flymake)
(declare-function cape-capf-super 'cape)
(declare-function cape-dabbrev 'cape)
(declare-function cape-file 'cape)
(declare-function cape-keyword 'cape)
(declare-function yasnippet-capf 'yasnippet-capf))
(use-package el-patch :ensure t :defer t
:config
;; Show the diagnostics from flymake in a second window (usually on the