summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/nep1.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/nep1.rst b/doc/nep1.rst
index e1d877816..052837b90 100644
--- a/doc/nep1.rst
+++ b/doc/nep1.rst
@@ -280,3 +280,6 @@ Conventions for multi-line statements and expressions
   .. code-block:: nim
     startProcess(nimExecutable, currentDirectory, compilerArguments
                  environment, processOptions)
+
+- Use `a..b` instead of `a .. b`, except when `b` contains an operator, for example `a .. -3`.
+  Likewise with `a..<b`, `a..^b` and other operators starting with `..`.