refactor: use negated flags

Ref: 7a806521a92c
This commit is contained in:
Henrik Lissner
2024-10-19 14:57:44 -04:00
parent 15904349cf
commit 448bc5cae2
73 changed files with 87 additions and 132 deletions

View File

@@ -20,8 +20,7 @@
(when (modulep! +tree-sitter)
(add-hook 'zig-mode-local-vars-hook #'tree-sitter! 'append))
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(when (modulep! :checkers syntax -flymake)
(eval '(flycheck-define-checker zig
"A zig syntax checker using zig's `ast-check` command."
:command ("zig" "ast-check" (eval (buffer-file-name)))