From 6d1f95cc7531c53154b987a0f15669449a715155 Mon Sep 17 00:00:00 2001 From: Chris White Date: Mon, 23 Sep 2024 16:28:09 -0400 Subject: [PATCH] Supported properties: Clarify semantics of "root" Fixes #30 --- index.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.rst b/index.rst index d439137..f6db2f0 100644 --- a/index.rst +++ b/index.rst @@ -197,7 +197,7 @@ files take precedence. Supported Pairs =============== -.. versionchanged:: 0.16 +.. versionchanged:: 0.17.1 EditorConfig file sections contain key-value pairs separated by an equal sign (``=``). With the exception of the ``root`` key, all pairs MUST be @@ -253,9 +253,9 @@ and the supported values associated with them: - Set to ``true`` ensure file ends with a newline when saving and ``false`` to ensure it doesn't. * - ``root`` - - Must be specified in the preamble. Set to ``true`` to stop the - ``.editorconfig`` file search on the current file. The value is case - insensitive. + - Must be specified in the preamble. Set to ``true`` to tell the core + not to check any higher directory for EditorConfig settings for on the + current filename. The value is case-insensitive. For any pair, a value of ``unset`` removes the effect of that pair, even if it has been set before. For example, add ``indent_size =