diff --git a/syntax/xml.nanorc b/syntax/xml.nanorc index 91ba92da..fe14692c 100644 --- a/syntax/xml.nanorc +++ b/syntax/xml.nanorc @@ -9,13 +9,16 @@ comment "" color green start="<" end=">" # The angled brackets and the name of the tag: -color cyan "<[^> ]+|>" +color cyan "<[^> ]+|/?>" # The strings inside the tag: color magenta ""[^"]*"" +# Prolog stuff: +color #888 "<\?.+\?>|]+>|\]>" +color #888 start="]*$" end="^[^<]*>" + # Comments: -color yellow start="" color yellow start="" # Escapes: