mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
d69a8a3fc4
commit
49b8d43052
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user