-
Hi there! I want to set up mini.hipatterns as showcased in #783, that is an entire line gets colored once a keyword has been found. I have such a setup working via todo-comments, however there I need to use proper strings, but I want to change to special characters, which works in mini.hipatterns (my patterns look like this Additionally, it would be great if the keyword itself would not highlight up, only the (foreground of the) text after it. Lastly, I don't know whether it matters, but for the sake of completion: I'm using solarized osaka as my color scheme! I'd appreciate any and all help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Ok, in the end this was pretty easy. The pattern matching string is slightly different than what I found for lua, and setting up hihgligh groups was straight forward once I found out there is an api function. In case anyone cares:
I only want to color the text, so I set
|
Beta Was this translation helpful? Give feedback.
Ok, in the end this was pretty easy. The pattern matching string is slightly different than what I found for lua, and setting up hihgligh groups was straight forward once I found out there is an api function.
In case anyone cares:
I only want to color the text, so I set
fg
andbg
accordingly.