neovim/test/functional
zeertzjq 0371d0f7af
refactor(win_close): remove "force", don't pass on "free_buf" (#21921)
Problem:
The "force" flag of win_close() complicates the code and adds edge cases
where it is not clear what the correct behavior should be.
The "free_buf" flag of win_close() is passed on to float windows when
closing the last window of a tabpage, which doesn't make much sense.

Solution:
Remove the "force" flag and always close float windows as if :close! is
used when closing the last window of a tabpage, and set the "free_buf"
flag for a float window based on whether its buffer can be freed.
As 'hidden' is on by default, this change shouldn't affect many people.
2023-01-23 18:55:11 +08:00
..
api Merge #21844 test: avoid noise in test logs 2023-01-16 18:38:20 -05:00
autocmd refactor: remove E5500, adjust tests 2023-01-16 18:03:08 +08:00
core refactor(tests): lift retry() into assert_log() 2023-01-17 00:19:30 +01:00
editor fix(completion): correct what modes support fuzzy completion 2023-01-17 15:55:58 +08:00
ex_cmds test: add more tests for Unicode 2023-01-09 17:11:39 +08:00
fixtures build: use modern cmake (#21589) 2023-01-10 18:49:57 +01:00
legacy test(syn_attr_spec): add more information (#21912) 2023-01-20 10:03:29 +08:00
lua build: make generated source files reproducible #21586 2023-01-23 01:26:46 -08:00
options fix: failing XDG test on Windows CI 2023-01-17 01:57:52 +01:00
plugin dist: transpile cfilter.vim => cfilter.lua #21662 2023-01-08 12:31:38 -08:00
provider fix(clipboard): show provider warning when not during batch changes #21451 2023-01-03 15:17:54 -08:00
shada test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
terminal fix(remote): don't leak memory on failure to connect to server (#21931) 2023-01-21 18:54:17 +08:00
treesitter feat(treesitter): show filetype associated with parser (#17633) 2023-01-22 16:51:17 +01:00
ui refactor(win_close): remove "force", don't pass on "free_buf" (#21921) 2023-01-23 18:55:11 +08:00
vimscript refactor(tests): lift retry() into assert_log() 2023-01-17 00:19:30 +01:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua refactor(tests): lift retry() into assert_log() 2023-01-17 00:19:30 +01:00
preload.lua test: remove unused variable (#21552) 2022-12-29 07:20:42 +08:00