Bram Moolenaar wrote:
Charles Campbell wrote:
I'm having a problem exemplified by the following code snippet: (lets
call this prblm.vim)
au BufEnter * sil! call Prblm(expand(""))
fun! Prblm(fname)
let g:junk= 1
echomsg "TESTING<".a:fname.">"
endfun
vsplit
Use vim -u NONE prblm.vim
Charles Campbell wrote:
> I'm having a problem exemplified by the following code snippet: (lets
> call this prblm.vim)
>
> au BufEnter * sil! call Prblm(expand(""))
> fun! Prblm(fname)
>let g:junk= 1
>echomsg "TESTING<".a:fname.">"
> endfun
> vsplit
>
>
> Use vim -u NONE prblm.vim
>
On 11/09/13 22:33, Charles Campbell wrote:
Hello!
I'm having a problem exemplified by the following code snippet: (lets
call this prblm.vim)
au BufEnter * sil! call Prblm(expand(""))
fun! Prblm(fname)
let g:junk= 1
echomsg "TESTING<".a:fname.">"
endfun
vsplit
Use vim -u NONE prblm.vim
Hello!
I'm having a problem exemplified by the following code snippet: (lets
call this prblm.vim)
au BufEnter * sil! call Prblm(expand(""))
fun! Prblm(fname)
let g:junk= 1
echomsg "TESTING<".a:fname.">"
endfun
vsplit
Use vim -u NONE prblm.vim
:so %
:echo g:junk
At this point, we get E