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:
zeertzjq
2023-12-01 16:37:09 +08:00
committed by GitHub
parent 548f03c66c
commit 76a30f2bd0
3 changed files with 4 additions and 5 deletions

View File

@@ -902,7 +902,7 @@ enum {
kFloatAnchorSouth = 2,
};
/// Keep in sync with float_relative_str in winfloat.h
/// Keep in sync with float_relative_str[] in nvim_win_get_config()
typedef enum {
kFloatRelativeEditor = 0,
kFloatRelativeWindow = 1,