commit | 558ca4ae55096f8763ab8515a304cda9c57f18a7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 04 18:15:38 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 04 18:15:38 2019 +0200 |
tree | 3eeff81990411749a97a0684dde7b8ba5e28acdf | |
parent | 8f4aeb5572d604d1540ee0cb7e721b5f0cc6d612 [diff] [blame] |
patch 8.1.1116: cannot enforce a Vim script style Problem: Cannot enforce a Vim script style. Solution: Add the :scriptversion command. (closes #3857)
diff --git a/src/main.c b/src/main.c index a07ce1b..5edcbdf 100644 --- a/src/main.c +++ b/src/main.c
@@ -3166,6 +3166,7 @@ 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;