diff options
author | Joursoir <chat@joursoir.net> | 2021-07-01 13:28:57 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-07-01 13:28:57 +0000 |
commit | 74d6e788c9430521c96ede21557a9a32bbd76a34 (patch) | |
tree | 13b15e5b10efb3f35d629d6d01155bc9aff4fd87 /syntax-screenshot.png | |
parent | f9cbfc1969d7f1d83da764f5f53fd53469830a78 (diff) | |
download | subl-syntax-man-74d6e788c9430521c96ede21557a9a32bbd76a34.tar.gz subl-syntax-man-74d6e788c9430521c96ede21557a9a32bbd76a34.tar.bz2 subl-syntax-man-74d6e788c9430521c96ede21557a9a32bbd76a34.zip |
add awful realization of formatting alternate fonts
Why is it awful? Because a lot of code is duplicated. And the code is
badly designed. As a result, we have one bug, which i don't know how
to fix (if you know - write me at email):
.BI [ "--init, -i"]
^ start italic font style
^ must start bold, but still using italic
But I couldn't leave it as it is and have made a dirty trick:
`
- match: '"[^\s]'
scope: invalid.illegal
pop: true`
`
If the '"', which is supposed to end the string, has a not white-space as
following character, then I scoping it like illegal syntax. Anyway, it's not
correct to write this way, put a white-space after '"' :)
Diffstat (limited to 'syntax-screenshot.png')
0 files changed, 0 insertions, 0 deletions