Merge pull request #25386 from glepnir/toggle_float

feat(float): support toggle show float window
This commit is contained in:
bfredl
2023-09-30 13:40:35 +02:00
committed by GitHub
9 changed files with 156 additions and 14 deletions

View File

@@ -967,6 +967,7 @@ typedef struct {
int footer_width;
bool noautocmd;
bool fixed;
bool hide;
} FloatConfig;
#define FLOAT_CONFIG_INIT ((FloatConfig){ .height = 0, .width = 0, \
@@ -977,6 +978,7 @@ typedef struct {
.zindex = kZIndexFloatDefault, \
.style = kWinStyleUnused, \
.noautocmd = false, \
.hide = false, \
.fixed = false })
// Structure to store last cursor position and topline. Used by check_lnums()