From 7e8ee46c09be22c7417acb81a3f8d70a759167a8 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 27 Aug 2024 16:34:15 +0200 Subject: [PATCH] syntax: autoconf: colorize the keywords 'case', 'esac', and 'ifelse' too Case statements occur a lot in gnulib's m4 files, and 'ifelse' is simply part of the m4 language. --- syntax/autoconf.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/autoconf.nanorc b/syntax/autoconf.nanorc index 9c76b9a9..45e18369 100644 --- a/syntax/autoconf.nanorc +++ b/syntax/autoconf.nanorc @@ -7,7 +7,7 @@ syntax autoconf "\.(ac|m4)$" comment "#" # Keywords: -color yellow "\<(if|test|then|elif|else|fi|for|in|do|done)\>" +color yellow "\<(if|test|then|elif|else|fi|case|esac|ifelse|for|in|do|done)\>" color yellow "=|!=|&&|\|\|" # Macros: