mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-30 00:23:28 +03:00
96466166f1
* doc/syntax/makefile.nanorc - Fix poor regex for all alpha characters which sometimes leads to error messages, reported by gibboris@gmail.com. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
9 lines
248 B
Plaintext
9 lines
248 B
Plaintext
# unattributed syntax highlighting example from wiki.linuxhelp.net/
|
|
|
|
syntax "makefile" "Makefile[^/]*$"
|
|
color red "[:=]"
|
|
color magenta "\<(if|ifeq|else|endif)\>"
|
|
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
|
|
color brightblue "^[^ ]+:"
|
|
color green "#.*$"
|