mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:8.2.2778: problem restoring 'packpath' in session
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
d23b714d8b
Port Test_mksession_skiprtp() to lua functional test.
This commit is contained in:
@@ -5232,7 +5232,8 @@ int makeset(FILE *fd, int opt_flags, int local_only)
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user