Patch 8.2.1885
Problem: Filetype tests unnessarily creates swap files.
Solution: Disable 'swapfile'. (Ken Takata, closes #7183)
Files: src/testdir/test_filetype.vim
*** ../vim-8.2.1884/src/testdir/test_filetype.vim 2020-10-10 21:50:21.128071530 +0200
--- src/testdir/test_filetype.vim 2020-10-22 12:28:29.837687527 +0200
***************
*** 549,554 ****
--- 549,555 ----
\ }
func CheckItems(checks)
+ set noswapfile
for [ft, names] in items(a:checks)
for i in range(0, len(names) - 1)
new
***************
*** 565,570 ****
--- 566,572 ----
bwipe!
endfor
endfor
+ set swapfile&
endfunc
func Test_filetype_detection()
*** ../vim-8.2.1884/src/version.c 2020-10-22 12:31:45.841100292 +0200
--- src/version.c 2020-10-22 12:33:07.988853560 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1885,
/**/
--
Laughing helps. It's like jogging on the inside.
/// Bram Moolenaar -- Br...@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 ///