File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,12 @@ given filename. The search shall stop if an EditorConfig file is found with
209
209
the ``root `` key set to ``true `` in the preamble or when reaching the root
210
210
filesystem directory.
211
211
212
- Files are read top to bottom and the most recent rules found take
213
- precedence. If multiple EditorConfig files have matching sections, the rules
212
+ Files are read top to bottom and the most recent pairs found take
213
+ precedence. Thus, in case a given file matches multiple sections
214
+ within a single ``.editorconfig `` file, the pairs defined in the section that
215
+ comes later in the ``.editorconfig `` file take precedence over pairs defined
216
+ in the section that comes earlier in the same ``.editorconfig `` file.
217
+ If multiple EditorConfig files have matching sections, the pairs
214
218
from the closer EditorConfig file are read last, so pairs in closer
215
219
files take precedence.
216
220
You can’t perform that action at this time.
0 commit comments