I am trying to create my own syntax definition. Consider the following:
<dict>
<key>name</key>
<string>eb.detail</string>
<key>begin</key>
<string>\|</string>
<key>end</key>
<string>\||$</string>
</dict>
<dict>
<key>name</key>
<string>eb.trigger</string>
<key>match</key>
<string>\|</string>
</dict>
The first rule matches something like |hello|, including the pipe characters. The second rule matches just the pipe characters. Ultimately, I would like those pipe characters to get BOTH scopes assigned to it. How would I accomplish that in the tmLanguage file?