Skip to content

feature request: Error messages for formatters #852

@9999years

Description

@9999years

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

When formatting failed, conform.nvim sends a brief message saying: Formatter failed. See :ConformInfo for details. It doesn't even include information about which formatter failed.

I would like for conform.nvim to log the error message itself in the vim.notify call, so I don't have to perform another step of opening :ConformInfo to see the actual error message.

Provide background

When I open :ConformInfo, I see the top of the conform.nvim logs in a weird semi-structured format. Depending on the length of the error messages, either only part of the error message is visible, or old unrelated error messages are visible as well. (Not super confident in this. I know I've had a lot of trouble parsing that bit of the info panel at a glance.)

Also, it seems like the Formatter failed. message is only shown the first time; this makes formatting feel unpredictable. Did I fix the error or not? I'd like to see the error message every time formatting fails.

What is the significance of this feature?

strongly desired

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions