Closed Janfy closed 5 years ago
Editorconfig searches for a config file upwards. Make sure you don't have a different one in the test
or host_vars
folder.
I have only one file named .editorconfig in my project:
Type to search: .editorconfig
1 match in 437 files for term " .editorconfig" under
Actually, test
is not a directory but a new file i've created. (1st post updated)
I have the same issue in ST2 on Windows - this does not work (when editing docs/sample.md
):
[docs/*.md]
indent_size = 4
Nor this:
[docs\*.md]
indent_size = 4
But this does:
[docs*.md]
indent_size = 4
As does this when added to docs/.editorconfig
instead:
[*.md]
indent_size = 4
Any news?
The logic for finding .editorconfig
files and resolving the config is done by https://github.com/editorconfig/editorconfig-core-py So if this is still a problem, open an issue there instead.
Hi, In ST3, it seems rules for files in subdirectories are not working.
Here is my
.editorconfig
file (full path:C:\gR\forge-config-mgt\.editorconfig
) :When i create a file named
test
into subdirectoryhost_vars
, rules are not applied. Console output: