aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui_client.h')
-rw-r--r--src/nvim/ui_client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/ui_client.h b/src/nvim/ui_client.h
index d31341ae60..41d9fa6227 100644
--- a/src/nvim/ui_client.h
+++ b/src/nvim/ui_client.h
@@ -3,7 +3,10 @@
#include "nvim/api/private/defs.h"
-typedef void (*UIClientHandler)(Array args);
+typedef struct {
+ const char *name;
+ void (*fn)(Array args);
+} UIClientHandler;
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "ui_client.h.generated.h"