Added highlighting for printf format specifiers

pull/330/head
Dante Falzone 4 years ago committed by GitHub
parent b20013a049
commit 56b1d0af87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,9 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*""
## This string is VERY resource intensive!
#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
## printf-family format specifiers
color yellow "%(\#|(0-+))?(hh|h|l|ll|q|L|j|z|Z|t)?[A-Za-z]" "%%"
## Comment highlighting
color brightblue "//.*"
color brightblue start="/\*" end="\*/"

Loading…
Cancel
Save