stuta

Results 86 comments of stuta

Example: ```lua r = r..(b % 2^i - b % 2^(i - 1) -- this is what we have now --> r = r .. (b % 2 ^ i...

Maybe configuration could be one option something this: ``` operators: { '=': ' = ', '+': ' + ', '..': '..', '^': '^', ... } ``` Or configuration could be...

Yes, and that's why all operators should be changeable. I know that some people prefer a tight format. ```lua "xx"..2+3 ```

I don't need this to be a preference. All I need now is to find a place in code where I can modify them myself, please.

I use in my Luacheck -based formatter rule that normally concatenation is '..', but if either side is number then the concatenation is ' .. '. It also stips all...

I was able to change the operator. Is there a way to know the previous and next statement type inside FormatVisitor::visitExp()? It is needed to get valid syntax because 2+3.."xx"...

I have similar problem but not with plain text lists. My configuration: ```js group: { name: 'element', pull: 'clone', put: false // Do not allow items to be put into...

Not easily. But if you decide to change the lib I can test the changes. The point is that the list is not always text and not always horizontal or...

I'm planning to use this as code changer. First I parse code to ast, then change ast but I need changed code back to Lua code. Are there some existing...

It seems somehow ok (with few bug fixes). There is line function code_block(): if block[1] and block[1].l and block[1].l > firstline then fmt.indent = fmt.indent + 1 Lua-parse AST does...