[TxMt] Set background color to new-line element

Umberto Cerrato umbertocerrato at outlook.it
Wed Oct 2 21:12:08 UTC 2019


Hello,

I would like to change the highlighted part to the same (pink) color of the rest.
What I have tried by now (all day) is by adding a new grammar and then change the color in the theme.

I tried many things like this one:

{
name = 'meta.new-line';
match = '\}\n.’;
}

[cid:99DEEF18-FC21-4A16-8AC7-0F38A367FAB0 at home-life.hub]
[cid:00EDC7C9-E951-40B0-BE0F-DC45FB718038 at home-life.hub]

Anyway, finally my idea is to make each block ( {...} ) of a different color.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191002/9a577f50/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 2752 bytes
Desc: 1.png
URL: <https://lists.macromates.com/textmate/attachments/20191002/9a577f50/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.png
Type: image/png
Size: 2834 bytes
Desc: 2.png
URL: <https://lists.macromates.com/textmate/attachments/20191002/9a577f50/attachment-0003.png>


More information about the TextMate mailing list