summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/polyglot/init.vim')
-rw-r--r--autoload/polyglot/init.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index ac3bf8e8..d294ea4a 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -173,6 +173,10 @@ if !has_key(g:polyglot_is_disabled, 'openscad')
au BufNewFile,BufRead *.scad setf openscad
endif
+if !has_key(g:polyglot_is_disabled, 'nftables')
+ au BufNewFile,BufRead *.nft,*/nftables.conf setf nftables
+endif
+
if !has_key(g:polyglot_is_disabled, 'sway')
au BufNewFile,BufRead *sway/config setf sway
endif