To: vim_dev@googlegroups.com Subject: Patch 8.2.1779 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1779 Problem: Some debian changelog files are not recognized. Solution: Add */debian/changelog. (Jason Franklin) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.1778/runtime/filetype.vim 2020-09-22 19:15:28.193915238 +0200 --- runtime/filetype.vim 2020-10-01 16:48:35.738644241 +0200 *************** *** 317,323 **** au BufNewFile,BufRead *.con setf cterm " Changelog ! au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch \ setf debchangelog au BufNewFile,BufRead [cC]hange[lL]og --- 317,323 ---- au BufNewFile,BufRead *.con setf cterm " Changelog ! au BufNewFile,BufRead changelog.Debian,changelog.dch,NEWS.Debian,NEWS.dch,*/debian/changelog \ setf debchangelog au BufNewFile,BufRead [cC]hange[lL]og *** ../vim-8.2.1778/src/testdir/test_filetype.vim 2020-09-22 19:15:28.193915238 +0200 --- src/testdir/test_filetype.vim 2020-10-01 16:48:35.738644241 +0200 *************** *** 128,133 **** --- 128,134 ---- \ 'dart': ['file.dart', 'file.drt'], \ 'datascript': ['file.ds'], \ 'dcd': ['file.dcd'], + \ 'debchangelog': ['changelog.Debian', 'changelog.dch', 'NEWS.Debian', 'NEWS.dch', '/debian/changelog'], \ 'debcontrol': ['/debian/control'], \ 'debsources': ['/etc/apt/sources.list', '/etc/apt/sources.list.d/file.list'], \ 'def': ['file.def'], *** ../vim-8.2.1778/src/version.c 2020-10-01 13:01:30.876933240 +0200 --- src/version.c 2020-10-01 16:49:45.438297591 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1779, /**/ -- For a moment, nothing happened. Then, after a second or so, nothing continued to happen. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///