mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
feat(api): make nvim_parse_cmd
and nvim_cmd
support :filter
Also fixes a memory leak in `parse_cmdline`. Closes #18954.
This commit is contained in:
@@ -181,6 +181,7 @@ return {
|
||||
cmd_mods = {
|
||||
"silent";
|
||||
"emsg_silent";
|
||||
"filter";
|
||||
"sandbox";
|
||||
"noautocmd";
|
||||
"browse";
|
||||
@@ -197,6 +198,10 @@ return {
|
||||
"vertical";
|
||||
"split";
|
||||
};
|
||||
cmd_mods_filter = {
|
||||
"pattern";
|
||||
"force";
|
||||
};
|
||||
cmd_opts = {
|
||||
"output";
|
||||
};
|
||||
|
Reference in New Issue
Block a user