monokai-pro / sublime-text

Issue tracking for Monokai Pro for Visual Studio Code
https://monokai.pro
197 stars 7 forks source link

Format specifiers in C are not highlighted properly #141

Closed hovsater closed 2 years ago

hovsater commented 3 years ago

In C, you can use format specifiers in the string provided to printf. They're followed the following format:

%[flags][width][.precision][length]specifier

Mariana (default theme)

Screenshot 2021-04-06 at 12 32 35

Monokai Pro

Screenshot 2021-04-06 at 12 32 23

By the looks of it, they're categorised under the scope constant.other.placeholder.c.

Screenshot 2021-04-06 at 12 35 11
Monokai commented 2 years ago

fixed in 1.1.20