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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -291,8 +291,8 @@ initialized from words listed in COMMON items in the affix file, so that it
291
291
also works when starting a new file.
292
292
293
293
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.
296
296
297
297
==============================================================================
298
298
3. Assumptions *design-assumptions*
@@ -308,11 +308,11 @@ Vim's main Makefiles target maximum portability, relying solely on features
308
308
defined in POSIX.1-2001 `make ` and ignoring later POSIX standards or GNU/BSD
309
309
extensions. In practical terms, avoid:
310
310
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 ` , ... )
316
316
317
317
Since POSIX.1-2001 supports only traditional suffix rules, every object built
318
318
in a separate directory must have an explicit rule. For example:
@@ -338,21 +338,22 @@ Therefore, the latest ISO C standard we follow is:
338
338
339
339
`C95` (ISO/IEC 9899:1990/AMD1:1995)
340
340
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;
344
345
345
346
Platform-specific code may use any newer compiler features supported on that
346
347
platform.
347
348
348
349
349
350
SIZE OF VARIABLES *assumptions-variables*
350
351
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
356
357
357
358
358
359
==============================================================================
0 commit comments