格式化前 buttonRegister(self._btnClose, function() self:_onBtnEventClose() end) 格式化后 buttonRegister(self._btnClose, function () self:_onBtnEventClose() end) 需要怎么设置才能让这类简短lambda能保持格式化前的排版格式呢 尝试设置了 simple_lambda_single_line 没能达到效果
格式化前
buttonRegister(self._btnClose, function() self:_onBtnEventClose() end)
格式化后
buttonRegister(self._btnClose, function ()
self:_onBtnEventClose()
end)
需要怎么设置才能让这类简短lambda能保持格式化前的排版格式呢
尝试设置了 simple_lambda_single_line 没能达到效果