mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
vim-patch:0049a495c8d4 (#27817)
runtime(doc): improve 'winfixbuf' docs (vim/vim#14180)
- Make it not sound like a buffer option.
- "!" is called a modifier, not an option.
0049a495c8
This commit is contained in:
6
runtime/lua/vim/_meta/options.lua
generated
6
runtime/lua/vim/_meta/options.lua
generated
@@ -7876,11 +7876,11 @@ vim.o.wi = vim.o.window
|
||||
vim.go.window = vim.o.window
|
||||
vim.go.wi = vim.go.window
|
||||
|
||||
--- If enabled, the buffer and any window that displays it are paired.
|
||||
--- If enabled, the window and the buffer it is displaying are paired.
|
||||
--- For example, attempting to change the buffer with `:edit` will fail.
|
||||
--- Other commands which change a window's buffer such as `:cnext` will
|
||||
--- also skip any window with 'winfixbuf' enabled. However if a command
|
||||
--- has an "!" option, a window can be forced to switch buffers.
|
||||
--- also skip any window with 'winfixbuf' enabled. However if an Ex
|
||||
--- command has a "!" modifier, it can force switching buffers.
|
||||
---
|
||||
--- @type boolean
|
||||
vim.o.winfixbuf = false
|
||||
|
Reference in New Issue
Block a user