]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): update develop assumptions
authorDamien Lejay <damien@lejay.be>
Fri, 8 Aug 2025 10:51:23 +0000 (12:51 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 8 Aug 2025 10:51:23 +0000 (12:51 +0200)
closes: #17892

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/develop.txt

index 9b2e21b5d2a20126390abeff706705d456e4505f..8fc3121abe4b3196e6fb9a369ce30621eec45e2d 100644 (file)
@@ -1,4 +1,4 @@
-*develop.txt*   For Vim version 9.1.  Last change: 2025 Jul 22
+*develop.txt*   For Vim version 9.1.  Last change: 2025 Aug 08
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -291,8 +291,8 @@ initialized from words listed in COMMON items in the affix file, so that it
 also works when starting a new file.
 
 This isn't ideal, because the longer Vim is running the higher the counts
-become.  But in practice it is a noticeable improvement over not using the word
-count.
+become.  But in practice it is a noticeable improvement over not using the
+word count.
 
 ==============================================================================
 3. Assumptions                                         *design-assumptions*
@@ -338,7 +338,8 @@ Therefore, the latest ISO C standard we follow is:
 
        `C95` (ISO/IEC 9899:1990/AMD1:1995)
 
-In addition, the following two `C99` features are explicitly allowed:
+In addition, the following `C99` features are explicitly allowed:
+       – logical lines may contain up to 4095 characters;
        – `//` comments, as required by |style-comments|;
        – the `_Bool` type.
 
@@ -348,11 +349,11 @@ platform.
 
 SIZE OF VARIABLES                              *assumptions-variables*
 
-       char        8-bit signed
+We follow POSIX.1‑2001 (SUSv3) for type sizes, which in practice means:
+
        char_u      8-bit unsigned
-       int         32- or 64-bit signed (16-bit possible on legacy systems)
-       unsigned    32- or 64-bit unsigned
-       long        at least 32-bit signed (large enough to hold a pointer)
+       int         ≥ 32-bit signed
+       unsigned    ≥ 32-bit unsigned
 
 
 ==============================================================================