From 9dc47fdfe5358c25089995cce632deb905287223 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 24 Nov 2015 11:09:06 +0000 Subject: [PATCH] Recognizing also files with the extensions .make and .mk as Makefiles. This addresses Debian bug #804845. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 4 ++++ doc/syntax/makefile.nanorc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3224f2bd..49cf9dce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-11-24 Benno Schulenberg + * doc/syntax/makefile.nanorc: Also recognize the extensions .make and + .mk as Makefiles. Suggested by Emmanuel Bourg in Debian bug #804845. + 2015-11-23 Benno Schulenberg * src/nano.c (main), src/winio.c (parse_kbinput): Make Ctrl+Left and Ctrl+Right work on more terminals by asking ncurses for the keycodes. diff --git a/doc/syntax/makefile.nanorc b/doc/syntax/makefile.nanorc index 04163909..e3764450 100644 --- a/doc/syntax/makefile.nanorc +++ b/doc/syntax/makefile.nanorc @@ -1,6 +1,6 @@ ## Here is an example for Makefiles. -syntax "makefile" "Makefile[^/]*$" +syntax "makefile" "Makefile[^/]*$" "\.(make|mk)$" color red "[:=]" color magenta "\<(if|ifeq|else|endif)\>" -- 2.39.5