Mirror of the Vim source from https://github.com/vim/vim
Revision | 7f5db9decf32b86d7dafab418459c32e49e5a428 (tree) |
---|---|
Zeit | 2022-07-06 02:45:05 |
Autor | Bram Moolenaar <Bram@vim....> |
Commiter | Bram Moolenaar |
patch 9.0.0041: a couple of filetype patterns do not have "*" before "/etc"
Commit: https://github.com/vim/vim/commit/704988f0c3598c1b0cc47f3b46f1f1229312f2bc
Author: smjonas <jonas.strittmatter@gmx.de>
Date: Tue Jul 5 18:42:56 2022 +0100
@@ -2389,7 +2389,7 @@ | ||
2389 | 2389 | au BufNewFile,BufRead */tmp/lltmp* call s:StarSetf('gedcom') |
2390 | 2390 | |
2391 | 2391 | " Git |
2392 | -au BufNewFile,BufRead */.gitconfig.d/*,/etc/gitconfig.d/* call s:StarSetf('gitconfig') | |
2392 | +au BufNewFile,BufRead */.gitconfig.d/*,*/etc/gitconfig.d/* call s:StarSetf('gitconfig') | |
2393 | 2393 | |
2394 | 2394 | " Gitolite |
2395 | 2395 | au BufNewFile,BufRead */gitolite-admin/conf/* call s:StarSetf('gitolite') |
@@ -2454,7 +2454,7 @@ | ||
2454 | 2454 | au BufNewFile,BufRead tmac.* call s:StarSetf('nroff') |
2455 | 2455 | |
2456 | 2456 | " OpenBSD hostname.if |
2457 | -au BufNewFile,BufRead /etc/hostname.* call s:StarSetf('config') | |
2457 | +au BufNewFile,BufRead */etc/hostname.* call s:StarSetf('config') | |
2458 | 2458 | |
2459 | 2459 | " Pam conf |
2460 | 2460 | au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf') |
@@ -115,7 +115,7 @@ | ||
115 | 115 | \ 'coco': ['file.atg'], |
116 | 116 | \ 'conaryrecipe': ['file.recipe'], |
117 | 117 | \ 'conf': ['auto.master'], |
118 | - \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file'], | |
118 | + \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'], | |
119 | 119 | \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf'], |
120 | 120 | \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], |
121 | 121 | \ 'cook': ['file.cook'], |
@@ -208,7 +208,7 @@ | ||
208 | 208 | \ 'gemtext': ['file.gmi', 'file.gemini'], |
209 | 209 | \ 'gift': ['file.gift'], |
210 | 210 | \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG', 'NOTES_EDITMSG', 'EDIT_DESCRIPTION'], |
211 | - \ 'gitconfig': ['file.git/config', 'file.git/config.worktree', 'file.git/worktrees/x/config.worktree', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig', '/usr/local/etc/gitconfig', '/etc/gitconfig.d/file', '/.gitconfig.d/file', 'any/.config/git/config', 'any/.gitconfig.d/file', 'some.git/config', 'some.git/modules/any/config'], | |
211 | + \ 'gitconfig': ['file.git/config', 'file.git/config.worktree', 'file.git/worktrees/x/config.worktree', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig', '/usr/local/etc/gitconfig', '/etc/gitconfig.d/file', 'any/etc/gitconfig.d/file', '/.gitconfig.d/file', 'any/.config/git/config', 'any/.gitconfig.d/file', 'some.git/config', 'some.git/modules/any/config'], | |
212 | 212 | \ 'gitolite': ['gitolite.conf', '/gitolite-admin/conf/file', 'any/gitolite-admin/conf/file'], |
213 | 213 | \ 'gitrebase': ['git-rebase-todo'], |
214 | 214 | \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], |
@@ -706,7 +706,8 @@ | ||
706 | 706 | \ 'awk': [['#!/path/awk'], |
707 | 707 | \ ['#!/path/gawk']], |
708 | 708 | \ 'wml': [['#!/path/wml']], |
709 | - \ 'scheme': [['#!/path/scheme']], | |
709 | + \ 'scheme': [['#!/path/scheme'], | |
710 | + \ ['#!/path/guile']], | |
710 | 711 | \ 'cfengine': [['#!/path/cfengine']], |
711 | 712 | \ 'erlang': [['#!/path/escript']], |
712 | 713 | \ 'haskell': [['#!/path/haskell']], |
@@ -736,6 +736,8 @@ | ||
736 | 736 | static int included_patches[] = |
737 | 737 | { /* Add new patch number below this line */ |
738 | 738 | /**/ |
739 | + 41, | |
740 | +/**/ | |
739 | 741 | 40, |
740 | 742 | /**/ |
741 | 743 | 39, |