mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Some minor changes to c and xml
This commit is contained in:
parent
495c715e13
commit
84808a0a46
2 changed files with 2 additions and 2 deletions
2
c.nanorc
2
c.nanorc
|
|
@ -29,7 +29,7 @@ color magenta "[(){}]" "\[" "\]"
|
||||||
color cyan "<[^= ]*>" ""(\\.|[^"])*""
|
color cyan "<[^= ]*>" ""(\\.|[^"])*""
|
||||||
##
|
##
|
||||||
## This string is VERY resource intensive!
|
## This string is VERY resource intensive!
|
||||||
color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
|
#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
|
||||||
|
|
||||||
## Comment highlighting
|
## Comment highlighting
|
||||||
color brightblue "//.*"
|
color brightblue "//.*"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
## Here is an example for xml files.
|
## Here is an example for xml files.
|
||||||
##
|
##
|
||||||
|
|
||||||
syntax "ml" ".*\.([jrs]?html?|xml|sgml?)$"
|
syntax "ml" ".*\.([jrs]?html?|xml|sgml?|rng)$"
|
||||||
color white "^.+$"
|
color white "^.+$"
|
||||||
color green start="<" end=">"
|
color green start="<" end=">"
|
||||||
color cyan "<[^> ]+"
|
color cyan "<[^> ]+"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue