summaryrefslogtreecommitdiff
path: root/src/optionstr.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-16 19:58:22 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-16 19:58:22 +0200
commit635bd60804966803490287e97460ecdc91d5fe0a (patch)
treefe8e75ace9e40b0e06f394e689296afe2b6042a7 /src/optionstr.c
parentaa1959bd5e82350bb4a82d9a5188c29d70706ec4 (diff)
downloadvim-git-635bd60804966803490287e97460ecdc91d5fe0a.tar.gz
patch 8.2.2772: problems when restoring 'runtimepath' from a session filev8.2.2772
Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'.
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 521242dbc..91d0a69d1 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -34,10 +34,11 @@ static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent",
"undo", "jump", NULL};
#endif
#ifdef FEAT_SESSION
-// Also used for 'viewoptions'!
+// Also used for 'viewoptions'! Keep in sync with SSOP_ flags.
static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize",
"localoptions", "options", "help", "blank", "globals", "slash", "unix",
- "sesdir", "curdir", "folds", "cursor", "tabpages", "terminal", NULL};
+ "sesdir", "curdir", "folds", "cursor", "tabpages", "terminal", "skiprtp",
+ NULL};
#endif
// Keep in sync with SWB_ flags in option.h
static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit", "uselast", NULL};