1
1

Add a modeline for nftables (via plugin)

To use this syntax you need a 3rd party plugin.
I use https://github.com/nfnty/vim-nftables,
but others might work, too.
This commit is contained in:
Nils Freydank 2024-06-02 11:59:05 +02:00
parent fff1290115
commit 8079264b29
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

7
nft.rules Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/nft -f
# THIS SYNTAX HIGHLIGHT NEEDS A PLUGIN, E.G.:
# https://github.com/nfnty/vim-nftables
# vim:syntax=nftables:fileencoding=utf-8:ts=4:expandtab:linebreak:wrap
# vim: set syntax=nftables fileencoding=utf-8 ts=4 expandtab linebreak wrap :