mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-24 19:36:52 +03:00
* doc/dyntax/makefile.nanorc - Sample Makefile highlighting based on wiki.linuxhelp.net version.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4447 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
daaf468c93
commit
752830573a
@ -3,6 +3,7 @@
|
|||||||
first in an effort to not corrupt the screen, which contradicts Pico but is consistent
|
first in an effort to not corrupt the screen, which contradicts Pico but is consistent
|
||||||
with almost all other text editors. Fixes Savannah bug 28110/Debian bug 460510
|
with almost all other text editors. Fixes Savannah bug 28110/Debian bug 460510
|
||||||
reported by Tim Connors <reportbug@rather.puzzling.org>.
|
reported by Tim Connors <reportbug@rather.puzzling.org>.
|
||||||
|
* doc/dyntax/makefile.nanorc - Sample Makefile highlighting based on wiki.linuxhelp.net version.
|
||||||
|
|
||||||
2009-11-26 Chris Allegretta <chrisa@asty.org>
|
2009-11-26 Chris Allegretta <chrisa@asty.org>
|
||||||
* winio.c (edit_scroll): Adjust for long lines when scrolling.
|
* winio.c (edit_scroll): Adjust for long lines when scrolling.
|
||||||
|
@ -238,6 +238,9 @@
|
|||||||
## C/C++
|
## C/C++
|
||||||
# include "@PKGDATADIR@/c.nanorc"
|
# include "@PKGDATADIR@/c.nanorc"
|
||||||
|
|
||||||
|
## Makefiles
|
||||||
|
# include "@PKGDATADIR@/makefile.nanorc"
|
||||||
|
|
||||||
## Cascading Style Sheets
|
## Cascading Style Sheets
|
||||||
# include "@PKGDATADIR@/css.nanorc"
|
# include "@PKGDATADIR@/css.nanorc"
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ pkgdata_DATA = asm.nanorc \
|
|||||||
xml.nanorc \
|
xml.nanorc \
|
||||||
ocaml.nanorc \
|
ocaml.nanorc \
|
||||||
objc.nanorc \
|
objc.nanorc \
|
||||||
fortran.nanorc
|
fortran.nanorc \
|
||||||
|
makefile.nanorc
|
||||||
|
|
||||||
EXTRA_DIST = $(pkgdata_DATA)
|
EXTRA_DIST = $(pkgdata_DATA)
|
||||||
|
8
doc/syntax/makefile.nanorc
Normal file
8
doc/syntax/makefile.nanorc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# unattributed syntax highlighting example from wiki.linuxhelp.net/
|
||||||
|
|
||||||
|
syntax "makefile" "Makefile[^/]*$"
|
||||||
|
color red "[:=]"
|
||||||
|
color magenta "\<(if|ifeq|else|endif)\>"
|
||||||
|
color blue "\$+[{(][a-Z0-9_-]+[})]"
|
||||||
|
color brightblue "^[^ ]+:"
|
||||||
|
color green "#.*$"
|
Loading…
Reference in New Issue
Block a user