Merge pull request #36504 from zeertzjq/vim-c8eeda9

vim-patch: doc header updates
This commit is contained in:
zeertzjq
2025-11-10 11:46:45 +08:00
committed by GitHub
79 changed files with 145 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
*autocmd.txt* Nvim *autocmd.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Automatic commands *autocmd* *autocommand* Automatic commands *autocmd* *autocommand*

View File

@@ -1,7 +1,7 @@
*change.txt* Nvim *change.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
This file describes commands that delete or change text. In this context, This file describes commands that delete or change text. In this context,

View File

@@ -1,7 +1,7 @@
*cmdline.txt* Nvim *cmdline.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
*Cmdline-mode* *Command-line-mode* *Cmdline* *Cmdline-mode* *Command-line-mode* *Cmdline*

View File

@@ -1,7 +1,7 @@
*diff.txt* Nvim *diff.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
*diff* *diff-mode* *diff* *diff-mode*

View File

@@ -1,7 +1,7 @@
*digraph.txt* Nvim *digraph.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Digraphs *digraph* *digraphs* *Digraphs* Digraphs *digraph* *digraphs* *Digraphs*

View File

@@ -1,7 +1,7 @@
*editing.txt* Nvim *editing.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Editing files *edit-files* Editing files *edit-files*

View File

@@ -1,7 +1,7 @@
*filetype.txt* Nvim *filetype.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Filetypes *filetype* *file-type* Filetypes *filetype* *file-type*

View File

@@ -1,7 +1,7 @@
*fold.txt* Nvim *fold.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Folding *Folding* *folding* *folds* Folding *Folding* *folding* *folds*

View File

@@ -1,7 +1,7 @@
*helphelp.txt* Nvim *helphelp.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Help on help files *helphelp* Help on help files *helphelp*

View File

@@ -1,7 +1,7 @@
*if_perl.txt* Nvim *if_perl.txt* Nvim
VIM REFERENCE MANUAL by Jacques Germishuys VIM REFERENCE MANUAL by Jacques Germishuys
The perl Interface to Vim *if_perl* *perl* The perl Interface to Vim *if_perl* *perl*

View File

@@ -1,7 +1,7 @@
*if_ruby.txt* Nvim *if_ruby.txt* Nvim
VIM REFERENCE MANUAL by Shugo Maeda VIM REFERENCE MANUAL by Shugo Maeda
The Ruby Interface to Vim *if_ruby* *ruby* *Ruby* The Ruby Interface to Vim *if_ruby* *ruby* *Ruby*

View File

@@ -1,7 +1,7 @@
*indent.txt* Nvim *indent.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
This file is about indenting C programs and other files. This file is about indenting C programs and other files.

View File

@@ -1,7 +1,7 @@
*index.txt* Nvim *index.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
*index* *index*
This file contains a list of all commands for each mode, with a tag and a This file contains a list of all commands for each mode, with a tag and a

View File

@@ -1,7 +1,7 @@
*insert.txt* Nvim *insert.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
*Insert* *Insert-mode* *Insert* *Insert-mode*

View File

@@ -1,7 +1,7 @@
*job_control.txt* Nvim *job_control.txt* Nvim
NVIM REFERENCE MANUAL by Thiago de Arruda NVIM REFERENCE MANUAL by Thiago de Arruda
Nvim job control *job* *job-control* Nvim job control *job* *job-control*

View File

@@ -1,7 +1,7 @@
*l10n-hebrew.txt* Nvim *l10n-hebrew.txt* Nvim
VIM REFERENCE MANUAL by Ron Aaron (and Avner Lottem) VIM REFERENCE MANUAL by Ron Aaron and Avner Lottem
Hebrew Language support (options & mapping) for Vim *hebrew* Hebrew Language support (options & mapping) for Vim *hebrew*

View File

