1 2 3 4 5 6 7
let g:loaded_foo_vim += 1 let foo#bar = {} func foo#bar.echo() let g:called_foo_bar_echo += 1 endfunc