vim-patch:8.2.1885: filetype tests unnessarily creates swap files

Problem:    Filetype tests unnessarily creates swap files.
Solution:   Disable 'swapfile'. (Ken Takata, closes vim/vim#7183)
2733779a1a

N/A patches for version.c:

vim-patch:8.2.1887: Github actions not optimally configured

Problem:    Github actions not optimally configured.
Solution:   Run CI on any pushed branches. Set fail-fast. (Ozaki Kiichi,
            closes vim/vim#7184)
15ab48f088
This commit is contained in:
Jan Edmund Lazo 2020-10-22 18:26:03 -04:00
parent d69a8a3fc4
commit 49b8d43052
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -532,6 +532,7 @@ let s:filename_case_checks = {
\ }
func CheckItems(checks)
set noswapfile
for [ft, names] in items(a:checks)
for i in range(0, len(names) - 1)
new
@ -548,6 +549,7 @@ func CheckItems(checks)
bwipe!
endfor
endfor
set swapfile&
endfunc
func Test_filetype_detection()