forked from aniani/vim
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.
This commit is contained in:
@@ -1513,8 +1513,10 @@ set_one_cmd_context(
|
||||
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:
|
||||
|
Reference in New Issue
Block a user