vim-jsx-typescript icon indicating copy to clipboard operation
vim-jsx-typescript copied to clipboard

Enable syntax fold on multiline backtick strings

Open guyzmo opened this issue 4 years ago • 0 comments
trafficstars

Hello, I've been using a lot multiline backtick strings and I'd like to enable folds on them.

I've been trying to set something like, adding fold to the backtick syntax:

syntax region tsxString fold contained start=+`+ end=+`+ contains=tsxEntity,@Spell display

But with no success yet. Though, I've never tweaked folds in a syntax before.

guyzmo avatar Feb 05 '21 09:02 guyzmo