mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user