mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
vim-patch:9.1.0126: Internal error when using upper-case mark in getregion()
Problem: Internal error when passing mark in another buffer to
getregion().
Solution: Don't allow marks in another buffer (zeertzjq)
closes: vim/vim#14076
Internal error when passing mark in another buffer to getregion()
421b597470
This commit is contained in:
2
runtime/lua/vim/_meta/vimfn.lua
generated
2
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -3553,6 +3553,8 @@ function vim.fn.getreginfo(regname) end
|
||||
--- |visual-mode|, an empty list is returned.
|
||||
--- - If {pos1}, {pos2} or {type} is an invalid string, an empty
|
||||
--- list is returned.
|
||||
--- - If {pos1} or {pos2} is a mark in different buffer, an empty
|
||||
--- list is returned.
|
||||
---
|
||||
--- Examples: >
|
||||
--- :xnoremap <CR>
|
||||
|
||||
Reference in New Issue
Block a user