パーソナルツール

「|」とifを組み合わせて、条件判定を短く記述する

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

「|」とifを組み合わせて、条件判定を短く記述する

:function! Func()
    :if !has('iconv') | return | endif

    .......
    .......
    .......
    .......
:endfuction
ドキュメントアクション
コメント
blog comments powered by Disqus