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 10
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
291291also works when starting a new file.
292292
293293This 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==============================================================================
2982983. Assumptions *design-assumptions*
@@ -308,11 +308,11 @@ Vim's main Makefiles target maximum portability, relying solely on features
308308defined in POSIX.1-2001 `make ` and ignoring later POSIX standards or GNU/BSD
309309extensions. In practical terms, avoid:
310310
311- – % pattern rules
312- – modern assignment (`:= ` , `::= ` ) outside POSIX.1-2001
313- – special targets (`.ONESHELL` , `.NOTPARALLEL` , `.SILENT` , … )
314- – order-only prerequisites (`|` ) or automatic directory creation
315- – GNU/BSD conditionals (`ifdef` , `ifndef` , `.for ` /`.endfor ` , … )
311+ - % pattern rules
312+ - modern assignment (`:= ` , `::= ` ) outside POSIX.1-2001
313+ - special targets (`.ONESHELL` , `.NOTPARALLEL` , `.SILENT` , ... )
314+ - order-only prerequisites (`|` ) or automatic directory creation
315+ - GNU/BSD conditionals (`ifdef` , `ifndef` , `.for ` /`.endfor ` , ... )
316316
317317Since POSIX.1-2001 supports only traditional suffix rules, every object built
318318in a separate directory must have an explicit rule. For example:
@@ -338,21 +338,22 @@ 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:
342- – `// ` comments, as required by | style-comments | ;
343- – the `_Bool` type.
341+ In addition, the following `C99` features are explicitly allowed:
342+ - `// ` comments, as required by | style-comments | ;
343+ - the `_Bool` type.
344+ - logical lines may contain up to 4095 characters;
344345
345346Platform-specific code may use any newer compiler features supported on that
346347platform.
347348
348349
349350SIZE OF VARIABLES *assumptions-variables*
350351
351- char 8-bit signed
352- 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)
352+ We follow POSIX.1-2001 (SUSv3) for type sizes, which in practice means:
353+
354+ char_u 8- bit unsigned
355+ int 32-bit or larger signed
356+ unsigned 32-bit or larger unsigned
356357
357358
358359==============================================================================
0 commit comments