From dec65bafcafe295aeb5744f8a34ff5a1fd2cb1ef Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 9 Jun 2021 20:58:38 +0200 Subject: Update --- autoload/polyglot/init.vim | 4 ++++ autoload/polyglot/sleuth.vim | 1 + 2 files changed, 5 insertions(+) (limited to 'autoload') 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 diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim index c8f09297..bcd0e5e8 100644 --- a/autoload/polyglot/sleuth.vim +++ b/autoload/polyglot/sleuth.vim @@ -360,6 +360,7 @@ let s:globs = { \ 'ncf': '*.ncf', \ 'neomuttrc': 'Neomuttrc,.neomuttrc*,neomuttrc*,Neomuttrc*', \ 'netrc': '.netrc', + \ 'nftables': '*.nft', \ 'nginx': '*.nginx,*.nginxconf,*.vhost,nginx.conf,nginx*.conf,*nginx.conf', \ 'nim': '*.nim,*.nim.cfg,*.nimble,*.nimrod,*.nims,nim.cfg', \ 'ninja': '*.ninja', -- cgit v1.2.3