如何在Lua代码中格式化LuaDoc多行注释

时间:2012-09-14 11:12:41

标签: vim lua luadoc

我有一个很长的Lua(LuaDoc)注释,我想使用VIM命令'qgap'转换为多行注释。猜猜.vimrc中有一些解决方案有格式注释,但我自己无法弄明白。

示例:

--- This is a very long LuaDoc comment line which I want to break into many lines

将成为:

--- This is a very long Lua doc  
-- comment line which I want to  
-- break into many lines  

0 个答案:

没有答案