Skip to content

Always show colorcolumn if a line crosses it #12

Closed
@Hubro

Description

This plugin works really freaking well, I'm always a fan of reducing visual noise, but one this I miss is that I can no longer tell of a line in the current view crosses the column.

If I set scope to "visible", then the point of the plugin is largely lost, I don't want to see the colorcolumn as long as nothing crosses it.

What would be perfect is if the plugin did exactly what it currently does, but if a currently visible line crosses the colorcolumn, it should be displayed no matter what.

Unless I've misunderstood the documentation, this isn't currently possible. Is there a elegant way this can be implemented?


Maybe something like:

warningscope = "buffer" | "visible"

Works like scope, but overrides it if a line actually crosses the colorcolumn. My ideal behavior would be scope = "line" and warningscope = "visible". I would also probably like warningscope = "buffer" so I would immediately know if any line in the current file was too long.

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