aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/winfloat.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-01 16:37:09 +0800
committerGitHub <noreply@github.com>2023-12-01 16:37:09 +0800
commit76a30f2bd0f4e5abe906eabcdce092931d712be3 (patch)
tree492274a977f8d2e79ffc136b9c050b4570988cae /src/nvim/winfloat.h
parent548f03c66c08d0235d62505e884e8088bfda1804 (diff)
downloadrneovim-76a30f2bd0f4e5abe906eabcdce092931d712be3.tar.gz
rneovim-76a30f2bd0f4e5abe906eabcdce092931d712be3.tar.bz2
rneovim-76a30f2bd0f4e5abe906eabcdce092931d712be3.zip
refactor: move float_relative_str[] to nvim_win_get_config() (#26344)
It's only used in one place, as it's usually conveyed as non-string.
Diffstat (limited to 'src/nvim/winfloat.h')
-rw-r--r--src/nvim/winfloat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/winfloat.h b/src/nvim/winfloat.h
index 877a12a9e7..6e30c8da69 100644
--- a/src/nvim/winfloat.h
+++ b/src/nvim/winfloat.h
@@ -10,10 +10,6 @@
/// 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"
#endif