summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-19 19:49:44 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-19 19:49:44 +0200
commit86bf33aa3bdaa836fbd1537d1ba6a63b58b088bd (patch)
tree2cc5d66c583963d063adc5097f61afa6b645b64f /ftdetect
parentb64fcedd82f188e7951585c6dda5efc5f4a497b2 (diff)
downloadvim-polyglot-86bf33aa3bdaa836fbd1537d1ba6a63b58b088bd.tar.gz
vim-polyglot-86bf33aa3bdaa836fbd1537d1ba6a63b58b088bd.zip
Use conf for /etc/hosts, fixes #595
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim2
1 files changed, 1 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')