Skip to content

feature request: wrap indent to column #58

@danthedeckie

Description

@danthedeckie

Did you check existing requests?

  • I have searched the existing issues

Describe the feature

It would be really cool if there was an option to have the wrap option automatically wrap long (diagnostic) messages to stay in their column.

Eg:

Image

instead of:

Image


The example screenshot was created by setting

setlocal breakindentop=shift:45

but that number (45) will obviously be dependent on the filenames & line numbers columns, so would need to be set in the plugin dynamically, not just generally.

Provide background

Diagnostic messages can be long - and the wrapping is great! But then it gets a bit hard to see where each one starts & stops.

What is the significance of this feature?

nice to have

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Not a priority. PRs welcomeenhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions