aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/keysets_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/api/keysets_defs.h')
-rw-r--r--src/nvim/api/keysets_defs.h76
1 files changed, 69 insertions, 7 deletions
diff --git a/src/nvim/api/keysets_defs.h b/src/nvim/api/keysets_defs.h
index e59eda5686..fe91d9760d 100644
--- a/src/nvim/api/keysets_defs.h
+++ b/src/nvim/api/keysets_defs.h
@@ -3,6 +3,10 @@
#include "nvim/api/private/defs.h"
typedef struct {
+ OptionalKeys is_set__empty_;
+} Dict(empty);
+
+typedef struct {
OptionalKeys is_set__context_;
Array types;
} Dict(context);
@@ -24,11 +28,12 @@ typedef struct {
Integer end_line;
Integer end_row;
Integer end_col;
- Object hl_group;
+ HLGroupID hl_group;
Array virt_text;
String virt_text_pos;
Integer virt_text_win_col;
Boolean virt_text_hide;
+ Boolean virt_text_repeat_linebreak;
Boolean hl_eol;
String hl_mode;
Boolean invalidate;
@@ -41,17 +46,27 @@ typedef struct {
Boolean virt_lines_leftcol;
Boolean strict;
String sign_text;
- Object sign_hl_group;
- Object number_hl_group;
- Object line_hl_group;
- Object cursorline_hl_group;
+ HLGroupID sign_hl_group;
+ HLGroupID number_hl_group;
+ HLGroupID line_hl_group;
+ HLGroupID cursorline_hl_group;
String conceal;
Boolean spell;
Boolean ui_watched;
Boolean undo_restore;
+ String url;
+ Boolean scoped;
+
+ Integer _subpriority;
} 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;
Boolean details;
@@ -94,17 +109,19 @@ typedef struct {
} Dict(user_command);
typedef struct {
- OptionalKeys is_set__float_config_;
+ OptionalKeys is_set__win_config_;
Float row;
Float col;
Integer width;
Integer height;
String anchor;
String relative;
+ String split;
Window win;
Array bufpos;
Boolean external;
Boolean focusable;
+ Boolean vertical;
Integer zindex;
Object border;
Object title;
@@ -115,7 +132,7 @@ typedef struct {
Boolean noautocmd;
Boolean fixed;
Boolean hide;
-} Dict(float_config);
+} Dict(win_config);
typedef struct {
Boolean is_lua;
@@ -172,6 +189,7 @@ typedef struct {
Boolean fg_indexed;
Boolean bg_indexed;
Boolean force;
+ String url;
} Dict(highlight);
typedef struct {
@@ -313,3 +331,47 @@ 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__open_term_;
+ LuaRef on_input;
+ Boolean force_crlf;
+} Dict(open_term);
+
+typedef struct {
+ OptionalKeys is_set__complete_set_;
+ String info;
+} Dict(complete_set);
+
+typedef struct {
+ OptionalKeys is_set__xdl_diff_;
+ LuaRef on_hunk;
+ String result_type;
+ String algorithm;
+ Integer ctxlen;
+ Integer interhunkctxlen;
+ Object linematch;
+ Boolean ignore_whitespace;
+ Boolean ignore_whitespace_change;
+ Boolean ignore_whitespace_change_at_eol;
+ Boolean ignore_cr_at_eol;
+ Boolean ignore_blank_lines;
+ Boolean indent_heuristic;
+} Dict(xdl_diff);