aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-19 11:49:59 +0200
committerGitHub <noreply@github.com>2023-09-19 11:49:59 +0200
commit2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f (patch)
tree7b7baf5a45d1c3b44399125005e535412956b211 /src/nvim/buffer_defs.h
parent6405fa4b117263b92f87b17150abd2d1c6ab5881 (diff)
parentfd08fd3de3020647c8ae73f1c7d2cf9a4926c828 (diff)
downloadrneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.tar.gz
rneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.tar.bz2
rneovim-2de5cddeb197502c8b3ecf5e7eb1ac929cc2307f.zip
Merge pull request #25148 from glepnir/fixed_opt
fix(float): add fixed option
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 3229cb2fe7..c09de30bc1 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -966,6 +966,7 @@ typedef struct {
VirtText footer_chunks;
int footer_width;
bool noautocmd;
+ bool fixed;
} FloatConfig;
#define FLOAT_CONFIG_INIT ((FloatConfig){ .height = 0, .width = 0, \
@@ -975,7 +976,8 @@ typedef struct {
.focusable = true, \
.zindex = kZIndexFloatDefault, \
.style = kWinStyleUnused, \
- .noautocmd = false })
+ .noautocmd = false, \
+ .fixed = false })
// Structure to store last cursor position and topline. Used by check_lnums()
// and reset_lnums().