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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/winfloat.h b/src/nvim/winfloat.h
index 876ea9ccea..6e30c8da69 100644
--- a/src/nvim/winfloat.h
+++ b/src/nvim/winfloat.h
@@ -2,6 +2,13 @@
#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" });
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "winfloat.h.generated.h"