Skip to content

Doesn't handle config misconfiguration #1

@ErikReider

Description

@ErikReider

Gnomes default config for Vala includes some options that are deprecated and unknown. When only deprecated options exist (no unknown), the formatter includes the uncrustify warning message in the temp file created. When a unknown option is used, the formatter command returns a 1.

let result = system(cmd)

When running uncrustify in the terminal, the formatted runs as usual even with the strange options.
The options used are:

deprecated: sp_cpp_lambda_paren = force
deprecated: sp_word_brace = ignore
unknown: align_number_left = false

Everything works as expected when commenting those lines out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions