a simple / documented way to fold only after N numer of characters
dJani97 opened this issue · 1 comments
dJani97 commented
Hi!
Sometimes I have only a couple of short classnames which I don't necessarily want to fold, so I modified the regex to only fold a list of classes if it's longer than 30 characters:
(class|className)=[`'{"]([^`'"}]{30,})[`'"}]
I feel like this example could be added to the docs as it seems like a common use-case to me.