fix(zig): use zig ast-check for flycheck checker
This commit is contained in:
parent
f0f414ac67
commit
3ea4952f3f
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@
|
|||
|
||||
(when (featurep! :checkers syntax)
|
||||
(flycheck-define-checker zig
|
||||
"A zig syntax checker using the zig-fmt interpreter."
|
||||
:command ("zig" "fmt" (eval (buffer-file-name)))
|
||||
"A zig syntax checker using zig's `ast-check` command."
|
||||
:command ("zig" "ast-check" (eval (buffer-file-name)))
|
||||
:error-patterns
|
||||
((error line-start (file-name) ":" line ":" column ": error: " (message) line-end))
|
||||
:modes zig-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue