From 2fbb71d555b74ab9ae0ce222a2c00478efcfaa5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Borrero=20Gonz=C3=A1lez?= Date: Wed, 21 Dec 2016 13:40:58 +0100 Subject: [PATCH] syntax: nftables: add two new 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 --- 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..ce0ef9c4 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:]_.-]*"