パーソナルツール

ユーザ定義ファンクションを実行する

作者: 小見 拓 最終変更 2012年01月08日 12時07分

ユーザ定義ファンクションを実行する

:function ReturnFunction()
    :return "ReturnFunction() is called"
:endfunction
:echo ReturnFunction()
"# => ReturnFunction() is called

:function EchoFunction()
    :echo "EchoFunction() is called"
:endfunction
:call EchoFunction()
"# => EchoFunction() is called
ドキュメントアクション
コメント
blog comments powered by Disqus