runtime(doc): Tweak documentation style
closes: #17959 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
eeef7c7743
commit
57eb1d496b
@ -1,14 +1,14 @@
|
|||||||
vim9script
|
vim9script
|
||||||
|
|
||||||
# Vim completion script
|
# Vim completion script
|
||||||
# Language: Vimscript
|
# Language: Vim script
|
||||||
# Maintainer: Maxim Kim <habamax@gmail.com>
|
# Maintainer: Maxim Kim <habamax@gmail.com>
|
||||||
# Last Change: 2025-07-28
|
# Last Change: 2025-08-10
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# setlocal omnifunc=vimcomplete#Complete
|
# setlocal omnifunc=vimcomplete#Complete
|
||||||
#
|
#
|
||||||
# Simple complete function for the Vimscript
|
# Simple complete function for Vim script
|
||||||
|
|
||||||
var trigger: string = ""
|
var trigger: string = ""
|
||||||
var prefix: string = ""
|
var prefix: string = ""
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*develop.txt* For Vim version 9.1. Last change: 2025 Aug 08
|
*develop.txt* For Vim version 9.1. Last change: 2025 Aug 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -308,11 +308,11 @@ Vim's main Makefiles target maximum portability, relying solely on features
|
|||||||
defined in POSIX.1-2001 `make` and ignoring later POSIX standards or GNU/BSD
|
defined in POSIX.1-2001 `make` and ignoring later POSIX standards or GNU/BSD
|
||||||
extensions. In practical terms, avoid:
|
extensions. In practical terms, avoid:
|
||||||
|
|
||||||
– % pattern rules
|
- % pattern rules
|
||||||
– modern assignment (`:=`, `::=`) outside POSIX.1-2001
|
- modern assignment (`:=`, `::=`) outside POSIX.1-2001
|
||||||
– special targets (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, …)
|
- special targets (`.ONESHELL`, `.NOTPARALLEL`, `.SILENT`, ...)
|
||||||
– order-only prerequisites (`|`) or automatic directory creation
|
- order-only prerequisites (`|`) or automatic directory creation
|
||||||
– GNU/BSD conditionals (`ifdef`, `ifndef`, `.for`/`.endfor`, …)
|
- GNU/BSD conditionals (`ifdef`, `ifndef`, `.for`/`.endfor`, ...)
|
||||||
|
|
||||||
Since POSIX.1-2001 supports only traditional suffix rules, every object built
|
Since POSIX.1-2001 supports only traditional suffix rules, every object built
|
||||||
in a separate directory must have an explicit rule. For example:
|
in a separate directory must have an explicit rule. For example:
|
||||||
@ -339,9 +339,9 @@ Therefore, the latest ISO C standard we follow is:
|
|||||||
`C95` (ISO/IEC 9899:1990/AMD1:1995)
|
`C95` (ISO/IEC 9899:1990/AMD1:1995)
|
||||||
|
|
||||||
In addition, the following `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|;
|
||||||
– `//` comments, as required by |style-comments|;
|
- the `_Bool` type.
|
||||||
– the `_Bool` type.
|
- logical lines may contain up to 4095 characters;
|
||||||
|
|
||||||
Platform-specific code may use any newer compiler features supported on that
|
Platform-specific code may use any newer compiler features supported on that
|
||||||
platform.
|
platform.
|
||||||
@ -349,11 +349,11 @@ platform.
|
|||||||
|
|
||||||
SIZE OF VARIABLES *assumptions-variables*
|
SIZE OF VARIABLES *assumptions-variables*
|
||||||
|
|
||||||
We follow POSIX.1‑2001 (SUSv3) for type sizes, which in practice means:
|
We follow POSIX.1-2001 (SUSv3) for type sizes, which in practice means:
|
||||||
|
|
||||||
char_u 8-bit unsigned
|
char_u 8-bit unsigned
|
||||||
int ≥ 32-bit signed
|
int 32-bit or larger signed
|
||||||
unsigned ≥ 32-bit unsigned
|
unsigned 32-bit or larger unsigned
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*filetype.txt* For Vim version 9.1. Last change: 2025 Aug 06
|
*filetype.txt* For Vim version 9.1. Last change: 2025 Aug 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1072,7 +1072,7 @@ The Vim filetype plugin defines the following mappings:
|
|||||||
]" move to the next (legacy) comment
|
]" move to the next (legacy) comment
|
||||||
[" move to the previous (legacy) comment
|
[" move to the previous (legacy) comment
|
||||||
gf edit the file under the cursor
|
gf edit the file under the cursor
|
||||||
CTRL-W gf edit the file under the cursor in a new tab
|
CTRL-W gf edit the file under the cursor in a new tab page
|
||||||
CTRL-W f edit the file under the cursor in a new window
|
CTRL-W f edit the file under the cursor in a new window
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +1,14 @@
|
|||||||
" Vim filetype plugin
|
" Vim filetype plugin
|
||||||
" Language: Vim
|
" Language: Vim
|
||||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||||
" Last Change: 2025 Aug 07
|
|
||||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Contributors: Riley Bruins <ribru17@gmail.com> ('commentstring')
|
" Contributors: Riley Bruins <ribru17@gmail.com> ('commentstring')
|
||||||
" @Konfekt
|
" @Konfekt
|
||||||
" @tpope (s:Help())
|
" @tpope (s:Help())
|
||||||
" @lacygoill
|
" @lacygoill
|
||||||
" Last Change: 2025 Mar 05
|
" Last Change: 2025 Aug 07
|
||||||
" 2025 Aug 06 by Vim Project (add gf maps #17881)
|
" 2025 Aug 06 by Vim Project (add gf maps #17881)
|
||||||
" 2025 Aug 08 by Vim Project (add vimscript complete function #17871)
|
" 2025 Aug 08 by Vim Project (add Vim script complete function #17871)
|
||||||
|
|
||||||
" Only do this when not done yet for this buffer
|
" Only do this when not done yet for this buffer
|
||||||
if exists("b:did_ftplugin")
|
if exists("b:did_ftplugin")
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
*helptoc.txt* For Vim version 9.1. Last change: 2025 Aug 06
|
*helptoc.txt* For Vim version 9.1. Last change: 2025 Aug 10
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL
|
VIM REFERENCE MANUAL
|
||||||
@ -178,7 +178,7 @@ brackets preceding and following each heading's text.
|
|||||||
|
|
||||||
3.7 vim *HelpToc-vim-filetype*
|
3.7 vim *HelpToc-vim-filetype*
|
||||||
|
|
||||||
Vimscript and Vim9 script do not have headings or levels inherently like
|
Vim script and Vim9 script do not have headings or levels inherently like
|
||||||
markup languages. However, Vim provides for |folds| defined by markers (|{{{|),
|
markup languages. However, Vim provides for |folds| defined by markers (|{{{|),
|
||||||
which themselves may be succeeded by a number explicitly indicating the fold
|
which themselves may be succeeded by a number explicitly indicating the fold
|
||||||
level. This is the structure recognized and supported by helptoc.vim.
|
level. This is the structure recognized and supported by helptoc.vim.
|
||||||
|
|||||||
Reference in New Issue
Block a user