diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-12 05:39:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 05:39:21 +0800 |
commit | 9cc755ad6a60e2b028d61c1dca62f8fe20f652d7 (patch) | |
tree | 21f099e9b4c6179754a1b3ffa2ba3db299b5f546 /runtime/doc/options.txt | |
parent | 205cf0d2968cadaf769d451bbb3eac3d2dc2e265 (diff) | |
download | rneovim-9cc755ad6a60e2b028d61c1dca62f8fe20f652d7.tar.gz rneovim-9cc755ad6a60e2b028d61c1dca62f8fe20f652d7.tar.bz2 rneovim-9cc755ad6a60e2b028d61c1dca62f8fe20f652d7.zip |
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.
https://github.com/vim/vim/commit/0049a495c8d4a597773587f622d8cc8573c2eb75
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index f35700218c..271652f8ae 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -270,6 +270,7 @@ created, thus they behave slightly differently: Option Reason ~ 'previewwindow' there can only be a single one 'scroll' specific to existing window + 'winfixbuf' specific to existing window 'winfixheight' specific to existing window 'winfixwidth' specific to existing window @@ -7175,11 +7176,11 @@ A jump table for the options with a short description can be found at |Q_op|. *'winfixbuf'* *'wfb'* *'nowinfixbuf'* *'nowfb'* 'winfixbuf' 'wfb' boolean (default off) local to 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. *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* 'winfixheight' 'wfh' boolean (default off) |