mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 12:04:58 +00:00
refactor(api): complete conversion from Dictionary to Dict(opts) (#26365)
This commit is contained in:
committed by
GitHub
parent
32c8f951bb
commit
0b74ad0a64
@@ -94,15 +94,11 @@
|
||||
/// - "belowright": |:belowright|.
|
||||
/// - "topleft": |:topleft|.
|
||||
/// - "botright": |:botright|.
|
||||
Dictionary nvim_parse_cmd(String str, Dictionary opts, Error *err)
|
||||
Dictionary nvim_parse_cmd(String str, Dict(empty) *opts, Error *err)
|
||||
FUNC_API_SINCE(10) FUNC_API_FAST
|
||||
{
|
||||
Dictionary result = ARRAY_DICT_INIT;
|
||||
|
||||
VALIDATE((opts.size == 0), "%s", "opts dict isn't empty", {
|
||||
return result;
|
||||
});
|
||||
|
||||
// Parse command line
|
||||
exarg_T ea;
|
||||
CmdParseInfo cmdinfo;
|
||||
|
||||
Reference in New Issue
Block a user