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:
@@ -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('%')
|
||||
|
Reference in New Issue
Block a user