aheze/Multiliner

Does not support tabs indentation

fedulvtubudul opened this issue · 3 comments

If I indent with spaces:

spaces_1

result is OK:

spaces_2

But when tabs are used:

tabs_1

result is just a mess of tabs and spaces (which is never correct):

tabs_2

Probably invocation.buffer.usesTabsForIndentation should be checked. Now it seems to be ignored, as you always generate the tab this way: let tab = String(repeating: " ", count: invocation.buffer.indentationWidth).

aheze commented

Thanks for report, will check let tab = String(repeating: " ", count: invocation.buffer.indentationWidth)