Hello Arturo,

On 2016-12-21 12:55, Arturo Borrero Gonzalez wrote:
> Signed-off-by: Arturo Borrero Gonzalez <art...@debian.org>

I've reordered the families, and condensed the variables.
Please verify that this is okay.  (I think, though, that
the "\" in "\@" is superfluous.)

See attachment.

Regards,

Benno

>From cb0aaa1a375fb1564e0b779f3a01e23cfe207edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arturo=20Borrero=20Gonz=C3=A1lez?= <art...@debian.org>
Date: Wed, 21 Dec 2016 13:40:58 +0100
Subject: [PATCH] syntax: nftables: add two families, and add set references
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Arturo Borrero González <art...@debian.org>
---
 doc/syntax/nftables.nanorc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/syntax/nftables.nanorc b/doc/syntax/nftables.nanorc
index 5bec940d..674c6c12 100644
--- a/doc/syntax/nftables.nanorc
+++ b/doc/syntax/nftables.nanorc
@@ -10,7 +10,7 @@ color green "\<(define|include)\>"
 color red "\<(add|delete|flush|insert|remove|replace)\>"
 
 # Families
-color yellow "\<(arp|bridge|inet|ip6?)\>"
+color yellow "\<(arp|bridge|inet|ingress|ip6?|netdev)\>"
 
 # Terminal statements
 color red "\<(drop|reject)\>"
@@ -27,4 +27,4 @@ color yellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
 color green "[{}():;|`$<>!=&\\]" "(\]|\[)"
 
 # Basic variable names
-color brightred "\$[[:alpha:]_][[:alnum:]_.]*"
+color brightred "(\$|\@)[[:alpha:]_-][[:alnum:]_.-]*"
-- 
2.11.0

Reply via email to