/extras/nanorc

http://txt2tags.googlecode.com/ · #! · 33 lines · 31 code · 2 blank · 0 comment · 0 complexity · 8f480867ed29a6c8f5bc4dee5d3a0191 MD5 · raw file

  1. #
  2. # Nano Editor syntax highlight rules for txt2tags tool
  3. # http://nano-editor.org http://txt2tags.org
  4. #
  5. # Initial release by Aurelio Jargas on Nov/2003
  6. #
  7. # Install: Just append this contents to your ~/.nanorc file
  8. #
  9. # (((-----------------))) If you are a Nano user and want to
  10. # (( MAINTAINER WANTED )) be the official maintainer of this
  11. # (((-----------------))) file, contact verde(a)aurelio.net.
  12. #
  13. syntax "txt2tags" ".*.t2t"
  14. color brightwhite "\*\*.*\*\*"
  15. color black,white "//.*//"
  16. color brightcyan "__.*__"
  17. color brightyellow "^ *[:+-] "
  18. color brightcyan "^ *\|\| .*"
  19. color cyan "^ *\| .*"
  20. color brightwhite "^ *[_=-]{20,} *$"
  21. color white,red "^ *=[^=].*[^=]=(\[.+\])?\s*$"
  22. color white,red "^ *==[^=].*[^=]==(\[.+\])?\s*$"
  23. color white,red "^ *===[^=].*[^=]===(\[.+\])?\s*$"
  24. color white,red "^ *====[^=].*[^=]====(\[.+\])?\s*$"
  25. color white,red "^ *=====[^=].*[^=]=====(\[.+\])?\s*$"
  26. color brightblue "\[.*\]"
  27. color yellow "^%.*"
  28. color brightyellow "%%date(\(.*\))?"
  29. color brightgreen "``.*``"
  30. color brightgreen "^``` .*"
  31. color brightgreen start="^``` *$" end="^``` *$"