@@ -1,7 +1,7 @@
*l10n-russian.txt* Nvim *l10n-russian.txt* Nvim
VIM REFERENCE MANUAL by Vassily Ragosin VIM REFERENCE MANUAL by Vassily Ragosin
Russian language localization and support in Vim *russian* *Russian* Russian language localization and support in Vim *russian* *Russian*

View File

@@ -1,7 +1,7 @@
*l10n-vietnamese.txt* Nvim *l10n-vietnamese.txt* Nvim
VIM REFERENCE MANUAL by Phạm Bình An VIM REFERENCE MANUAL by Phạm Bình An
Type |gO| to see the table of contents. Type |gO| to see the table of contents.

View File

@@ -1,7 +1,7 @@
*map.txt* Nvim *map.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Key mapping, abbreviations and user-defined commands. Key mapping, abbreviations and user-defined commands.

View File

@@ -1,7 +1,7 @@
*message.txt* Nvim *message.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
This file contains an alphabetical list of messages and error messages that This file contains an alphabetical list of messages and error messages that

View File

@@ -1,7 +1,7 @@
*mlang.txt* Nvim *mlang.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Multi-language features *multilang* *multi-lang* Multi-language features *multilang* *multi-lang*

View File

@@ -1,7 +1,7 @@
*motion.txt* Nvim *motion.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Cursor motions *cursor-motions* *navigation* Cursor motions *cursor-motions* *navigation*

View File

@@ -1,7 +1,7 @@
*pattern.txt* Nvim *pattern.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Patterns and search commands *pattern-searches* Patterns and search commands *pattern-searches*

View File

@@ -1,7 +1,7 @@
*pi_gzip.txt* Nvim *pi_gzip.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Editing compressed files with Vim *gzip* *bzip2* *compress* Editing compressed files with Vim *gzip* *bzip2* *compress*

View File

@@ -1,7 +1,7 @@
*pi_paren.txt* Nvim *pi_paren.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Highlighting matching parens *matchparen* Highlighting matching parens *matchparen*

View File

@@ -1,7 +1,7 @@
*provider.txt* Nvim *provider.txt* Nvim
NVIM REFERENCE MANUAL by Thiago de Arruda NVIM REFERENCE MANUAL by Thiago de Arruda
Providers *provider* Providers *provider*

View File

@@ -1,7 +1,7 @@
*quickfix.txt* Nvim *quickfix.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
This subject is introduced in section |30.1| of the user manual. This subject is introduced in section |30.1| of the user manual.

View File

@@ -1,7 +1,7 @@
*quickref.txt* Nvim *quickref.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
============================================================================== ==============================================================================
Quick reference guide Quick reference guide

View File

@@ -1,7 +1,7 @@
*recover.txt* Nvim *recover.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Recovery after a crash *crash-recovery* Recovery after a crash *crash-recovery*

View File

@@ -1,7 +1,7 @@
*remote.txt* Nvim *remote.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Vim client-server communication *client-server* Vim client-server communication *client-server*

View File

@@ -1,7 +1,7 @@
*remote_plugin.txt* Nvim *remote_plugin.txt* Nvim
NVIM REFERENCE MANUAL by Thiago de Arruda NVIM REFERENCE MANUAL by Thiago de Arruda
Nvim support for remote plugins *remote-plugin* Nvim support for remote plugins *remote-plugin*

View File

@@ -1,7 +1,7 @@
*repeat.txt* Nvim *repeat.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Repeating commands, Vim scripts and debugging *repeating* Repeating commands, Vim scripts and debugging *repeating*

View File

@@ -1,7 +1,7 @@
*rileft.txt* Nvim *rileft.txt* Nvim
VIM REFERENCE MANUAL by Avner Lottem VIM REFERENCE MANUAL by Avner Lottem
updated by Nadim Shaikli updated by Nadim Shaikli

View File

@@ -1,7 +1,7 @@
*scroll.txt* Nvim *scroll.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Scrolling *scrolling* Scrolling *scrolling*

View File

