test(ALL): on Nightly nvim_win_get_config () always returns "style"#2295
test(ALL): on Nightly nvim_win_get_config () always returns "style"#2295abeldekat wants to merge 1 commit intonvim-mini:mainfrom
nvim_win_get_config () always returns "style"#2295Conversation
|
Thanks for the PR! Couple of notes about the commit message (I should probably document that in "MAINTAINING.md"...):
As there is another failing test on Nightly, could you please take a look at it? I have a feeling it might be an actual Neovim regression, though, but let's hope it is not. |
|
I resubmitted and will look at the other failing test |
Wait, it is 38122, not 38112. Sorry. |
|
New push....) |
|
@echasnovski, the following test fails for mini.files: FAIL in tests/test_files.lua | Events | `MiniFilesWindowUpdate` can customize internally set window config parts:
Failed expectation for screenshot equality to reference at "tests/screenshots/tests-test_files.lua---Events---`MiniFilesWindowUpdate`-can-customize-internally-set-window-config-parts"
Cause: different `attr` cell at line 2 column 56, reference = "6", observed = "5"This is also caused by PR 38122 in neovim/neovim: "fix(api): return "style" in nvim_win_get_config()" The preceding commit(84d84) from PR 38138 "fix(window): style=minimal window loses local options when switching buffers#38138" passes |
I see. Still needs to be adjusted, as the test is about for the officially documented example in |
Done |
Thanks! Not a big problem to adjust in 'mini.files', but I wonder if this is better be reverted upstream. |
See PR 38122 in neovim/neovim Details: - This also affects the documentation as one test is about the officially documented example in MiniFiles-examples
nvim_win_get_config () always returns "style"
|
Let's wait for the resolution of neovim/neovim#38152. The 'mini.files' fix (which is a bit flawed in its current form, by the way) won't be needed if that is merged. |
See PR 38122 in neovim/neovim