Skip to content

hilight does not respect -priority arg #1228

@balazser

Description

@balazser

I have the following hilight configuration

 /hilight
...
19:34    3 ccc  -line -priority 20 -color %G -actcolor %g
19:34    4 ddd  -line -priority 1 -color %p -actcolor %p
19:34    5 fff  -line -priority 100 -color %k -actcolor %k

Actual:
After receiving a message containing all the matching words like ccc ddd fff the message always gets highlighted according to the first positional match in the config.

Expected:
highlight the message according to the -priority arg.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions