commit | 30fd8204cecb317d842b964d624d492088d6d15f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 26 15:09:30 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 26 15:09:30 2020 +0200 |
tree | 0df8a56d4a3c20098586020bc35b5e6e0b681894 | |
parent | 273af497cac345897cf6369baa87a070876a5815 [diff] [blame] |
patch 8.2.1744: Vim9: using ":const!" is weird Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
diff --git a/src/cmdexpand.c b/src/cmdexpand.c index e7cf819..f3e19bc 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c
@@ -1513,8 +1513,10 @@ break; #endif #ifdef FEAT_EVAL + case CMD_final: case CMD_const: case CMD_let: + case CMD_var: case CMD_if: case CMD_elseif: case CMD_while: