diff options
-rw-r--r-- | ftdetect/polyglot.vim | 2 | ||||
-rw-r--r-- | packages.yaml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 83198ebc..02554c1f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -2545,7 +2545,7 @@ if !has_key(s:disabled_packages, 'alsaconf') endif if !has_key(s:disabled_packages, 'conf') - au BufNewFile,BufRead *.conf,auto.master,config setf conf + au BufNewFile,BufRead *.conf,*/etc/hosts,auto.master,config setf conf endif if !has_key(s:disabled_packages, 'master') diff --git a/packages.yaml b/packages.yaml index 4590b31b..dc24c858 100644 --- a/packages.yaml +++ b/packages.yaml @@ -1958,6 +1958,7 @@ filetypes: filenames: - auto.master - config + - '*/etc/hosts' --- name: b remote: vim/vim:runtime |