To: vim_dev@googlegroups.com Subject: Patch 9.0.0814 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0814 Problem: Aws config files are not recognized. Solution: Use "confini" for aws config files. (Justin M. Keyes, closes #11416) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.0813/runtime/filetype.vim 2022-10-20 20:52:40.966895999 +0100 --- runtime/filetype.vim 2022-10-21 14:31:39.311492311 +0100 *************** *** 1372,1377 **** --- 1372,1378 ---- " ini style config files, using # comments au BufNewFile,BufRead */etc/pacman.conf,mpv.conf setf confini + au BufNewFile,BufRead */.aws/config,*/.aws/credentials setf confini " Pacman hooks au BufNewFile,BufRead *.hook *** ../vim-9.0.0813/src/testdir/test_filetype.vim 2022-10-20 20:52:40.966895999 +0100 --- src/testdir/test_filetype.vim 2022-10-21 14:31:39.311492311 +0100 *************** *** 120,126 **** \ 'conaryrecipe': ['file.recipe'], \ 'conf': ['auto.master'], \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'], ! \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf'], \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'cook': ['file.cook'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], --- 120,126 ---- \ 'conaryrecipe': ['file.recipe'], \ 'conf': ['auto.master'], \ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'], ! \ 'confini': ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials'], \ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], \ 'cook': ['file.cook'], \ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'], *** ../vim-9.0.0813/src/version.c 2022-10-21 14:17:19.579639460 +0100 --- src/version.c 2022-10-21 14:33:08.887402697 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 814, /**/ -- SECOND SOLDIER: It could be carried by an African swallow! FIRST SOLDIER: Oh yes! An African swallow maybe ... but not a European swallow. that's my point. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///