Skip to content

Allow putting cmd for linters or formatter declared with fn and detect if executables exist in :Guard info #212

Description

@231tr0n

Problem X you are solving:

Any linter or formatter declared using the fn function does not show up in the :Guard info command and the guard does not check for the availability of this executable.

Problems encountered under the status quo:

I have quite a few formatters and linters declared using the fn function which result in these formatters and linters not undergoing executable availability checks.

Suggested feature Y:

Change in the source code allowing declaration of both fn and cmd and checking for cmd even if fn is declared or not.

How to solve X now:

Allow declaring cmd with fn and check for the executable declared in cmd along with fn.

How can X be solved after feature Y is implmented:

Declaring cmd with fn results in the executable check being applied to all the linters and formatter declared using fn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions