From 86bf33aa3bdaa836fbd1537d1ba6a63b58b088bd Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 19 Oct 2020 19:49:44 +0200 Subject: Use conf for /etc/hosts, fixes #595 --- ftdetect/polyglot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftdetect') 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') -- cgit v1.2.3