Skip to content

Instantly share code, notes, and snippets.

@kini
Last active July 19, 2020 10:29
Show Gist options
  • Save kini/560673dbff4b8e42bb40a82a8ca6e5b1 to your computer and use it in GitHub Desktop.
Save kini/560673dbff4b8e42bb40a82a8ca6e5b1 to your computer and use it in GitHub Desktop.
Example of behavior with "unset" values in .editorconfig
[foo*]
indent_size = 2
[foobar*]
indent_size = unset
Expected behavior in this file:
tab-width is set buffer-local to the global value of tab-width
Actual behavior: as expected
Expected behavior in this file:
tab-width is set buffer-local to 2
Actual behavior: as expected
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