Skip to content

Commit 46ec899

Browse files
dlejaychrisbra
authored andcommitted
runtime(doc): update develop assumptions
closes: #17892 Signed-off-by: Damien Lejay <damien@lejay.be> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 04c9e78 commit 46ec899

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

runtime/doc/develop.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*develop.txt* For Vim version 9.1. Last change: 2025 Jul 22
1+
*develop.txt* For Vim version 9.1. Last change: 2025 Aug 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,8 +291,8 @@ initialized from words listed in COMMON items in the affix file, so that it
291291
also works when starting a new file.
292292

293293
This isn't ideal, because the longer Vim is running the higher the counts
294-
become. But in practice it is a noticeable improvement over not using the word
295-
count.
294+
become. But in practice it is a noticeable improvement over not using the
295+
word count.
296296

297297
==============================================================================
298298
3. Assumptions *design-assumptions*
@@ -338,7 +338,8 @@ Therefore, the latest ISO C standard we follow is:
338338

339339
`C95` (ISO/IEC 9899:1990/AMD1:1995)
340340

341-
In addition, the following two `C99` features are explicitly allowed:
341+
In addition, the following `C99` features are explicitly allowed:
342+
– logical lines may contain up to 4095 characters;
342343
`//` comments, as required by |style-comments|;
343344
– the `_Bool` type.
344345

@@ -348,11 +349,11 @@ platform.
348349

349350
SIZE OF VARIABLES *assumptions-variables*
350351

351-
char 8-bit signed
352+
We follow POSIX.1‑2001 (SUSv3) for type sizes, which in practice means:
353+
352354
char_u 8-bit unsigned
353-
int 32- or 64-bit signed (16-bit possible on legacy systems)
354-
unsigned 32- or 64-bit unsigned
355-
long at least 32-bit signed (large enough to hold a pointer)
355+
int ≥ 32-bit signed
356+
unsigned ≥ 32-bit unsigned
356357

357358

358359
==============================================================================

0 commit comments

Comments
 (0)