vim-syntax-nftables
A Vim/NeoVim syntax highlighting plugin for nftables firewall rules that groups statements within a rule and emphasizes the keywords that start each statement, works with any user color scheme and background, and installs via simple `make install`/`make uninstall` without requiring plugin managers like Vundle. Built on a purely deterministic LL(1) full semantic parser with over 2,500 semantic nodes and 15,000 syntax match statements, rendering in under 5ms; nearly complete except for a few esoteric nftables features such as synproxy.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
vim-syntax-nftables
A Vim/NeoVim syntax highlighting plugin for nftables firewall rules that groups statements within a rule and emphasizes the keywords that start each statement, works with any user color scheme and background, and installs via simple `make install`/`make uninstall` without requiring plugin managers like Vundle. Built on a purely deterministic LL(1) full semantic parser with over 2,500 semantic nodes and 15,000 syntax match statements, rendering in under 5ms; nearly complete except for a few esoteric nftables features such as synproxy.
Posted by @egberts1 · Original source ↗
Source text · @egberts1 · · Source ↗
Highlighting the nftables rules. For Vim/NeoVim editor, using your own color scheme and background. Like grouping statements together within a rule with heavier emphasis on keywords that starts each of its statement. Even has the easiest Vim installer, `make install`/`make uninstall`; none of that funky Vundle, or other relatively unknown Vim packagers. Has over 2,500 semantic nodes, 15,000 syntax match statements, and under 5ms rendering. This is a purely deterministic LL(1) full semantic parser.