1
0
mirror of https://github.com/HorlogeSkynet/Nftables synced 2025-05-13 04:00:20 +02:00

Optimizes sets' type REGEXP definition

This commit is contained in:
Samuel FORESTIER 2020-03-14 21:13:47 +01:00
parent 531cfb91fa
commit f4b23756be

@ -523,7 +523,7 @@ contexts:
- match: \b(type)\b
scope: storage.type.set-type.nftables
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
- include: dot-operator
- include: colon