Commit: runtime(doc): update develop assumptions

1 view
Skip to first unread message

Christian Brabandt

unread,
Aug 8, 2025, 7:00:22 AM8/8/25
to vim...@googlegroups.com
runtime(doc): update develop assumptions

Commit: https://github.com/vim/vim/commit/46ec899026a8e7fe81410e76efdf5bdccfd22616
Author: Damien Lejay <dam...@lejay.be>
Date: Fri Aug 8 12:51:23 2025 +0200

runtime(doc): update develop assumptions

closes: https://github.com/vim/vim/issues/17892

Signed-off-by: Damien Lejay <dam...@lejay.be>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index 9b2e21b5d..8fc3121ab 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -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


==============================================================================
Reply all
Reply to author
Forward
0 new messages