mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
vim-patch:bfeefc4: runtime(doc): clarify the effect of exclusive single char selections (#34289)
closes: vim/vim#17410bfeefc474a
Co-authored-by: Christian Brabandt <cb@256bit.org> (cherry picked from commitaa4fa24963
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
0d66963089
commit
222b3d5021
4
runtime/lua/vim/_meta/vimfn.lua
generated
4
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -3692,6 +3692,10 @@ function vim.fn.getreginfo(regname) end
|
||||
--- - It is evaluated in current window context, which makes a
|
||||
--- difference if the buffer is displayed in a window with
|
||||
--- different 'virtualedit' or 'list' values.
|
||||
--- - When specifying an exclusive selection and {pos1} and {pos2}
|
||||
--- are equal, the returned list contains a single character as
|
||||
--- if selection is inclusive, to match the behavior of an empty
|
||||
--- exclusive selection in Visual mode.
|
||||
---
|
||||
--- Examples: >vim
|
||||
--- xnoremap <CR>
|
||||
|
Reference in New Issue
Block a user