aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-23 06:35:40 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-02-23 06:39:05 +0800
commit06df895e71720b65f98b6b9c579ca5918a12bc04 (patch)
tree778d31bc4664128a2f21cf7925e918f5dd064a4f /runtime/lua/vim
parent20e4001eeedc80b1f2857fcaca81f7a211a09b40 (diff)
downloadrneovim-06df895e71720b65f98b6b9c579ca5918a12bc04.tar.gz
rneovim-06df895e71720b65f98b6b9c579ca5918a12bc04.tar.bz2
rneovim-06df895e71720b65f98b6b9c579ca5918a12bc04.zip
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() https://github.com/vim/vim/commit/421b597470c118871c7081de00dd065e0e000b7e
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 527113c016..623ce2bc0f 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -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>