Merge pull request #330 from DanteFalzone0/master

Added highlighting for printf format specifiers
This commit is contained in:
Anthony Scopatz 2020-08-27 09:48:44 -05:00 committed by GitHub
commit bee93b333b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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="\*/"