mirror of
https://github.com/HorlogeSkynet/Nftables
synced 2025-06-16 16:00:12 +02:00
Optimizes sets' type
REGEXP definition
This commit is contained in:
@ -523,7 +523,7 @@ contexts:
|
|||||||
- match: \b(type)\b
|
- match: \b(type)\b
|
||||||
scope: storage.type.set-type.nftables
|
scope: storage.type.set-type.nftables
|
||||||
push:
|
push:
|
||||||
- match: \b(ipv4_addr|ipv6_addr|ether_addr|inet_proto|inet_service|mark|ifname)\b
|
- match: \b((?:ipv[46]|ether)_addr|inet_(?:proto|service)|mark|ifname)\b
|
||||||
scope: constant.language.data-type.nftables
|
scope: constant.language.data-type.nftables
|
||||||
- include: dot-operator
|
- include: dot-operator
|
||||||
- include: colon
|
- include: colon
|
||||||
|
Reference in New Issue
Block a user