You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the options documentation I found the setting indent_level as Initial indentation level for both CLI and underscored option.
However when using it in the js version, the setting seems to be ignored.
When checking the code, it seems like it should be included somewhere here, but it isn't.
The text was updated successfully, but these errors were encountered:
Hirse
changed the title
beautify.js doesn'
beautify.js doesn't have indent_level option
Jun 24, 2015
Another good report, thanks!
Until this is fixed, you can do workaround this by adding the text of the indent you want to the beginning of the file(s).
I've just submitted a PR addressing this issue. One aspect (the ability to set the indent level at zero in the CSS and JavaScript); however, is not functional. I'll be filing an issue for this specific issue.
In the options documentation I found the setting
indent_level
as Initial indentation level for both CLI and underscored option.However when using it in the js version, the setting seems to be ignored.
When checking the code, it seems like it should be included somewhere here, but it isn't.
The text was updated successfully, but these errors were encountered: