LuaFormat icon indicating copy to clipboard operation
LuaFormat copied to clipboard

Lua Format Plugin For Sublime Text

Results 7 LuaFormat issues
Sort by recently updated
recently updated
newest added

function equp.calhecheng(id) local count = equp.calhechengcount() local item = { t = "em", em = { id = id, count = count }} return {item} end

if test then fun(function() log(a, os.time(), 0, 0, table.concat({1 }, "|")) end, b) end

``` n = 2 + 2.22 + 22.22e-2 + 0.22E1 n = 0xF0 function Set.mt.__lt (a,b) return a

function test:check() if some == 1 then self:call(funA:create(funB(1), funC( function() if self.m_class == nil then self.m_class = classA.new( { a = 1, b = 2, c = 3 }):addTo(self) else...

it can NEVER seem to handle anonymous functions like: if pcall(function () print('test1') error() end)then print('test2') else print('test3') end this is how lua format will make this look, making all...

![image](https://user-images.githubusercontent.com/29012144/33052205-b3f3adc2-cea8-11e7-865b-79946102f21a.png)

i need a function to format the selection part only, rather than the whole lua file.