mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
refactor: move extern variables out of _defs.h files (#26320)
This commit is contained in:
@@ -357,8 +357,6 @@ typedef struct {
|
||||
#define BUF_UPDATE_CALLBACKS_INIT { LUA_NOREF, LUA_NOREF, LUA_NOREF, \
|
||||
LUA_NOREF, LUA_NOREF, false, false }
|
||||
|
||||
EXTERN int curbuf_splice_pending INIT( = 0);
|
||||
|
||||
#define BUF_HAS_QF_ENTRY 1
|
||||
#define BUF_HAS_LL_ENTRY 2
|
||||
|
||||
@@ -904,12 +902,7 @@ enum {
|
||||
kFloatAnchorSouth = 2,
|
||||
};
|
||||
|
||||
// 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 float_relative_str in winfloat.h
|
||||
typedef enum {
|
||||
kFloatRelativeEditor = 0,
|
||||
kFloatRelativeWindow = 1,
|
||||
@@ -917,9 +910,6 @@ typedef enum {
|
||||
kFloatRelativeMouse = 3,
|
||||
} FloatRelative;
|
||||
|
||||
EXTERN const char *const float_relative_str[] INIT( = { "editor", "win",
|
||||
"cursor", "mouse" });
|
||||
|
||||
typedef enum {
|
||||
kWinStyleUnused = 0,
|
||||
kWinStyleMinimal, /// Minimal UI: no number column, eob markers, etc
|
||||
|
Reference in New Issue
Block a user