Commit: runtime(doc): Tweak documentation style a bit
Christian Brabandt <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <[email protected]> |
runtime(doc): Tweak documentation style a bit Commit: https://github.com/vim/vim/commit/a0f057dacf53d8733f98e43a472854d6d71b6173 Author: Hirohito Higashi <[email protected]> Date: Sun Aug 16 15:38:18 2026 +0000 runtime(doc): Tweak documentation style a bit closes: https://github.com/vim/vim/issues/21061 Signed-off-by: Hirohito Higashi <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fe3545e3d..d2b5bb478 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.2. Last change: 2026 Aug 13 +*eval.txt* For Vim version 9.2. Last change: 2026 Aug 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1703,7 +1703,8 @@ number ------ number number constant *expr-number* - *0x* *hex-number* *0o* *octal-number* *0b* *binary-number* + *0x* *hex-number* *0o* *octal-number* + *0b* *binary-number* Integer numbers can be written in multiple forms: {N} decimal @@ -1719,8 +1720,8 @@ Assuming 64 bit numbers are used (see |v:numbersize|) an unsigned number is truncated to 0x7fffffffffffffff or 9223372036854775807. You can use -1 to get 0xffffffffffffffff. -In |scriptversion-4| and in |Vim9| script, single quotes may appear between digits -to improve readability; these are ignored. +In |scriptversion-4| and in |Vim9| script, single quotes may appear between +digits to improve readability; these are ignored. A leading "+" or "-" is not part of an integer literal. E.g., -123 is an expression, the unary operator |expr-unary--| applied to the number 123. @@ -1741,9 +1742,9 @@ Floating point numbers can be written in two forms: {N}.{M} {N}.{M}[eE][-+]{exp} -{N} and {M} are sequences of decimal digits. In |scriptversion-1| (the default) -{N} and {M} must be present. In |scriptversion-2| or higher and in |Vim9| script -{N} is optional. +{N} and {M} are sequences of decimal digits. In |scriptversion-1| (the +default) {N} and {M} must be present. In |scriptversion-2| or higher and in +|Vim9| script {N} is optional. {exp} is the exponent, power of 10. Only a decimal point is accepted, not a comma. No matter what the current locale is. @@ -1752,8 +1753,8 @@ In |scriptversion-4| and in |Vim9| script, single quotes may appear between the digits in {N} to improve readability; these are ignored. A leading "+" or "-" is not part of a floating point literal. E.g., -1.0e-3 -is an expression, the unary operator |expr-unary--| applied to the float 1.0e-3. -The "-" in the exponent is part of the literal. +is an expression, the unary operator |expr-unary--| applied to the float +1.0e-3. The "-" in the exponent is part of the literal. Examples: 123.456 diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 869cc9f98..64ab68123 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.2. Last change: 2026 Aug 10 +*options.txt* For Vim version 9.2. Last change: 2026 Aug 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -7344,7 +7344,8 @@ A jump table for the options with a short description can be found at |Q_op|. emoji might be rendered beyond the bounding box of drawing cell. - Other render types are currently not supported. See also 'guiligatures'. + Other render types are currently not supported. See also + 'guiligatures'. *'report'* 'report' number (default 2) diff --git a/runtime/doc/print.txt b/runtime/doc/print.txt index 392ad2687..3d5b8bdce 100644 --- a/runtime/doc/print.txt +++ b/runtime/doc/print.txt @@ -1,4 +1,4 @@ -*print.txt* For Vim version 9.2. Last change: 2026 Aug 02 +*print.txt* For Vim version 9.2. Last change: 2026 Aug 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -404,8 +404,8 @@ of |:hardcopy|: first line on a new page. format:postscript (default) Output format: Postscript - format:{name} Output format from this table (only used when compiled - with |+pango| feature): + format:{name} Output format from this table: + {only available when compiled with |+pango| feature} {name} meaning ~ postscript Generate Postscript pdf Generate Adobe PDF @@ -739,7 +739,7 @@ If Vim is compiled with |+pango|, then it will render pages using Pango (a text handling library), and Cairo (a graphics library). The benefit of this is that Unicode is fully supported. Postscript files will still be generated using Cairo. Additionally, PDF files can be emitted as well, see the -"format" key in |popt-option| +"format" key in |popt-option|. When using the GTK GUI, |+pango| is always enabled and used. On terminal builds of Vim, "--enable-hardcopy-pango" must be passed to the configure diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt index ab0e93657..f38fe1693 100644 --- a/runtime/doc/version9.txt +++ b/runtime/doc/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.2. Last change: 2026 Aug 13 +*version9.txt* For Vim version 9.2. Last change: 2026 Aug 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -52590,7 +52590,7 @@ GUI ~ - Added experimental support for the GTK 4 GUI (via patch 9.2.0501 and many following), enable with `--enable-gui=gtk4` configure switch at build time. - Add support for fullscreen mode in the GTK UI |'go-s'|. -- Enable native printing dialog for the GTK4 UI using pango library, see +- Enable native printing dialog for the GTK4 UI using Pango library, see |pango-printing|. Popups ~ @@ -52743,7 +52743,7 @@ Highlighting: ~ Configure Switches: ~ ---enable-hardcopy-pango Enable the pango |:hardcopy| backend |pango-printing| +--enable-hardcopy-pango Enable the Pango |:hardcopy| backend |pango-printing| ============================================================================== PATCHES *patches-9.3* *bug-fixes-9.3* -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wvd2o-0070uA-Vf%40256bit.org.