]> git.wh0rd.org Git - nano.git/commitdiff
Recognizing also files with the extensions .make and .mk as Makefiles.
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 24 Nov 2015 11:09:06 +0000 (11:09 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Tue, 24 Nov 2015 11:09:06 +0000 (11:09 +0000)
This addresses Debian bug #804845.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5435 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/syntax/makefile.nanorc

index 3224f2bd425063286f6631459c4890be889f2047..49cf9dce1762af63a360098b5f584d1f0a79f426 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-24  Benno Schulenberg  <bensberg@justemail.net>
+       * 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  <bensberg@justemail.net>
        * 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.
index 041639099bad64b962ec0ef4afb62a82793d76d7..e376445074dffcffd30b287749555a11c0b1b627 100644 (file)
@@ -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)\>"