mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Add nftables filetype (#715)
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
This commit is contained in:
@@ -132,6 +132,7 @@ On top of all language packs from [vim repository](https://github.com/vim/vim/tr
|
||||
- [meson](https://github.com/mesonbuild/meson/tree/master/data/syntax-highlighting/vim) (Meson syntax highlighting for wrap files)
|
||||
- [mint](https://github.com/IrenejMarc/vim-mint) (Syntax highlighting for mint files)
|
||||
- [moonscript](https://github.com/leafo/moonscript-vim) (MoonScript syntax highlighting for moon files)
|
||||
- [nftables](https://github.com/nfnty/vim-nftables) (Syntax highlighting for nftables config files)
|
||||
- [nginx](https://github.com/chr4/nginx.vim) (Nginx syntax highlighting for nginx, nginxconf and vhost files)
|
||||
- [nim](https://github.com/zah/nim.vim) (Nim syntax highlighting for nim, nim.cfg, nimble, nimrod and nims files)
|
||||
- [nix](https://github.com/LnL7/vim-nix) (Nix syntax highlighting for nix files)
|
||||
|
||||
@@ -5593,6 +5593,16 @@ filetypes:
|
||||
- pattern: '*sway/config'
|
||||
description: Sway Configuration
|
||||
---
|
||||
name: nftables
|
||||
remote: nfnty/vim-nftables
|
||||
filetypes:
|
||||
- name: nftables
|
||||
extensions:
|
||||
- nft
|
||||
patterns:
|
||||
- pattern: '*/nftables.conf'
|
||||
description: nftables configuration
|
||||
---
|
||||
name: openscad
|
||||
remote: sirtaj/vim-openscad
|
||||
filetypes:
|
||||
|
||||
@@ -391,6 +391,11 @@ call TestExtension("conf", "auto.master", "")
|
||||
" https://github.com/sheerun/vim-polyglot/issues/579
|
||||
call TestExtension("dart", "reminders.dart", "")
|
||||
|
||||
" nftables
|
||||
call TestExtension("nftables", "foo.nft", "")
|
||||
call TestExtension("nftables", "nftables.conf", "")
|
||||
call TestExtension("nftables", "foo", "#!/usr/bin/env nft")
|
||||
|
||||
call TestExtension("racket", "empty.rkt", "")
|
||||
|
||||
filetype off
|
||||
|
||||
Reference in New Issue
Block a user