Skip to content

Commit

Permalink
use --stdin in flycheck mode (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira authored Aug 19, 2022
1 parent bcaf319 commit 74e8925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion juvix-mode/flycheck-juvix.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@

(flycheck-define-checker juvix
"A Juvix syntax checker."
:command ("juvix" "internal" "microjuvix" "typecheck" "--only-errors" "--no-colors"
:command ("juvix" "internal" "microjuvix" "typecheck" "--only-errors" "--no-colors" "--stdin"
(option-flag "--no-stdlib" juvix-disable-embedded-stdlib)
source-original)
:standard-input t
:error-patterns
(
(error line-start (file-name) ":" line ":" column ": error:" (message (one-or-more (not "ת"))))
Expand Down

0 comments on commit 74e8925

Please sign in to comment.