aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui_compositor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui_compositor.h')
-rw-r--r--src/nvim/ui_compositor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/ui_compositor.h b/src/nvim/ui_compositor.h
new file mode 100644
index 0000000000..b3780db532
--- /dev/null
+++ b/src/nvim/ui_compositor.h
@@ -0,0 +1,12 @@
+// Bridge for communication between a UI thread and nvim core.
+// Used by the built-in TUI and libnvim-based UIs.
+#ifndef NVIM_UI_COMPOSITOR_H
+#define NVIM_UI_COMPOSITOR_H
+
+#include "nvim/ui.h"
+#include "nvim/event/defs.h"
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "ui_compositor.h.generated.h"
+#endif
+#endif // NVIM_UI_COMPOSITOR_H