diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-04 18:15:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-04 18:15:38 +0200 |
commit | 558ca4ae55096f8763ab8515a304cda9c57f18a7 (patch) | |
tree | 3eeff81990411749a97a0684dde7b8ba5e28acdf /src/main.c | |
parent | 8f4aeb5572d604d1540ee0cb7e721b5f0cc6d612 (diff) | |
download | vim-git-558ca4ae55096f8763ab8515a304cda9c57f18a7.tar.gz |
patch 8.1.1116: cannot enforce a Vim script stylev8.1.1116
Problem: Cannot enforce a Vim script style.
Solution: Add the :scriptversion command. (closes #3857)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index a07ce1b83..5edcbdf8f 100644 --- a/src/main.c +++ b/src/main.c @@ -3166,6 +3166,7 @@ process_env( current_sctx.sc_sid = SID_ENV; current_sctx.sc_seq = 0; current_sctx.sc_lnum = 0; + current_sctx.sc_version = 1; #endif do_cmdline_cmd(initstr); sourcing_name = save_sourcing_name; |