[REQ ]Custom blade directive
jpmurray opened this issue · comments
Looking at your latest commit (and given that I used my first custom blade directive this weekend!), I wonder if it could be a good idea to have it included? Probably using a wildcard @*
and @end*
... I know it's possible, but is there any counter indication you'd see against that?
I don't like it because it's not actual Blade syntax. What we could do is highlight them in a different colour, to show they're non-Blade.
The problem I have with the current blade syntax package is that if I use custom blade directive, it just breaks the color scheme of the rest of the file starting at the custom directive. I guess the idea here would be to have something that knows it's valid, yet not official, so it can just colorize correctly the whole file.
Different colors would do then! ;-)
It's doable, but I'll have a play, unless you fancy having a go?
I've never dabbled in ST's stuff, but why not, I'll give it a shot by following your own code ;-)
Hey, wanted to give you an update. I did try, without any real solutions yet. It's also for me a kind of crash course on Regexes too, so I'm still on it part time! ;-)
Np rush!