aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/winfloat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/winfloat.h')
-rw-r--r--src/nvim/winfloat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/winfloat.h b/src/nvim/winfloat.h
index 876ea9ccea..877a12a9e7 100644
--- a/src/nvim/winfloat.h
+++ b/src/nvim/winfloat.h
@@ -2,6 +2,17 @@
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/buffer_defs.h" // IWYU pragma: keep
+#include "nvim/macros_defs.h"
+
+/// NW -> 0
+/// NE -> kFloatAnchorEast
+/// SW -> kFloatAnchorSouth
+/// SE -> kFloatAnchorSouth | kFloatAnchorEast
+EXTERN const char *const float_anchor_str[] INIT( = { "NW", "NE", "SW", "SE" });
+
+/// Keep in sync with FloatRelative in buffer_defs.h
+EXTERN const char *const float_relative_str[]
+INIT( = { "editor", "win", "cursor", "mouse" });
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "winfloat.h.generated.h"