view src/testdir/sautest/autoload/foo.vim @ 36187:af8a1a6a7276 draft default tip

runtime(doc): fix typo in :h dos-colors Commit: https://github.com/vim/vim/commit/ac8a10ab7672aa5fd359f76d34d8b0187728b92d Author: Christian Brabandt <cb@256bit.org> Date: Tue Sep 24 16:35:57 2024 +0200 runtime(doc): fix typo in :h dos-colors related: https://github.com/vim/vim/issues/15723 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Sep 2024 16:45:07 +0200
parents 6e1b0c4ab668
children
line wrap: on
line source

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