diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-22 18:26:03 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-22 18:27:48 -0400 |
commit | 49b8d43052ef2610e1fa87c484daa735a79c79ee (patch) | |
tree | 21d931d692cc8cfb6ce5d4946e46c5556b4cc7a5 | |
parent | d69a8a3fc4ad24b51817e5fd90cf2081cb981977 (diff) | |
download | rneovim-49b8d43052ef2610e1fa87c484daa735a79c79ee.tar.gz rneovim-49b8d43052ef2610e1fa87c484daa735a79c79ee.tar.bz2 rneovim-49b8d43052ef2610e1fa87c484daa735a79c79ee.zip |
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)
https://github.com/vim/vim/commit/2733779a1a36c06f5f900666ac94bfe4c25ea39b
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)
https://github.com/vim/vim/commit/15ab48f088842de512ca5f13aa39a4dc7cac8477
-rw-r--r-- | src/nvim/testdir/test_filetype.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index c7ca682c8c..9f79c1b545 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -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() |