mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 02:08:17 +00:00
refactor(api): complete conversion from Dictionary
to Dict(opts)
(#26365)
This commit is contained in:

committed by
GitHub

parent
32c8f951bb
commit
0b74ad0a64
@@ -51,6 +51,12 @@ typedef struct {
|
||||
Boolean undo_restore;
|
||||
} Dict(set_extmark);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__get_extmark_;
|
||||
Boolean details;
|
||||
Boolean hl_name;
|
||||
} Dict(get_extmark);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__get_extmarks_;
|
||||
Integer limit;
|
||||
@@ -313,3 +319,29 @@ typedef struct {
|
||||
typedef struct {
|
||||
Boolean output;
|
||||
} Dict(exec_opts);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__buf_attach_;
|
||||
LuaRef on_lines;
|
||||
LuaRef on_bytes;
|
||||
LuaRef on_changedtick;
|
||||
LuaRef on_detach;
|
||||
LuaRef on_reload;
|
||||
Boolean utf_sizes;
|
||||
Boolean preview;
|
||||
} Dict(buf_attach);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__buf_delete_;
|
||||
Boolean force;
|
||||
Boolean unload;
|
||||
} Dict(buf_delete);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__empty_;
|
||||
} Dict(empty);
|
||||
|
||||
typedef struct {
|
||||
OptionalKeys is_set__open_term_;
|
||||
LuaRef on_input;
|
||||
} Dict(open_term);
|
||||
|
Reference in New Issue
Block a user