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
open gvim (vim-gnome) and run the command :echo b:config_Beautifier
And this is what I get:
When I remove the leading spaces, as shown in the sample below:
; .editorconfig
root = true
[**.js]
indent_style = space
indent_size = 4
And then this is what I get when I open gvim and try :echo b:config_Beautifier
If the leading spaces are present, then :echo b:config_Beautifier shows empty objects, When I removed the spaces, the settings are correctly shown. Please highlight this fact in the readme.
The text was updated successfully, but these errors were encountered:
Hi, So you were able to reproduce the problem? Very nice of you indeed for all the help to the community. Keep up the good work. js-beautify has been very useful. Many thanks on behalf of the community.
Leading Spaces NOT Allowed in .editorconfig
There are leading spaces in the .editorconfig as shown below
Here are the steps I did:
; .editorconfig
root = true
[**.js]
indent_style = space
indent_size = 4
[**.jsx]
e4x = true
indent_style = space
indent_size = 4
[**.css]
indent_style = space
indent_size = 4
[**.html]
indent_style = space
indent_size = 4
max_char = 78
brace_style = expand
And this is what I get:
When I remove the leading spaces, as shown in the sample below:
; .editorconfig
root = true
[**.js]
indent_style = space
indent_size = 4
And then this is what I get when I open gvim and try :echo b:config_Beautifier
If the leading spaces are present, then :echo b:config_Beautifier shows empty objects, When I removed the spaces, the settings are correctly shown. Please highlight this fact in the readme.
The text was updated successfully, but these errors were encountered: