summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-28 15:41:41 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-28 15:41:41 +0100
commit746670604a60cb0356b56c112ffb6d297c679099 (patch)
treebf0cdf7021500f0e39af0a7edb9d22dcc4bb9849 /src/vim.h
parentdace9f785fca6cc802b2fb7f11a5ee4fab896432 (diff)
downloadvim-git-746670604a60cb0356b56c112ffb6d297c679099.tar.gz
patch 8.2.2236: 'scroll' option can change when setting the statuslinev8.2.2236
Problem: 'scroll' option can change when setting the statusline or tabline but the option context is not updated. Solution: Update the script context when the scroll option is changed as a side effect. (Christian Brabandt, closes #7533)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 1dedd8141..f19a4fe97 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1232,6 +1232,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
#define SID_ENV -4 // for sourcing environment variable
#define SID_ERROR -5 // option was reset because of an error
#define SID_NONE -6 // don't set scriptID
+#define SID_WINLAYOUT -7 // changing window size
/*
* Events for autocommands.