-
-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indent_style = space
in .editorconfig is not respected by shfmt
#1090
Comments
What shfmt version are you running? Did you double check this? Because we have code and tests for this feature, so this seems odd. |
Does your shell script file have a |
The file's name and content are given in my previous comment @wwuck |
This comment has been minimized.
This comment has been minimized.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The file is:
And shfmt will change the leading spaces to tab:
![image](https://private-user-images.githubusercontent.com/17923071/362190178-4bb2e33c-7a02-404f-a1f6-ff5fd23f2fbf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjkzMDgsIm5iZiI6MTczOTQ2OTAwOCwicGF0aCI6Ii8xNzkyMzA3MS8zNjIxOTAxNzgtNGJiMmUzM2MtN2EwMi00MDRmLWExZjYtZmY1ZmQyM2YyZmJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE3NTAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4ZmNlNDZmMjBiYmRmYzU2NmM5ZGZhZjVmOTRlOWY4NDA1Yjg4NjA4ZmJjZjFmMzRmMTI1OGJmY2U5OGY5YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AgUXUyX4jn4KJuYDhGbLGlPDEvPh8a2paHxEV7iOydU)
My
~/.editorconfig
:The text was updated successfully, but these errors were encountered: