diff options
Diffstat (limited to 'src/optionstr.c')
-rw-r--r-- | src/optionstr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/optionstr.c b/src/optionstr.c index ff0186f42..c03d994c3 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -2402,6 +2402,11 @@ did_set_string_option( setmouse(); // in case 'mouse' changed } +#if defined(FEAT_LUA) || defined(PROTO) + if (varp == &p_rtp) + update_package_paths_in_lua(); +#endif + if (curwin->w_curswant != MAXCOL && (get_option_flags(opt_idx) & (P_CURSWANT | P_RALL)) != 0) curwin->w_set_curswant = TRUE; |