@@ -1,7 +1,7 @@
*sign.txt* Nvim *sign.txt* Nvim
VIM REFERENCE MANUAL by Gordon Prieur VIM REFERENCE MANUAL by Gordon Prieur
and Bram Moolenaar and Bram Moolenaar

View File

@@ -1,7 +1,7 @@
*starting.txt* Nvim *starting.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Starting Vim *starting* Starting Vim *starting*

View File

@@ -1,7 +1,7 @@
*tabpage.txt* Nvim *tabpage.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Editing with windows in multiple tab pages. *tab-page* *tabpage* Editing with windows in multiple tab pages. *tab-page* *tabpage*

View File

@@ -1,7 +1,7 @@
*tagsrch.txt* Nvim *tagsrch.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Tags and special searches *tags-and-searches* Tags and special searches *tags-and-searches*

View File

@@ -1,7 +1,7 @@
*terminal.txt* Nvim *terminal.txt* Nvim
NVIM REFERENCE MANUAL by Thiago de Arruda NVIM REFERENCE MANUAL by Thiago de Arruda
Terminal emulator *terminal* *terminal-emulator* Terminal emulator *terminal* *terminal-emulator*

View File

@@ -1,7 +1,7 @@
*tips.txt* Nvim *tips.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Tips and ideas for using Vim *tips* Tips and ideas for using Vim *tips*

View File

@@ -1,7 +1,7 @@
*uganda.txt* Nvim *uganda.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
*uganda* *Uganda* *copying* *copyright* *license* *uganda* *Uganda* *copying* *copyright* *license*

View File

@@ -1,7 +1,7 @@
*undo.txt* Nvim *undo.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Undo and redo *undo-redo* Undo and redo *undo-redo*

View File

@@ -1,6 +1,8 @@
*usr_01.txt* Nvim *usr_01.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
About the manuals About the manuals

View File

@@ -1,6 +1,8 @@
*usr_02.txt* Nvim *usr_02.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
The first steps in Vim The first steps in Vim

View File

@@ -1,6 +1,8 @@
*usr_03.txt* Nvim *usr_03.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Moving around Moving around

View File

@@ -1,6 +1,8 @@
*usr_04.txt* Nvim *usr_04.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Making small changes Making small changes

View File

@@ -1,6 +1,8 @@
*usr_05.txt* Nvim *usr_05.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Set your settings Set your settings

View File

@@ -1,6 +1,8 @@
*usr_06.txt* Nvim *usr_06.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Using syntax highlighting Using syntax highlighting

View File

@@ -1,6 +1,8 @@
*usr_07.txt* Nvim *usr_07.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Editing more than one file Editing more than one file

View File

@@ -1,6 +1,8 @@
*usr_08.txt* Nvim *usr_08.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Splitting windows Splitting windows

View File

@@ -1,6 +1,8 @@
*usr_09.txt* Nvim *usr_09.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Using the GUI Using the GUI

View File

@@ -1,6 +1,8 @@
*usr_10.txt* Nvim *usr_10.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Making big changes Making big changes

View File

@@ -1,6 +1,8 @@
*usr_11.txt* Nvim *usr_11.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Recovering from a crash Recovering from a crash

View File

@@ -1,6 +1,8 @@
*usr_12.txt* Nvim *usr_12.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Clever tricks Clever tricks

View File

@@ -1,6 +1,8 @@
*usr_20.txt* Nvim *usr_20.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Typing command-line commands quickly Typing command-line commands quickly

View File

@@ -1,6 +1,8 @@
*usr_21.txt* Nvim *usr_21.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Go away and come back Go away and come back

View File

@@ -1,6 +1,8 @@
*usr_22.txt* Nvim *usr_22.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Finding the file to edit Finding the file to edit

View File

@@ -1,6 +1,8 @@
*usr_23.txt* Nvim *usr_23.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Editing other files Editing other files

View File

@@ -1,6 +1,8 @@
*usr_24.txt* Nvim *usr_24.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Inserting quickly Inserting quickly

