aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-06-28 16:22:29 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-06-28 17:31:04 +0600
commit606ec8b70874095a62289f1df3934eca78625742 (patch)
treed5501227f7b270fec8d01ee5915da4175c6e7d22 /runtime
parentee6b21e8430ea810ba2e3e9163b941386a2e1d65 (diff)
downloadrneovim-606ec8b70874095a62289f1df3934eca78625742.tar.gz
rneovim-606ec8b70874095a62289f1df3934eca78625742.tar.bz2
rneovim-606ec8b70874095a62289f1df3934eca78625742.zip
feat(api): make `nvim_parse_cmd` and `nvim_cmd` support :filter
Also fixes a memory leak in `parse_cmdline`. Closes #18954.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 1d7a783bf1..46f4bc63c9 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1944,6 +1944,11 @@ nvim_parse_cmd({str}, {opts}) *nvim_parse_cmd()*
is treated as the start of a comment.
• mods: (dictionary) |:command-modifiers|.
+ • filter: (dictionary) |:filter|.
+ • pattern: (string) Filter pattern. Empty string if
+ there is no filter.
+ • force: (boolean) Whether filter is inverted or not.
+
• silent: (boolean) |:silent|.
• emsg_silent: (boolean) |:silent!|.
• sandbox: (boolean) |:sandbox|.