mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Added highlighting for printf format specifiers
This commit is contained in:
parent
b20013a049
commit
56b1d0af87
1 changed files with 3 additions and 0 deletions
3
c.nanorc
3
c.nanorc
|
|
@ -36,6 +36,9 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*""
|
||||||
## This string is VERY resource intensive!
|
## This string is VERY resource intensive!
|
||||||
#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
|
#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
|
## Comment highlighting
|
||||||
color brightblue "//.*"
|
color brightblue "//.*"
|
||||||
color brightblue start="/\*" end="\*/"
|
color brightblue start="/\*" end="\*/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue