Lines Matching refs:local
1832 " if a script is reloaded with a script-local variable that changed its type, a
1918 " script-local name.
2047 # write the script with a script-local variable
2197 echo 'local to function'
2207 echo 'local to function'
2564 var local = 'local'
2566 echoerr 'something' local 'wrong' # comment
2568 assert_match('something local wrong', v:exception)
2588 var local = 'local'
2589 echoconsole 'something' local # comment
3800 var local = 'local'
3812 call assert_false(exists('local'))
3818 " imported variable becomes script-local
3823 " imported function becomes script-local
3842 let s:local = 123
3845 assert_equal(123, local)
3849 local = 'asdf'
3855 lockvar local
3857 local = 999
3861 assert_match('E741: Value is locked: local', error)
3868 " check that items defined in Vim9 script are script-local, not global
3871 var name = 'local'
3873 echo 'local'
3876 echo 'local'