mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +01:00
Some minor changes to c and xml
This commit is contained in:
parent
495c715e13
commit
84808a0a46
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…
Reference in New Issue
Block a user