diff options
Diffstat (limited to 'autoload/polyglot')
-rw-r--r-- | autoload/polyglot/init.vim | 4 | ||||
-rw-r--r-- | autoload/polyglot/sleuth.vim | 1 |
2 files changed, 5 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 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', |