diff options
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 5c99c6966b..7c37326f93 100644 --- a/src/option.c +++ b/src/option.c @@ -2435,7 +2435,7 @@ set_option_sctx_idx(int opt_idx, int opt_flags, sctx_T script_ctx) int indir = (int)options[opt_idx].indir; sctx_T new_script_ctx = script_ctx; - new_script_ctx.sc_lnum += sourcing_lnum; + new_script_ctx.sc_lnum += SOURCING_LNUM; // Remember where the option was set. For local options need to do that // in the buffer or window structure. |