1
0
forked from aniani/vim

patch 8.2.1788: Vim9: still allows :let for declarations

Problem:    Vim9: still allows :let for declarations.
Solution:   Make the default for v:disallow_let one.  It can still be set to
            zero to allow for using :let.
This commit is contained in:
Bram Moolenaar
2020-10-03 12:57:27 +02:00
parent 795aaa1e84
commit 016faaa1b2
3 changed files with 7 additions and 5 deletions

View File

@@ -360,9 +360,6 @@ func FinishTesting()
qall!
endfunc
" TODO: remove later
let v:disallow_let = 1
" Source the test script. First grab the file name, in case the script
" navigates away. g:testname can be used by the tests.
let g:testname = expand('%')