summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-27 15:19:27 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-27 15:19:27 +0200
commitcfcd011fcd8021da52fba62dabf7a2497f1879b7 (patch)
tree4b15ba4d18a6901feb2e0863e150cb0b3302fba5 /src/vim.h
parentc0e29010f68a0ebe439f9bd78493799c60b7bfd3 (diff)
downloadvim-git-cfcd011fcd8021da52fba62dabf7a2497f1879b7.tar.gz
patch 8.2.1756: Vim9: :let will soon be disallowedv8.2.1756
Problem: Vim9: :let will soon be disallowed. Solution: Add v:disallow_let temporarily. Fix tests.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 9da878e27..c43ec83e6 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1992,7 +1992,8 @@ typedef int sock_T;
#define VV_ECHOSPACE 93
#define VV_ARGV 94
#define VV_COLLATE 95
-#define VV_LEN 96 // number of v: vars
+#define VV_DISALLOW_LET 96 // TODO: remove again
+#define VV_LEN 97 // number of v: vars
// used for v_number in VAR_BOOL and VAR_SPECIAL
#define VVAL_FALSE 0L // VAR_BOOL