comparison src/optionstr.c @ 24464:a56f9c2ba51c v8.2.2772

patch 8.2.2772: problems when restoring 'runtimepath' from a session file Commit: https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 16 19:58:22 2021 +0200 patch 8.2.2772: problems when restoring 'runtimepath' from a session file Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'.
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Apr 2021 20:00:05 +0200
parents a9ff8368d35f
children 1a658c5eb326
comparison
equal deleted inserted replaced
24463:754a22f6d5bc 24464:a56f9c2ba51c
32 static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent", 32 static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent",
33 "quickfix", "search", "tag", "insert", 33 "quickfix", "search", "tag", "insert",
34 "undo", "jump", NULL}; 34 "undo", "jump", NULL};
35 #endif 35 #endif
36 #ifdef FEAT_SESSION 36 #ifdef FEAT_SESSION
37 // Also used for 'viewoptions'! 37 // Also used for 'viewoptions'! Keep in sync with SSOP_ flags.
38 static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize", 38 static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize",
39 "localoptions", "options", "help", "blank", "globals", "slash", "unix", 39 "localoptions", "options", "help", "blank", "globals", "slash", "unix",
40 "sesdir", "curdir", "folds", "cursor", "tabpages", "terminal", NULL}; 40 "sesdir", "curdir", "folds", "cursor", "tabpages", "terminal", "skiprtp",
41 NULL};
41 #endif 42 #endif
42 // Keep in sync with SWB_ flags in option.h 43 // Keep in sync with SWB_ flags in option.h
43 static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit", "uselast", NULL}; 44 static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit", "uselast", NULL};
44 static char *(p_tc_values[]) = {"followic", "ignore", "match", "followscs", "smart", NULL}; 45 static char *(p_tc_values[]) = {"followic", "ignore", "match", "followscs", "smart", NULL};
45 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_MSWIN) 46 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_MSWIN)