Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Ordering issue #40

Closed
ddeboer opened this issue May 7, 2014 · 2 comments
Closed

Ordering issue #40

ddeboer opened this issue May 7, 2014 · 2 comments

Comments

@ddeboer
Copy link

ddeboer commented May 7, 2014

With the following .editorconfig YML files are incorrectly indented with 4 spaces

root = true

[*]
indent_size = 4

[*.yml]
indent_size = 2

While with this config YMLs are correctly indented with 2 spaces:

root = true

[*.yml]
indent_size = 2

[*]
indent_size = 4

So it seems the order matters. I'm not sure whether it should, as I can't find anything about this on the EditorConfig website. I think, however, my first example resembles those on the website most closely and should work as is.

@denofevil
Copy link
Contributor

This issue was caused by new parser incorrectly merging keys in one file and is fixed by editorconfig/editorconfig-core-java@c1c249a, we will post updated plugin version soon

@ddeboer
Copy link
Author

ddeboer commented May 7, 2014

Very cool! Thanks for the great plugin, by the way. 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants