nanorc.sample: - Add some examples for HTML and TeX files (David Benbennick)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
3a24c12a92
commit
136a38af2f
|
@ -1,4 +1,4 @@
|
||||||
CVS code -
|
GNU nano 1.1.11 - 10/01/2002
|
||||||
- General:
|
- General:
|
||||||
- Translation updates (see po/ChangeLog for details).
|
- Translation updates (see po/ChangeLog for details).
|
||||||
- Upgraded to gettext 0.11.5 (Jordi).
|
- Upgraded to gettext 0.11.5 (Jordi).
|
||||||
|
@ -128,6 +128,7 @@ CVS code -
|
||||||
helped ;-). Some unneeded \'s in that sequence removed, and
|
helped ;-). Some unneeded \'s in that sequence removed, and
|
||||||
a new sequence to handle multi-line quotes added, by David
|
a new sequence to handle multi-line quotes added, by David
|
||||||
Benbennick.
|
Benbennick.
|
||||||
|
- Add some examples for HTML and TeX files (David Benbennick).
|
||||||
- rcfile.c:
|
- rcfile.c:
|
||||||
parse_colors()
|
parse_colors()
|
||||||
- Stop infinite loop when syntax doesn't begin with " char.
|
- Stop infinite loop when syntax doesn't begin with " char.
|
||||||
|
|
|
@ -107,7 +107,20 @@
|
||||||
# color brightblue "//.*"
|
# color brightblue "//.*"
|
||||||
# color brightblue start="/\*" end="\*/"
|
# color brightblue start="/\*" end="\*/"
|
||||||
|
|
||||||
|
# Here are some short examples for TeX files and HTML
|
||||||
|
# syntax "HTML" "\.html$"
|
||||||
|
#
|
||||||
|
# color blue start="<" end=">"
|
||||||
|
# color red "&([^; ])*;"
|
||||||
|
#
|
||||||
|
# syntax "TeX" "\.tex$"
|
||||||
|
#
|
||||||
|
# color green "\\(.|([A-Za-z]*))"
|
||||||
|
# color magenta "\{" "\}"
|
||||||
|
# color blue "%.*"
|
||||||
|
|
||||||
# For this you will probably want to set your editor to "nano -Y mutt"
|
# For this you will probably want to set your editor to "nano -Y mutt"
|
||||||
|
|
||||||
# syntax "mutt"
|
# syntax "mutt"
|
||||||
# color green "^>.*"
|
# color green "^>.*"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue