我有一个很长的 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