Hello.
I might be a little late on this one, but I wouldn’t want to start a new thread when this one already exists.
I’m working on a BBcode syntax based on the package from chipotle. I have this little bit of syntax definition:
[code]
begin
[code=html]
captures
0
name
meta.tag.code.html.bb.azuha
end
[/code]
name
text.html.embedded.bb.azuha
patterns
include
text.html.basic
name
text.url.embedded.bb.azuha
begin
[
The html part is from the original syntax, I didn’t touch it. The one I wrote is the one below involving urls.
Its goal is basically to treat the url in a url markup with a custom syntax I wrote, which works perfectly on a raw file and the scopeName of which is strictly the same as the one I include.
I know for a fact that the regexp are correct, the scopes are correctly computed outside of the url I want to parse. I also tried the html embedding and that works too.
The problem I have is the following :
it does not include.
My syntax exists. I tried putting it in the same folder as the html one. No success.
am I missing something ?
Is there something I don’t know about including syntaxes ? I searched but didn’t find, which is odd, I’ve been coding for 5 years and I’ve never been the only one with a problem before.](]+?(]))