specification icon indicating copy to clipboard operation
specification copied to clipboard

Odd grammatical syntax at supported-properties/root

Open Atlas48 opened this issue 3 years ago • 1 comments

The text at the aforementioned point reads:

root: special property that should be specified at the top of the file outside of any sections. Set to "true" to stop .editorconfig files search on current file.

As a L1 english speaker, I cannot read the above point, "to stop .editorconfig files search" lacks a definite article, perhaps the author meant ""to stop the .editorconfig files searching the current file"? What is exactly meant by "current file"?

I'm happy to file a pull request, I just lack the context of what it's referring to, hence why I filed an issue first.

Atlas48 avatar Mar 12 '22 12:03 Atlas48

Thanks for pointing this out! The full details are in https://editorconfig-specification.readthedocs.io/#file-processing. What about something like this?---

 Must be specified in the preamble.  Set to true to 
-stop the `.editorconfig` file search on
+tell the core not to check any higher directory for EditorConfig settings for
 the current file.  The value is case insensitive.
+([details](https://editorconfig-specification.readthedocs.io/#file-processing))

cxw42 avatar Mar 12 '22 15:03 cxw42