summaryrefslogtreecommitdiffstats
path: root/autoload/polyglot/init.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 20:58:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 20:58:38 +0200
commitdec65bafcafe295aeb5744f8a34ff5a1fd2cb1ef (patch)
treed9a30f5e111007bf88189e1fbfb9722570790854 /autoload/polyglot/init.vim
parent6e0702bd6672f3882b0ce2ea9d254a8d109eb807 (diff)
downloadvim-polyglot-dec65bafcafe295aeb5744f8a34ff5a1fd2cb1ef.tar.gz
vim-polyglot-dec65bafcafe295aeb5744f8a34ff5a1fd2cb1ef.zip
Update
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