This commit is contained in:
Adam Stankiewicz
2021-06-09 20:58:38 +02:00
parent 6e0702bd66
commit dec65bafca
4 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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',