mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Merge pull request #330 from DanteFalzone0/master
Added highlighting for printf format specifiers
This commit is contained in:
commit
bee93b333b
3
c.nanorc
3
c.nanorc
|
@ -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…
Reference in New Issue
Block a user