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 -- [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/202010221033.09MAXxwp308247%40masaka.moolenaar.net.