summaryrefslogtreecommitdiffstats
path: root/src/testdir/sautest/autoload/foo.vim
blob: 21d33a0f4da77230ba6a8579520c359065ae7b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
let g:loaded_foo_vim += 1

let foo#bar = {}

func foo#bar.echo()
  let g:called_foo_bar_echo += 1
endfunc

func foo#addFoo(head)
  return a:head .. 'foo'
endfunc

func foo#()
  return 'empty'
endfunc