Last active
July 19, 2020 10:29
-
-
Save kini/560673dbff4b8e42bb40a82a8ca6e5b1 to your computer and use it in GitHub Desktop.
Example of behavior with "unset" values in .editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[foo*] | |
indent_size = 2 | |
[foobar*] | |
indent_size = unset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expected behavior in this file: | |
tab-width is set buffer-local to the global value of tab-width | |
Actual behavior: as expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expected behavior in this file: | |
tab-width is set buffer-local to 2 | |
Actual behavior: as expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expected behavior in this file: | |
tab-width is set buffer-local to the global value of tab-width | |
Actual behavior: | |
tab-width is set to 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment