diff options
| author | glepnir <glephunter@gmail.com> | 2023-09-14 13:30:51 +0800 |
|---|---|---|
| committer | glepnir <glephunter@gmail.com> | 2023-09-18 18:21:14 +0800 |
| commit | fd08fd3de3020647c8ae73f1c7d2cf9a4926c828 (patch) | |
| tree | d6ea15fe5c720985f146431cac3587ced8516ced /src/nvim/buffer_defs.h | |
| parent | a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d (diff) | |
| download | rneovim-fd08fd3de3020647c8ae73f1c7d2cf9a4926c828.tar.gz rneovim-fd08fd3de3020647c8ae73f1c7d2cf9a4926c828.tar.bz2 rneovim-fd08fd3de3020647c8ae73f1c7d2cf9a4926c828.zip | |
fix(float): add fixd option
Diffstat (limited to 'src/nvim/buffer_defs.h')
| -rw-r--r-- | src/nvim/buffer_defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 3f55dbbc00..10e6cde280 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(). |