From 31e9431485321d6997f12d94c9eb6d87a2f3d04f Mon Sep 17 00:00:00 2001 From: Jen Date: Wed, 23 Dec 2020 06:55:26 +0100 Subject: [PATCH] editorconfig/editorconfig#429 Remove section name, key and value length limits (#21) - Remove the upper limit for section name, key and value length. - Permit implementations to define their own upper limits. - Add minimum supported lengths each implementation must support. --- index.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.rst b/index.rst index d2cdc4c..54a7d1f 100644 --- a/index.rst +++ b/index.rst @@ -133,8 +133,8 @@ special characters for wildcard matching: The backslash character (``\\``) can be used to escape a character so it is not interpreted as a special character. -The maximum length of a section name is 4096 characters. All sections -exceeding this limit are ignored. +Cores must accept section names with length up to and including 1024 characters. +Beyond that, each implementation may choose to define its own upper limit or no explicit upper limit at all. File Processing =============== @@ -204,9 +204,9 @@ pair, even if it has been set before. For example, add ``indent_size = unset`` to undefine the ``indent_size`` pair (and use editor defaults). Pair keys are case insensitive. All keys are lowercased after parsing. -The maximum length of a pair key is 50 characters and the maximum length -of a pair value is 255 characters. Any key or value beyond these limits -shall be ignored. + +Cores must accept keys and values with lengths up to and including 1024 and 4096 characters respectively. +Beyond that, each implementation may choose to define its own upper limits or no explicit upper limits at all. Suggestions for Plugin Developers =================================