aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2020-05-16 22:25:51 +0900
committerGitHub <noreply@github.com>2020-05-16 15:25:51 +0200
commitd7d69fed18c2cd59d28ff12ef72f6fb2a98a7b66 (patch)
treec854446549f57498c8e07481a721c37c6a2e2d32 /src/nvim/eval.lua
parentf3d0a1741ef69222ab7893ce4f801d26b6b3fb00 (diff)
downloadrneovim-d7d69fed18c2cd59d28ff12ef72f6fb2a98a7b66.tar.gz
rneovim-d7d69fed18c2cd59d28ff12ef72f6fb2a98a7b66.tar.bz2
rneovim-d7d69fed18c2cd59d28ff12ef72f6fb2a98a7b66.zip
vim-patch:8.1.1084: cannot delete a match from another window (#12325)
Problem: Cannot delete a match from another window. (Paul Jolly) Solution: Add window ID argument to matchdelete(), clearmatches(), getmatches() and setmatches(). (Andy Massimino, closes vim/vim#4178) https://github.com/vim/vim/commit/aff749145e23c0f20b5158d1d3a942948ed138e3
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 65c4cfe553..51872a7ba8 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -64,7 +64,7 @@ return {
chansend={args=2},
char2nr={args={1, 2}},
cindent={args=1},
- clearmatches={},
+ clearmatches={args={0, 1}},
col={args=1},
complete={args=2},
complete_add={args=1},
@@ -149,7 +149,7 @@ return {
getjumplist={args={0, 2}},
getline={args={1, 2}},
getloclist={args={1, 2}},
- getmatches={},
+ getmatches={args={0, 1}},
getpid={},
getpos={args=1},
getqflist={args={0, 1}},
@@ -227,7 +227,7 @@ return {
matchadd={args={2, 5}},
matchaddpos={args={2, 5}},
matcharg={args=1},
- matchdelete={args=1},
+ matchdelete={args={1, 2}},
matchend={args={2, 4}},
matchlist={args={2, 4}},
matchstr={args={2, 4}},
@@ -293,7 +293,7 @@ return {
setfperm={args=2},
setline={args=2},
setloclist={args={2, 4}},
- setmatches={args=1},
+ setmatches={args={1, 2}},
setpos={args=2},
setqflist={args={1, 3}},
setreg={args={2, 3}},