Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
vim で phpdoc のようなコメントをハードラップする方法が必要です (理想的には、javadoc と jsdoc も同じ方法でラップできるとよいのですが、現在は phpdoc のみが必要です)。そのためのターンキー ソリューションを提供するプラグインはありますか?
ああ、私の。ばかげた質問をするたびに、解決策はすぐに見つかります。
gqコマンドは、phpdoc だけでなく、ハードラップする必要があるものすべてに対してそれを行います。:h gqそれがどのように機能するかをかなり説明しています。
gq
:h gq