Preserve tabs for indentation #179

Open
nene opened this Issue Sep 7, 2016 · 2 comments

Projects

None yet

1 participant

@nene
Collaborator
nene commented Sep 7, 2016

Recast converts all tabs to 4 spaces. It would be better to detect whether file uses tabs and then tell Recast to also use tabs. Similarly to what we did with LF/CRLF line terminators.

@nene nene added the bug label Sep 7, 2016
@nene
Collaborator
nene commented Sep 7, 2016 edited

There's also a related issue in Recast: benjamn/recast#185

@nene
Collaborator
nene commented Sep 7, 2016

I tried to implement it using useTabs option of Recast, but it doesn't seem to work quite like advertised. Filed a bug to Recast: benjamn/recast#315

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment