neovim/test/functional/vimscript
Sean Dewar cf140fb25b
vim-patch:9.1.0047: issues with temp curwin/buf while cmdwin is open
Problem:  Things that temporarily change/restore curwin/buf (e.g:
          win_execute, some autocmds) may break assumptions that
          curwin/buf is the cmdwin when "cmdwin_type != 0", causing
          issues.

Solution: Expose the cmdwin's real win/buf and check that instead. Also
          try to ensure these variables are NULL if "cmdwin_type == 0",
          allowing them to be used directly in most cases without
          checking cmdwin_type. (Sean Dewar)

Reset and save `cmdwin_old_curwin` in a similar fashion.
Apply suitable changes for API functions and add Lua tests.

988f74311c
2024-01-28 12:29:26 +00:00
..
api_functions_spec.lua vim-patch:9.1.0047: issues with temp curwin/buf while cmdwin is open 2024-01-28 12:29:26 +00:00
buf_functions_spec.lua test: use integers for API Buffer/Window/Tabpage EXT types 2024-01-16 19:11:49 +00:00
changedtick_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
container_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
ctx_functions_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
environ_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
errorlist_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
eval_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
executable_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
execute_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
exepath_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
fnamemodify_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
functions_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
getline_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
glob_spec.lua test: use vim.mpack and vim.uv directly 2024-01-12 12:04:20 +00:00
has_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
hostname_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
input_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
json_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
lang_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
let_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
map_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
match_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
minmax_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
modeline_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
msgpack_functions_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
null_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
operators_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
printf_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
reltime_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
screenchar_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
screenpos_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
server_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
setpos_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
sort_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
special_vars_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
state_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
string_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
system_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
timer_spec.lua test: big cleanup followup 2024-01-17 10:10:17 +00:00
uniq_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
vvar_event_spec.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
wait_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00
writefile_spec.lua test: rename (meths, funcs) -> (api, fn) 2024-01-12 18:59:14 +00:00