diff options
author | luukvbaal <31730729+luukvbaal@users.noreply.github.com> | 2023-01-12 16:04:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 23:04:43 +0800 |
commit | 0fd59f0121bbf8906203689c790eeba6f501600e (patch) | |
tree | 5528e2fc83f61b9195452bc278c38a9fec661d99 /src | |
parent | 443bbfd59e2818aeee72d2ed77af1cb24617e46f (diff) | |
download | rneovim-0fd59f0121bbf8906203689c790eeba6f501600e.tar.gz rneovim-0fd59f0121bbf8906203689c790eeba6f501600e.tar.bz2 rneovim-0fd59f0121bbf8906203689c790eeba6f501600e.zip |
fix(statuscolumn): foldcolumn buffer is too small (#21761)
Resolve https://github.com/neovim/neovim/issues/21759.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/buffer_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index c794b88229..f01edd1ad2 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1426,7 +1426,7 @@ struct statuscol { int sign_attr[SIGN_SHOW_MAX + 1]; ///< attributes used for signs int truncate; ///< truncated width bool draw; ///< draw statuscolumn or not - char fold_text[10]; ///< text in fold column (%C) + char fold_text[9 * 4 + 1]; ///< text in fold column (%C) char *sign_text[SIGN_SHOW_MAX + 1]; ///< text in sign column (%s) char text[MAXPATHL]; ///< text in status column char *textp; ///< current position in text |