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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202010011454.091Esbnt1275818%40masaka.moolenaar.net.

Raspunde prin e-mail lui