summaryrefslogtreecommitdiffstats
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorsmjonas <jonas.strittmatter@gmx.de>2022-07-05 18:42:56 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-05 18:42:56 +0100
commit704988f0c3598c1b0cc47f3b46f1f1229312f2bc (patch)
tree6b93b4bdc35e08d2c2a62b2d80e23c030c3b8b35 /runtime/filetype.vim
parentb67f0c8e495cfbfc09d6c7ff670b8162faf07b01 (diff)
patch 9.0.0041: a couple of filetype patterns do not have "*" before "/etc"v9.0.0041
Problem: A couple of filetype patterns do not have "*" before "/etc". Solution: Add the star. (Jonas Strittmatter, closes #10662)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index c7c6eab405..40f62f9dfc 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2389,7 +2389,7 @@ au BufNewFile,BufRead *fvwm2rc*
au BufNewFile,BufRead */tmp/lltmp* call s:StarSetf('gedcom')
" Git
-au BufNewFile,BufRead */.gitconfig.d/*,/etc/gitconfig.d/* call s:StarSetf('gitconfig')
+au BufNewFile,BufRead */.gitconfig.d/*,*/etc/gitconfig.d/* call s:StarSetf('gitconfig')
" Gitolite
au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite')
@@ -2454,7 +2454,7 @@ au BufNewFile,BufRead neomuttrc*,Neomuttrc* call s:StarSetf('neomuttrc')
au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')
" OpenBSD hostname.if
-au BufNewFile,BufRead /etc/hostname.* call s:StarSetf('config')
+au BufNewFile,BufRead */etc/hostname.* call s:StarSetf('config')
" Pam conf
au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf')