diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-10-17 07:48:42 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-17 07:55:55 +0800 |
| commit | c89150241d52ac70dd5bf0f4f8cb90902a7ccf6c (patch) | |
| tree | 4f8ae3cbbf00c7d1bf8f998bf8a4d5139d591ba3 /runtime/doc | |
| parent | de74ed35aff7ce5586a5fcefda415942108eb4ac (diff) | |
| download | rneovim-c89150241d52ac70dd5bf0f4f8cb90902a7ccf6c.tar.gz rneovim-c89150241d52ac70dd5bf0f4f8cb90902a7ccf6c.tar.bz2 rneovim-c89150241d52ac70dd5bf0f4f8cb90902a7ccf6c.zip | |
vim-patch:6c2fc37: runtime(help): Update help syntax
This commit makaes the following changes to the vim help syntax:
- fix excessive URL detection in help, because `file:{filename}` in
doc/options.txt is determined to be a URL.
- update highlighting N for :resize in help
- split Italian-specific syntax into separate help script
- highlight `Note` in parentheses in help
- update 'titlestring' behaviour in documentation for invalid '%' format
closes: vim/vim#15883
https://github.com/vim/vim/commit/6c2fc377bfbfb6f1a46b1061413cd21116b596ed
Co-authored-by: Milly <milly.ca@gmail.com>
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/builtin.txt | 2 | ||||
| -rw-r--r-- | runtime/doc/options.txt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 1022565b87..1f1d7488e1 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -11705,7 +11705,7 @@ wildmenumode() *wildmenumode()* For example to make <c-j> work like <down> in wildmode, use: >vim cnoremap <expr> <C-j> wildmenumode() ? "\<Down>\<Tab>" : "\<c-j>" < - (Note, this needs the 'wildcharm' option set appropriately). + (Note: this needs the 'wildcharm' option set appropriately). Return: ~ (`any`) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 3a6f93ae01..5dc1643ee3 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6763,7 +6763,9 @@ A jump table for the options with a short description can be found at |Q_op|. window. This happens only when the 'title' option is on. When this option contains printf-style '%' items, they will be - expanded according to the rules used for 'statusline'. + expanded according to the rules used for 'statusline'. If it contains + an invalid '%' format, the value is used as-is and no error or warning + will be given when the value is set. This option cannot be set in a modeline when 'modelineexpr' is off. Example: >vim |