Better colouring expressions for HTML.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4593 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
cf79e52526
commit
10a18c141b
|
@ -1,3 +1,8 @@
|
||||||
|
2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change)
|
||||||
|
* doc/syntax/html.nanorc - Also recognize htm as extension,
|
||||||
|
use cyan for tags (more visible on dark background), correct
|
||||||
|
the expression for ampersand codes, and colour strings too.
|
||||||
|
|
||||||
2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change)
|
2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change)
|
||||||
* doc/syntax/c.nanorc - Also recognize c++ as extension.
|
* doc/syntax/c.nanorc - Also recognize c++ as extension.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
## Here is a short example for HTML.
|
## Here is a short example for HTML.
|
||||||
##
|
##
|
||||||
syntax "html" "\.html$"
|
syntax "html" "\.html?$"
|
||||||
magic "HTML document text"
|
magic "HTML document text"
|
||||||
color blue start="<" end=">"
|
color cyan start="<" end=">"
|
||||||
color red "&[^;[[:space:]]]*;"
|
color red "&[^;[:space:]]*;"
|
||||||
|
color green ""(\\.|[^"])*""
|
||||||
|
|
Loading…
Reference in New Issue