View File

@@ -1,6 +1,8 @@
*usr_25.txt* Nvim *usr_25.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Editing formatted text Editing formatted text

View File

@@ -1,6 +1,8 @@
*usr_26.txt* Nvim *usr_26.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Repeating Repeating

View File

@@ -1,6 +1,8 @@
*usr_27.txt* Nvim *usr_27.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Search commands and patterns Search commands and patterns

View File

@@ -1,6 +1,8 @@
*usr_28.txt* Nvim *usr_28.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Folding Folding

View File

@@ -1,6 +1,8 @@
*usr_29.txt* Nvim *usr_29.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Moving through programs Moving through programs

View File

@@ -1,6 +1,8 @@
*usr_30.txt* Nvim *usr_30.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Editing programs Editing programs

View File

@@ -1,6 +1,8 @@
*usr_31.txt* Nvim *usr_31.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Exploiting the GUI Exploiting the GUI

View File

@@ -1,6 +1,8 @@
*usr_32.txt* Nvim *usr_32.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
The undo tree The undo tree

View File

@@ -1,6 +1,8 @@
*usr_40.txt* Nvim *usr_40.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Make new commands Make new commands

View File

@@ -1,6 +1,8 @@
*usr_41.txt* Nvim *usr_41.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Write a Vim script Write a Vim script

View File

@@ -1,6 +1,8 @@
*usr_42.txt* Nvim *usr_42.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Add new menus Add new menus

View File

@@ -1,6 +1,8 @@
*usr_43.txt* Nvim *usr_43.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Using filetypes Using filetypes

View File

@@ -1,6 +1,8 @@
*usr_44.txt* Nvim *usr_44.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Your own syntax highlighted Your own syntax highlighted

View File

@@ -1,6 +1,8 @@
*usr_45.txt* Nvim *usr_45.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Select your language (locale) Select your language (locale)

View File

@@ -1,6 +1,8 @@
*usr_toc.txt* Nvim *usr_toc.txt* Nvim
VIM USER MANUAL - by Bram Moolenaar
VIM USER MANUAL by Bram Moolenaar
Table Of Contents *user-manual* *usr* Table Of Contents *user-manual* *usr*

View File

@@ -1,7 +1,7 @@
*various.txt* Nvim *various.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Various commands *various* Various commands *various*

View File

@@ -1,7 +1,7 @@
*vi_diff.txt* Nvim *vi_diff.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Differences between Vim and Vi *vi-differences* Differences between Vim and Vi *vi-differences*

View File

@@ -1,7 +1,7 @@
*visual.txt* Nvim *visual.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Visual mode *Visual* *Visual-mode* *visual-mode* Visual mode *Visual* *Visual-mode* *visual-mode*

View File

@@ -1,7 +1,7 @@
*windows.txt* Nvim *windows.txt* Nvim
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
Editing with multiple windows and buffers. *windows* *buffers* Editing with multiple windows and buffers. *windows* *buffers*

View File

@@ -60,8 +60,9 @@ syn match helpNormal "|.*====*|"
syn match helpNormal "|||" syn match helpNormal "|||"
syn match helpNormal ":|vim:|" " for :help modeline syn match helpNormal ":|vim:|" " for :help modeline
syn match helpVim "\<Vim version [0-9][0-9.a-z]*" syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
syn match helpVim "VIM REFERENCE.*" syn match helpVim "^\s\+\zsNVIM - help$"
syn match helpVim "NVIM REFERENCE.*" syn region helpVim start="^\s\+N\?VIM REFERENCE" end="^$"
syn region helpVim start="^\s\+VIM USER MANUAL" end="^$"
syn match helpOption "'[a-z]\{2,\}'" syn match helpOption "'[a-z]\{2,\}'"
syn match helpOption "'t_..'" syn match helpOption "'t_..'"
syn match helpNormal "'ab'" syn match helpNormal "'ab'"