Skip to content

Avoid emptying the whole of region_highlight #418

@okapia

Description

@okapia

By emptying region_highlight, z-sy-h can't be used so easily together with other plugins that use highlighting. Ideally, it would only remove it's own entries.

See, e.g okapia/zsh-viexchange#1

As discussed over e-mail a potential solution could take advantage of zsh ignoring unknown keys. e.g

region_highlight+=( '1 3 fg=red,owner=z-sy-h' )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions