neovim/test/functional/options
phanium 01a97d2ad7
fix(api): nvim_win_set_buf(0, 0) fails if 'winfixbuf' is set #31576
## Problem
With 'winfixbuf' enabled, `nvim_win_set_buf` and `nvim_set_current_buf` fail
even if targeting the already-current buffer.

    vim.wo.winfixbuf = true
    vim.api.nvim_win_set_buf(0, 0)
    vim.api.nvim_set_current_buf(0)

Solution:
Check for this condition.
2024-12-16 00:59:24 -08:00
..
autochdir_spec.lua refactor(test): rename alter_slashes, invert its behavior 2024-09-09 12:23:54 +02:00
belloff_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
chars_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
cursorbind_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
defaults_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
keymap_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
modified_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
mousescroll_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
num_options_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
shortmess_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
tabstop_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
winfixbuf_spec.lua fix(api): nvim_win_set_buf(0, 0) fails if 'winfixbuf' is set #31576 2024-12-16 00:59:24 -08:00