You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string but rather looked up dynamically
#2045
Open
nordlow opened this issue
Nov 21, 2023
· 1 comment
. I can of course duplicate the checker but that needs to copy all the :error-patterns and use two passing of :predicate one to d-dmd-all and the inversion to d-dub-all which is not adhere to the DRY-pattern. Can't you just relax the requirement that the first element of the :command property must be known at evaluation time to be a string?
The text was updated successfully, but these errors were encountered:
nordlow
changed the title
Need a version of flycheck-define-checker and flycheck-define-command-checker doesn't have to have the checker executable be hard-coded to a string.
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string.
Nov 21, 2023
nordlow
changed the title
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string.
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string
Nov 21, 2023
nordlow
changed the title
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string
Need a version of flycheck-define-checker and flycheck-define-command-checker that doesn't have to have the checker executable be hard-coded to a string but rather looked up dynamically
Nov 21, 2023
I want a version of
flycheck-define-checker
andflycheck-define-command-checker
that doesn't have to have the checker executable be hard-coded to a string.
This is needed for source files for the D programming language (.d .di) that have the prefix
#!/usr/bin/env dub
at the top of its contents. Such a .d FILE is called as a script via
dub --single FILE.d
instead of the D compiler typically beingdmd
.I guess I can use
flycheck-define-generic-checker
but that API is so different fromflycheck-define-command-checker
.So instead of my current
I would like to be able to write
. I can of course duplicate the checker but that needs to copy all the
:error-patterns
and use two passing of:predicate
one tod-dmd-all
and the inversion tod-dub-all
which is not adhere to the DRY-pattern. Can't you just relax the requirement that the first element of the :command property must be known at evaluation time to be a string?The text was updated successfully, but these errors were encountered: