Suggestion: generic set show
erf opened this issue · comments
Erlend commented
I was thinking we could add a generic set show [regex] [string]
, for e.g. in case you'd only like to highlight more than one space or some other arbitrary pattern, just put in the [regex] and a [string] replacement for the pattern.
To turn it off again, you'd write set show [regex] off
.
Erlend commented
I made a plugin which does this called vis-highlight
You can type: :hi "somePattern"