mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
01a97d2ad7
## 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. |
||
---|---|---|
.. | ||
autochdir_spec.lua | ||
belloff_spec.lua | ||
chars_spec.lua | ||
cursorbind_spec.lua | ||
defaults_spec.lua | ||
keymap_spec.lua | ||
modified_spec.lua | ||
mousescroll_spec.lua | ||
num_options_spec.lua | ||
shortmess_spec.lua | ||
tabstop_spec.lua | ||
winfixbuf_spec.lua |