0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2778: problem restoring 'packpath' in session

Problem:    Problem restoring 'packpath' in session.
Solution:   Let "skiprtp" also apply to 'packpath'.
This commit is contained in:
Bram Moolenaar
2021-04-17 21:04:34 +02:00
parent 51e933261b
commit d23b714d8b
4 changed files with 15 additions and 8 deletions

View File

@@ -4615,7 +4615,8 @@ makeset(FILE *fd, int opt_flags, int local_only)
if ((opt_flags & OPT_GLOBAL) && optval_default(p, varp, p_cp))
continue;
if ((opt_flags & OPT_SKIPRTP) && p->var == (char_u *)&p_rtp)
if ((opt_flags & OPT_SKIPRTP) && (p->var == (char_u *)&p_rtp
|| p->var == (char_u *)&p_pp))
continue;
round = 2;