diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-09-26 16:20:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 16:20:23 +0200 |
commit | 68d6ff880249cd91993b376dadfb130c24a95f82 (patch) | |
tree | f5593187d9173f066ddb65d5110f528fde980531 /src/nvim/option.c | |
parent | b3b02eb52943fdc8ba74af3b485e9d11655bc9c9 (diff) | |
parent | ac3288d556965b0aaae03c59244278700eb598e8 (diff) | |
download | rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.tar.gz rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.tar.bz2 rneovim-68d6ff880249cd91993b376dadfb130c24a95f82.zip |
Merge pull request #15721 from bfredl/electricboogalo
fix(runtime): some ordering issues (and start work on cache mechanism)
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 8623dc6c0c..77a161a3e1 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2397,6 +2397,8 @@ static char_u *did_set_string_option(int opt_idx, char_u **varp, bool new_value_ os_setenv("VIMRUNTIME", "", 1); didset_vimruntime = false; } + } else if (varp == &p_rtp || varp == &p_pp) { // 'runtimepath' 'packpath' + invalidate_search_path(); } else if (varp == &curwin->w_p_culopt || gvarp == &curwin->w_allbuf_opt.wo_culopt) { // 'cursorlineopt' if (**varp == NUL || fill_culopt_flags(*varp, curwin) != OK) { |