Automatically converting tabs to spaces/spaces to tabs on load
Closed this issue · 6 comments
gigamicro commented
The plugin should properly autodetect indents in lua modules (and css), according to the detect_indentation
Sublime setting
tosher commented
Thanks, will check it
tosher commented
Please, could you describe the use-case when it not works (settings, tabs/spaces in file)?
gigamicro commented
{
"translate_tabs_to_spaces": true,
"detect_indentation": true,
}
local p = {}
function p.doThing()
return 42
end
return p
tosher commented
I don't know how to make it fully correctly, in new version just added new option to prevent tabs translation in page's text:
gigamicro commented
would you mind merging that branch?
tosher commented
Done! :)