0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

Update runtime files

This commit is contained in:
Bram Moolenaar 2022-04-08 17:45:08 +01:00
parent a8034a4886
commit cbaff5e06e
66 changed files with 1315 additions and 510 deletions

View File

@ -3,7 +3,7 @@ vim9script
# Vim functions for file type detection # Vim functions for file type detection
# #
# Maintainer: Bram Moolenaar <Bram@vim.org> # Maintainer: Bram Moolenaar <Bram@vim.org>
# Last Change: 2022 Mar 05 # Last Change: 2022 Apr 06
# These functions are moved here from runtime/filetype.vim to make startup # These functions are moved here from runtime/filetype.vim to make startup
# faster. # faster.

View File

@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 8.2. Last change: 2022 Mar 27 *autocmd.txt* For Vim version 8.2. Last change: 2022 Apr 08
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 8.2. Last change: 2022 Mar 26 *builtin.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1754,7 +1754,10 @@ deepcopy({expr} [, {noref}]) *deepcopy()* *E698*
delete({fname} [, {flags}]) *delete()* delete({fname} [, {flags}]) *delete()*
Without {flags} or with {flags} empty: Deletes the file by the Without {flags} or with {flags} empty: Deletes the file by the
name {fname}. This also works when {fname} is a symbolic link. name {fname}.
This also works when {fname} is a symbolic link. The symbolic
link itself is deleted, not what it points to.
When {flags} is "d": Deletes the directory by the name When {flags} is "d": Deletes the directory by the name
{fname}. This fails when directory {fname} is not empty. {fname}. This fails when directory {fname} is not empty.
@ -1764,8 +1767,6 @@ delete({fname} [, {flags}]) *delete()*
Note: on MS-Windows it is not possible to delete a directory Note: on MS-Windows it is not possible to delete a directory
that is being used. that is being used.
A symbolic link itself is deleted, not what it points to.
The result is a Number, which is 0/false if the delete The result is a Number, which is 0/false if the delete
operation was successful and -1/true when the deletion failed operation was successful and -1/true when the deletion failed
or partly failed. or partly failed.
@ -2741,7 +2742,7 @@ foreground() Move the Vim window to the foreground. Useful when sent from
On Win32 systems this might not work, the OS does not always On Win32 systems this might not work, the OS does not always
allow a window to bring itself to the foreground. Use allow a window to bring itself to the foreground. Use
|remote_foreground()| instead. |remote_foreground()| instead.
{only in the Win32, Athena, Motif and GTK GUI versions and the {only in the Win32, Motif and GTK GUI versions and the
Win32 console version} Win32 console version}
fullcommand({name}) *fullcommand()* fullcommand({name}) *fullcommand()*
@ -4833,6 +4834,8 @@ json_encode({expr}) *json_encode()*
Note that NaN and Infinity are passed on as values. This is Note that NaN and Infinity are passed on as values. This is
missing in the JSON standard, but several implementations do missing in the JSON standard, but several implementations do
allow it. If not then you will get an error. allow it. If not then you will get an error.
If a string contains an illegal character then the replacement
character 0xfffd is used.
Can also be used as a |method|: > Can also be used as a |method|: >
GetObject()->json_encode() GetObject()->json_encode()
@ -6023,8 +6026,10 @@ printf({fmt}, {expr1} ...) *printf()*
When used as a |method| the base is passed as the second When used as a |method| the base is passed as the second
argument: > argument: >
Compute()->printf("result: %d") Compute()->printf("result: %d")
<
You can use `call()` to pass the items as a list.
< Often used items are: Often used items are:
%s string %s string
%6S string right-aligned in 6 display cells %6S string right-aligned in 6 display cells
%6s string right-aligned in 6 bytes %6s string right-aligned in 6 bytes
@ -6693,7 +6698,7 @@ remote_foreground({server}) *remote_foreground()*
Can also be used as a |method|: > Can also be used as a |method|: >
ServerName()->remote_foreground() ServerName()->remote_foreground()
< {only in the Win32, Athena, Motif and GTK GUI versions and the < {only in the Win32, Motif and GTK GUI versions and the
Win32 console version} Win32 console version}
@ -10025,7 +10030,7 @@ footer Compiled with GUI footer support. |gui-footer|
fork Compiled to use fork()/exec() instead of system(). fork Compiled to use fork()/exec() instead of system().
gettext Compiled with message translation |multi-lang| gettext Compiled with message translation |multi-lang|
gui Compiled with GUI enabled. gui Compiled with GUI enabled.
gui_athena Compiled with Athena GUI. gui_athena Compiled with Athena GUI (always false).
gui_gnome Compiled with Gnome support (gui_gtk is also defined). gui_gnome Compiled with Gnome support (gui_gtk is also defined).
gui_gtk Compiled with GTK+ GUI (any version). gui_gtk Compiled with GTK+ GUI (any version).
gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined). gui_gtk2 Compiled with GTK+ 2 GUI (gui_gtk is also defined).

View File

@ -1,4 +1,4 @@
*channel.txt* For Vim version 8.2. Last change: 2022 Mar 26 *channel.txt* For Vim version 8.2. Last change: 2022 Apr 05
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -588,7 +588,7 @@ ch_info({handle}) *ch_info()*
"sock_io" "socket" "sock_io" "socket"
"sock_timeout" timeout in msec "sock_timeout" timeout in msec
Note that "pair" is only present for Unix-domain sockets, for Note that "path" is only present for Unix-domain sockets, for
regular ones "hostname" and "port" are present instead. regular ones "hostname" and "port" are present instead.
When opened with job_start(): When opened with job_start():

View File

@ -1,4 +1,4 @@
*editing.txt* For Vim version 8.2. Last change: 2022 Feb 16 *editing.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -1235,7 +1235,7 @@ If you want to always use ":confirm", set the 'confirm' option.
|:diffsplit|, |:diffpatch|, |:open|, |:pedit|, |:diffsplit|, |:diffpatch|, |:open|, |:pedit|,
|:redir|, |:source|, |:update|, |:visual|, |:vsplit|, |:redir|, |:source|, |:update|, |:visual|, |:vsplit|,
and |:qall| if 'confirm' is set. and |:qall| if 'confirm' is set.
{only in Win32, Athena, Motif, GTK and Mac GUI, in {only in Win32, Motif, GTK and Mac GUI, in
console `browse edit` works if the FileExplorer console `browse edit` works if the FileExplorer
autocommand group exists} autocommand group exists}
When ":browse" is not possible you get an error When ":browse" is not possible you get an error

View File

@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.2. Last change: 2022 Mar 05 *eval.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -261,7 +261,7 @@ position in the sequence.
List creation ~ List creation ~
*E696* *E697* *E696* *E697*
A List is created with a comma separated list of items in square brackets. A List is created with a comma-separated list of items in square brackets.
Examples: > Examples: >
:let mylist = [1, two, 3, "four"] :let mylist = [1, two, 3, "four"]
:let emptylist = [] :let emptylist = []
@ -514,7 +514,7 @@ ordering.
Dictionary creation ~ Dictionary creation ~
*E720* *E721* *E722* *E723* *E720* *E721* *E722* *E723*
A Dictionary is created with a comma separated list of entries in curly A Dictionary is created with a comma-separated list of entries in curly
braces. Each entry has a key and a value, separated by a colon. Each key can braces. Each entry has a key and a value, separated by a colon. Each key can
only appear once. Examples: > only appear once. Examples: >
:let mydict = {1: 'one', 2: 'two', 3: 'three'} :let mydict = {1: 'one', 2: 'two', 3: 'three'}

View File

@ -1,4 +1,4 @@
*filetype.txt* For Vim version 8.2. Last change: 2022 Jan 21 *filetype.txt* For Vim version 8.2. Last change: 2022 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -142,6 +142,7 @@ variables can be used to overrule the filetype used for certain extensions:
*.asm g:asmsyntax |ft-asm-syntax| *.asm g:asmsyntax |ft-asm-syntax|
*.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax| *.asp g:filetype_asp |ft-aspvbs-syntax| |ft-aspperl-syntax|
*.bas g:filetype_bas |ft-basic-syntax| *.bas g:filetype_bas |ft-basic-syntax|
*.dat g:filetype_dat
*.frm g:filetype_frm |ft-form-syntax| *.frm g:filetype_frm |ft-form-syntax|
*.fs g:filetype_fs |ft-forth-syntax| *.fs g:filetype_fs |ft-forth-syntax|
*.i g:filetype_i |ft-progress-syntax| *.i g:filetype_i |ft-progress-syntax|
@ -151,10 +152,15 @@ variables can be used to overrule the filetype used for certain extensions:
*.pl g:filetype_pl *.pl g:filetype_pl
*.pp g:filetype_pp |ft-pascal-syntax| *.pp g:filetype_pp |ft-pascal-syntax|
*.prg g:filetype_prg *.prg g:filetype_prg
*.src g:filetype_src
*.sh g:bash_is_sh |ft-sh-syntax| *.sh g:bash_is_sh |ft-sh-syntax|
*.tex g:tex_flavor |ft-tex-plugin| *.tex g:tex_flavor |ft-tex-plugin|
*.w g:filetype_w |ft-cweb-syntax| *.w g:filetype_w |ft-cweb-syntax|
For a few filetypes the global variable is used only when the filetype could
not be detected:
*.r g:filetype_r |ft-rexx-syntax|
*filetype-ignore* *filetype-ignore*
To avoid that certain files are being inspected, the g:ft_ignore_pat variable To avoid that certain files are being inspected, the g:ft_ignore_pat variable
is used. The default value is set like this: > is used. The default value is set like this: >

View File

@ -1,4 +1,4 @@
*ft_sql.txt* For Vim version 8.2. Last change: 2019 Dec 07 *ft_sql.txt* For Vim version 8.2. Last change: 2022 Apr 06
by David Fishburn by David Fishburn
@ -559,7 +559,7 @@ the SQL completion plugin. >
< 1. After typing SELECT press <C-C>t to display a list of tables. < 1. After typing SELECT press <C-C>t to display a list of tables.
2. Highlight the table you need the column list for. 2. Highlight the table you need the column list for.
3. Press <Enter> to choose the table from the list. 3. Press <Enter> to choose the table from the list.
4. Press <C-C>l to request a comma separated list of all columns 4. Press <C-C>l to request a comma-separated list of all columns
for this table. for this table.
5. Based on the table name chosen in step 3, the plugin attempts to 5. Based on the table name chosen in step 3, the plugin attempts to
decide on a reasonable table alias. You are then prompted to decide on a reasonable table alias. You are then prompted to
@ -613,7 +613,7 @@ your |vimrc|: >
> >
omni_sql_use_tbl_alias omni_sql_use_tbl_alias
< - Default: a < - Default: a
- This setting is only used when generating a comma separated - This setting is only used when generating a comma-separated
column list. By default the map is <C-C>l. When generating column list. By default the map is <C-C>l. When generating
a column list, an alias can be prepended to the beginning of each a column list, an alias can be prepended to the beginning of each
column, for example: e.emp_id, e.emp_name. This option has three column, for example: e.emp_id, e.emp_name. This option has three
@ -697,9 +697,9 @@ plugin. >
<C-C>c <C-C>c
< - Displays a list of columns for a specific table. > < - Displays a list of columns for a specific table. >
<C-C>l <C-C>l
< - Displays a comma separated list of columns for a specific table. > < - Displays a comma-separated list of columns for a specific table. >
<C-C>L <C-C>L
< - Displays a comma separated list of columns for a specific table. < - Displays a comma-separated list of columns for a specific table.
This should only be used when the completion window is active. > This should only be used when the completion window is active. >
<Right> <Right>
< - Displays a list of columns for the table currently highlighted in < - Displays a list of columns for the table currently highlighted in

View File

@ -1,4 +1,4 @@
*gui.txt* For Vim version 8.2. Last change: 2022 Mar 02 *gui.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*indent.txt* For Vim version 8.2. Last change: 2022 Jan 31 *indent.txt* For Vim version 8.2. Last change: 2022 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*insert.txt* For Vim version 8.2. Last change: 2022 Mar 28 *insert.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -272,7 +272,7 @@ CTRL-] Trigger abbreviation, without inserting a character.
*i_backspacing* *i_backspacing*
The effect of the <BS>, CTRL-W, and CTRL-U depend on the 'backspace' option The effect of the <BS>, CTRL-W, and CTRL-U depend on the 'backspace' option
(unless 'revins' is set). This is a comma separated list of items: (unless 'revins' is set). This is a comma-separated list of items:
item action ~ item action ~
indent allow backspacing over autoindent indent allow backspacing over autoindent
@ -1196,7 +1196,7 @@ three lines, but 'previewheight' is used when it has a value of 1 or 2.
*complete-popup* *complete-popup*
When "popup" is in 'completeopt' a popup window is used to display the "info". When "popup" is in 'completeopt' a popup window is used to display the "info".
Then the 'completepopup' option specifies the properties of the popup. This Then the 'completepopup' option specifies the properties of the popup. This
is used when the info popup is created. The option is a comma separated list is used when the info popup is created. The option is a comma-separated list
of values: of values:
height maximum height of the popup height maximum height of the popup
width maximum width of the popup width maximum width of the popup

View File

@ -1,4 +1,4 @@
*intro.txt* For Vim version 8.2. Last change: 2022 Mar 03 *intro.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -213,7 +213,7 @@ Vim would never have become what it is now, without the help of these people!
Daniel Elstner GTK+ 2 port Daniel Elstner GTK+ 2 port
Eric Fischer Mac port, 'cindent', and other improvements Eric Fischer Mac port, 'cindent', and other improvements
Benji Fisher Answering lots of user questions Benji Fisher Answering lots of user questions
Bill Foster Athena GUI port Bill Foster Athena GUI port (later removed)
Google Lets me work on Vim one day a week Google Lets me work on Vim one day a week
Loic Grenie xvim (ideas for multi windows version) Loic Grenie xvim (ideas for multi windows version)
Sven Guckes Vim promoter and previous WWW page maintainer Sven Guckes Vim promoter and previous WWW page maintainer

View File

@ -1,4 +1,4 @@
*map.txt* For Vim version 8.2. Last change: 2022 Mar 03 *map.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -697,6 +697,10 @@ The special key name "<Plug>" can be used for an internal mapping, which is
not to be matched with any key sequence. This is useful in plugins not to be matched with any key sequence. This is useful in plugins
|using-<Plug>|. |using-<Plug>|.
*<MouseMove>*
The special key name "<MouseMove>" can be used to handle mouse movement. It
needs to be enabled with 'mousemoveevent'. Currently only works in the GUI.
*<Char>* *<Char->* *<Char>* *<Char->*
To map a character by its decimal, octal or hexadecimal number the <Char> To map a character by its decimal, octal or hexadecimal number the <Char>
construct can be used: construct can be used:

View File

@ -1,4 +1,4 @@
*mbyte.txt* For Vim version 8.2. Last change: 2022 Jan 20 *mbyte.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar et al. VIM REFERENCE MANUAL by Bram Moolenaar et al.
@ -702,7 +702,7 @@ USING RESOURCE FILES
Instead of specifying 'guifontset', you can set X11 resources and Vim will Instead of specifying 'guifontset', you can set X11 resources and Vim will
pick them up. This is only for people who know how X resource files work. pick them up. This is only for people who know how X resource files work.
For Motif and Athena insert these three lines in your $HOME/.Xdefaults file: For Motif insert these three lines in your $HOME/.Xdefaults file:
Vim.font: |base_font_name_list| Vim.font: |base_font_name_list|
Vim*fontSet: |base_font_name_list| Vim*fontSet: |base_font_name_list|
@ -1280,7 +1280,7 @@ internally.
Vim has comprehensive UTF-8 support. It works well in: Vim has comprehensive UTF-8 support. It works well in:
- xterm with UTF-8 support enabled - xterm with UTF-8 support enabled
- Athena, Motif and GTK GUI - Motif and GTK GUI
- MS-Windows GUI - MS-Windows GUI
- several other platforms - several other platforms

View File

@ -33,7 +33,8 @@ know what the hjkl keys do. The mnemonic value of hjkl is clear from looking
at the keyboard. Think of j as an arrow pointing downwards. at the keyboard. Think of j as an arrow pointing downwards.
The 'virtualedit' option can be set to make it possible to move the cursor to The 'virtualedit' option can be set to make it possible to move the cursor to
positions where there is no character or halfway a character. positions where there is no character or within a multi-column character (like
a tab).
============================================================================== ==============================================================================
1. Motions and operators *operator* 1. Motions and operators *operator*
@ -445,35 +446,35 @@ between Vi and Vim.
5. Text object motions *object-motions* 5. Text object motions *object-motions*
*(* *(*
( [count] sentences backward. |exclusive| motion. ( [count] |sentence|s backward. |exclusive| motion.
*)* *)*
) [count] sentences forward. |exclusive| motion. ) [count] |sentence|s forward. |exclusive| motion.
*{* *{*
{ [count] paragraphs backward. |exclusive| motion. { [count] |paragraph|s backward. |exclusive| motion.
*}* *}*
} [count] paragraphs forward. |exclusive| motion. } [count] |paragraph|s forward. |exclusive| motion.
*]]* *]]*
]] [count] sections forward or to the next '{' in the ]] [count] |section|s forward or to the next '{' in the
first column. When used after an operator, then also first column. When used after an operator, then also
stops below a '}' in the first column. |exclusive| stops below a '}' in the first column. |exclusive|
Note that |exclusive-linewise| often applies. Note that |exclusive-linewise| often applies.
*][* *][*
][ [count] sections forward or to the next '}' in the ][ [count] |section|s forward or to the next '}' in the
first column. |exclusive| first column. |exclusive|
Note that |exclusive-linewise| often applies. Note that |exclusive-linewise| often applies.
*[[* *[[*
[[ [count] sections backward or to the previous '{' in [[ [count] |section|s backward or to the previous '{' in
the first column. |exclusive| the first column. |exclusive|
Note that |exclusive-linewise| often applies. Note that |exclusive-linewise| often applies.
*[]* *[]*
[] [count] sections backward or to the previous '}' in [] [count] |section|s backward or to the previous '}' in
the first column. |exclusive| the first column. |exclusive|
Note that |exclusive-linewise| often applies. Note that |exclusive-linewise| often applies.

View File

@ -1,4 +1,4 @@
*netbeans.txt* For Vim version 8.2. Last change: 2020 Nov 02 *netbeans.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Gordon Prieur et al. VIM REFERENCE MANUAL by Gordon Prieur et al.
@ -124,12 +124,12 @@ In case you do not want the NetBeans interface you can disable it by
uncommenting a line with "--disable-netbeans" in the Makefile. uncommenting a line with "--disable-netbeans" in the Makefile.
Currently the NetBeans interface is supported by Vim running in a terminal and Currently the NetBeans interface is supported by Vim running in a terminal and
by gvim when it is run with one of the following GUIs: GTK, GNOME, Windows, by gvim when it is run with one of the following GUIs: GTK, GNOME, Windows
Athena and Motif. and Motif.
*netbeans-xpm* *netbeans-xpm*
If Motif support is required the user must supply XPM libraries. If Motif support is required the user must supply XPM libraries.
The XPM library is required to show images within Vim with Motif or Athena. The XPM library is required to show images within Vim with Motif.
Without it the toolbar and signs will be disabled. Without it the toolbar and signs will be disabled.
The XPM library is provided by Arnaud Le Hors of the French National Institute The XPM library is provided by Arnaud Le Hors of the French National Institute

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 8.2. Last change: 2022 Mar 29 *options.txt* For Vim version 8.2. Last change: 2022 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -87,7 +87,7 @@ achieve special effects. These options come in three forms:
:se[t] {option}+={value} *:set+=* :se[t] {option}+={value} *:set+=*
Add the {value} to a number option, or append the Add the {value} to a number option, or append the
{value} to a string option. When the option is a {value} to a string option. When the option is a
comma separated list, a comma is added, unless the comma-separated list, a comma is added, unless the
value was empty. value was empty.
If the option is a list of flags, superfluous flags If the option is a list of flags, superfluous flags
are removed. When adding a flag that was already are removed. When adding a flag that was already
@ -97,7 +97,7 @@ achieve special effects. These options come in three forms:
:se[t] {option}^={value} *:set^=* :se[t] {option}^={value} *:set^=*
Multiply the {value} to a number option, or prepend Multiply the {value} to a number option, or prepend
the {value} to a string option. When the option is a the {value} to a string option. When the option is a
comma separated list, a comma is added, unless the comma-separated list, a comma is added, unless the
value was empty. value was empty.
Also see |:set-args| above. Also see |:set-args| above.
@ -1019,7 +1019,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'backupcopy' 'bkc' string (Vi default for Unix: "yes", otherwise: "auto") 'backupcopy' 'bkc' string (Vi default for Unix: "yes", otherwise: "auto")
global or local to buffer |global-local| global or local to buffer |global-local|
When writing a file and a backup is made, this option tells how it's When writing a file and a backup is made, this option tells how it's
done. This is a comma separated list of words. done. This is a comma-separated list of words.
The main values are: The main values are:
"yes" make a copy of the file and overwrite the original one "yes" make a copy of the file and overwrite the original one
@ -1043,10 +1043,10 @@ A jump table for the options with a short description can be found at |Q_op|.
file. file.
- When the file is a link the new file will not be a link. - When the file is a link the new file will not be a link.
The "auto" value is the middle way: When Vim sees that renaming file The "auto" value is the middle way: When Vim sees that renaming the
is possible without side effects (the attributes can be passed on and file is possible without side effects (the attributes can be passed on
the file is not a link) that is used. When problems are expected, a and the file is not a link) that is used. When problems are expected,
copy will be made. a copy will be made.
The "breaksymlink" and "breakhardlink" values can be used in The "breaksymlink" and "breakhardlink" values can be used in
combination with any of "yes", "no" and "auto". When included, they combination with any of "yes", "no" and "auto". When included, they
@ -1065,13 +1065,13 @@ A jump table for the options with a short description can be found at |Q_op|.
When a copy is made, the original file is truncated and then filled When a copy is made, the original file is truncated and then filled
with the new text. This means that protection bits, owner and with the new text. This means that protection bits, owner and
symbolic links of the original file are unmodified. The backup file symbolic links of the original file are unmodified. The backup file,
however, is a new file, owned by the user who edited the file. The however, is a new file, owned by the user who edited the file. The
group of the backup is set to the group of the original file. If this group of the backup is set to the group of the original file. If this
fails, the protection bits for the group are made the same as for fails, the protection bits for the group are made the same as for
others. others.
When the file is renamed this is the other way around: The backup has When the file is renamed, this is the other way around: The backup has
the same attributes of the original file, and the newly written file the same attributes of the original file, and the newly written file
is owned by the current user. When the file was a (hard/symbolic) is owned by the current user. When the file was a (hard/symbolic)
link, the new file will not! That's why the "auto" value doesn't link, the new file will not! That's why the "auto" value doesn't
@ -1138,7 +1138,7 @@ A jump table for the options with a short description can be found at |Q_op|.
accidentally overwriting existing files with a backup file. You might accidentally overwriting existing files with a backup file. You might
prefer using ".bak", but make sure that you don't have files with prefer using ".bak", but make sure that you don't have files with
".bak" that you want to keep. ".bak" that you want to keep.
Only normal file name characters can be used, "/\*?[|<>" are illegal. Only normal file name characters can be used; "/\*?[|<>" are illegal.
If you like to keep a lot of backups, you could use a BufWritePre If you like to keep a lot of backups, you could use a BufWritePre
autocommand to change 'backupext' just before writing the file to autocommand to change 'backupext' just before writing the file to
@ -1402,7 +1402,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'browsedir'* *'bsdir'* *'browsedir'* *'bsdir'*
'browsedir' 'bsdir' string (default: "last") 'browsedir' 'bsdir' string (default: "last")
global global
{only for Motif, Athena, GTK, Mac and Win32 GUI} {only for Motif, GTK, Mac and Win32 GUI}
Which directory to use for the file browser: Which directory to use for the file browser:
last Use same directory as with last file browser, where a last Use same directory as with last file browser, where a
file was opened or saved. file was opened or saved.
@ -1416,16 +1416,16 @@ A jump table for the options with a short description can be found at |Q_op|.
This option specifies what happens when a buffer is no longer This option specifies what happens when a buffer is no longer
displayed in a window: displayed in a window:
<empty> follow the global 'hidden' option <empty> follow the global 'hidden' option
hide hide the buffer (don't unload it), also when 'hidden' hide hide the buffer (don't unload it), even if 'hidden' is
is not set not set
unload unload the buffer, also when 'hidden' is set or using unload unload the buffer, even if 'hidden' is set; the
|:hide| |:hide| command will also unlod the buffer
delete delete the buffer from the buffer list, also when delete delete the buffer from the buffer list, even if
'hidden' is set or using |:hide|, like using 'hidden' is set; the |:hide| command will also delete
|:bdelete| the buffer, making it behave like |:bdelete|
wipe wipe out the buffer from the buffer list, also when wipe wipe the buffer from the buffer list, even if
'hidden' is set or using |:hide|, like using 'hidden' is set; the |:hide| command will also wipe
|:bwipeout| out the buffer, making it behave like |:bwipeout|
CAREFUL: when "unload", "delete" or "wipe" is used changes in a buffer CAREFUL: when "unload", "delete" or "wipe" is used changes in a buffer
are lost without a warning. Also, these values may break autocommands are lost without a warning. Also, these values may break autocommands
@ -1778,7 +1778,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to window local to window
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
'colorcolumn' is a comma separated list of screen columns that are 'colorcolumn' is a comma-separated list of screen columns that are
highlighted with ColorColumn |hl-ColorColumn|. Useful to align highlighted with ColorColumn |hl-ColorColumn|. Useful to align
text. Will make screen redrawing slower. text. Will make screen redrawing slower.
The screen column can be an absolute number, or a number preceded with The screen column can be an absolute number, or a number preceded with
@ -1812,7 +1812,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'comments' 'com' string (default 'comments' 'com' string (default
"s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-") "s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-")
local to buffer local to buffer
A comma separated list of strings that can start a comment line. See A comma-separated list of strings that can start a comment line. See
|format-comments|. See |option-backslash| about using backslashes to |format-comments|. See |option-backslash| about using backslashes to
insert a space. insert a space.
@ -1953,7 +1953,7 @@ A jump table for the options with a short description can be found at |Q_op|.
This option specifies how keyword completion |ins-completion| works This option specifies how keyword completion |ins-completion| works
when CTRL-P or CTRL-N are used. It is also used for whole-line when CTRL-P or CTRL-N are used. It is also used for whole-line
completion |i_CTRL-X_CTRL-L|. It indicates the type of completion completion |i_CTRL-X_CTRL-L|. It indicates the type of completion
and the places to scan. It is a comma separated list of flags: and the places to scan. It is a comma-separated list of flags:
. scan the current buffer ('wrapscan' is ignored) . scan the current buffer ('wrapscan' is ignored)
w scan buffers from other windows w scan buffers from other windows
b scan other loaded buffers that are in the buffer list b scan other loaded buffers that are in the buffer list
@ -2022,7 +2022,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completeopt'* *'cot'* *'completeopt'* *'cot'*
'completeopt' 'cot' string (default: "menu,preview") 'completeopt' 'cot' string (default: "menu,preview")
global global
A comma separated list of options for Insert mode completion A comma-separated list of options for Insert mode completion
|ins-completion|. The supported values are: |ins-completion|. The supported values are:
menu Use a popup menu to show the possible completions. The menu Use a popup menu to show the possible completions. The
@ -2638,7 +2638,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to window local to window
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
Comma separated list of settings for how 'cursorline' is displayed. Comma-separated list of settings for how 'cursorline' is displayed.
Valid values: Valid values:
"line" Highlight the text line of the cursor with "line" Highlight the text line of the cursor with
CursorLine |hl-CursorLine|. CursorLine |hl-CursorLine|.
@ -2918,7 +2918,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'display' 'dy' string (default "", set to "truncate" in 'display' 'dy' string (default "", set to "truncate" in
|defaults.vim|) |defaults.vim|)
global global
Change the way text is displayed. This is comma separated list of Change the way text is displayed. This is comma-separated list of
flags: flags:
lastline When included, as much as possible of the last line lastline When included, as much as possible of the last line
in a window will be displayed. "@@@" is put in the in a window will be displayed. "@@@" is put in the
@ -3122,7 +3122,7 @@ A jump table for the options with a short description can be found at |Q_op|.
A list of autocommand event names, which are to be ignored. A list of autocommand event names, which are to be ignored.
When set to "all" or when "all" is one of the items, all autocommand When set to "all" or when "all" is one of the items, all autocommand
events are ignored, autocommands will not be executed. events are ignored, autocommands will not be executed.
Otherwise this is a comma separated list of event names. Example: > Otherwise this is a comma-separated list of event names. Example: >
:set ei=WinEnter,WinLeave :set ei=WinEnter,WinLeave
< <
*'expandtab'* *'et'* *'noexpandtab'* *'noet'* *'expandtab'* *'et'* *'noexpandtab'* *'noet'*
@ -3382,7 +3382,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{not available when compiled without the |+folding| {not available when compiled without the |+folding|
feature} feature}
Characters to fill the statuslines and vertical separators. Characters to fill the statuslines and vertical separators.
It is a comma separated list of items: It is a comma-separated list of items:
item default Used for ~ item default Used for ~
stl:c ' ' or '^' statusline of the current window stl:c ' ' or '^' statusline of the current window
@ -3572,7 +3572,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{not available when compiled without the |+folding| {not available when compiled without the |+folding|
feature} feature}
Specifies for which type of commands folds will be opened, if the Specifies for which type of commands folds will be opened, if the
command moves the cursor into a closed fold. It is a comma separated command moves the cursor into a closed fold. It is a comma-separated
list of items. list of items.
NOTE: When the command is part of a mapping this option is not used. NOTE: When the command is part of a mapping this option is not used.
Add the |zv| command to the mapping to get the same effect. Add the |zv| command to the mapping to get the same effect.
@ -3790,7 +3790,7 @@ A jump table for the options with a short description can be found at |Q_op|.
For a console the 't_SI', 't_SR', and 't_EI' escape sequences are For a console the 't_SI', 't_SR', and 't_EI' escape sequences are
used. used.
The option is a comma separated list of parts. Each part consist of a The option is a comma-separated list of parts. Each part consist of a
mode-list and an argument-list: mode-list and an argument-list:
mode-list:argument-list,mode-list:argument-list,.. mode-list:argument-list,mode-list:argument-list,..
The mode-list is a dash separated list of these modes: The mode-list is a dash separated list of these modes:
@ -3909,7 +3909,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'guioptions'* *'go'* *'guioptions'* *'go'*
'guioptions' 'go' string (default "egmrLtT" (MS-Windows, 'guioptions' 'go' string (default "egmrLtT" (MS-Windows,
"t" is removed in |defaults.vim|), "t" is removed in |defaults.vim|),
"aegimrLtT" (GTK, Motif and Athena), "aegimrLtT" (GTK and Motif),
) )
global global
{only available when compiled with GUI enabled} {only available when compiled with GUI enabled}
@ -3990,13 +3990,12 @@ A jump table for the options with a short description can be found at |Q_op|.
*'go-g'* *'go-g'*
'g' Grey menu items: Make menu items that are not active grey. If 'g' Grey menu items: Make menu items that are not active grey. If
'g' is not included inactive menu items are not shown at all. 'g' is not included inactive menu items are not shown at all.
Exception: Athena will always use grey menu items.
*'go-t'* *'go-t'*
't' Include tearoff menu items. Currently only works for Win32, 't' Include tearoff menu items. Currently only works for Win32,
GTK+, and Motif 1.2 GUI. GTK+, and Motif 1.2 GUI.
*'go-T'* *'go-T'*
'T' Include Toolbar. Currently only in Win32, GTK+, Motif, Photon 'T' Include Toolbar. Currently only in Win32, GTK+, Motif and
and Athena GUIs. Photon GUIs.
*'go-r'* *'go-r'*
'r' Right-hand scrollbar is always present. 'r' Right-hand scrollbar is always present.
*'go-R'* *'go-R'*
@ -4102,7 +4101,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{only available when compiled with the |+multi_lang| {only available when compiled with the |+multi_lang|
feature} feature}
Comma separated list of languages. Vim will use the first language Comma-separated list of languages. Vim will use the first language
for which the desired help can be found. The English help will always for which the desired help can be found. The English help will always
be used as a last resort. You can add "en" to prefer English over be used as a last resort. You can add "en" to prefer English over
another language, but that will only find tags that exist in that another language, but that will only find tags that exist in that
@ -4121,10 +4120,14 @@ A jump table for the options with a short description can be found at |Q_op|.
When off a buffer is unloaded when it is |abandon|ed. When on a When off a buffer is unloaded when it is |abandon|ed. When on a
buffer becomes hidden when it is |abandon|ed. If the buffer is still buffer becomes hidden when it is |abandon|ed. If the buffer is still
displayed in another window, it does not become hidden, of course. displayed in another window, it does not become hidden, of course.
The commands that move through the buffer list sometimes make a buffer The commands that move through the buffer list sometimes make a buffer
hidden although the 'hidden' option is off: When the buffer is hidden even if the 'hidden' option is off when these three are true:
modified, 'autowrite' is off or writing is not possible, and the '!' - the buffer is modified
flag was used. See also |windows.txt|. - 'autowrite' is off or writing is not possible
- the '!' flag was used
Also see |windows.txt|.
To only make one buffer hidden use the 'bufhidden' option. To only make one buffer hidden use the 'bufhidden' option.
This option is set for one command with ":hide {command}" |:hide|. This option is set for one command with ":hide {command}" |:hide|.
WARNING: It's easy to forget that you have changes in hidden buffers. WARNING: It's easy to forget that you have changes in hidden buffers.
@ -4150,7 +4153,7 @@ A jump table for the options with a short description can be found at |Q_op|.
z:StatusLineTerm,Z:StatusLineTermNC") z:StatusLineTerm,Z:StatusLineTermNC")
global global
This option can be used to set highlighting mode for various This option can be used to set highlighting mode for various
occasions. It is a comma separated list of character pairs. The occasions. It is a comma-separated list of character pairs. The
first character in a pair gives the occasion, the second the mode to first character in a pair gives the occasion, the second the mode to
use for that occasion. The occasions are: use for that occasion. The occasions are:
|hl-SpecialKey| 8 Meta and special keys listed with ":map" |hl-SpecialKey| 8 Meta and special keys listed with ":map"
@ -4405,7 +4408,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|i_CTRL-^|. |i_CTRL-^|.
The value is set to 1 when setting 'keymap' to a valid keymap name. The value is set to 1 when setting 'keymap' to a valid keymap name.
It is also used for the argument of commands like "r" and "f". It is also used for the argument of commands like "r" and "f".
The value 0 may not work correctly with Athena and Motif with some XIM The value 0 may not work correctly with Motif with some XIM
methods. Use 'imdisable' to disable XIM then. methods. Use 'imdisable' to disable XIM then.
You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM You can set 'imactivatefunc' and 'imstatusfunc' to handle IME/XIM
@ -4426,7 +4429,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|c_CTRL-^|. |c_CTRL-^|.
The value is set to 1 when it is not -1 and setting the 'keymap' The value is set to 1 when it is not -1 and setting the 'keymap'
option to a valid keymap name. option to a valid keymap name.
The value 0 may not work correctly with Athena and Motif with some XIM The value 0 may not work correctly with Motif with some XIM
methods. Use 'imdisable' to disable XIM then. methods. Use 'imdisable' to disable XIM then.
*'imstatusfunc'* *'imsf'* *'imstatusfunc'* *'imsf'*
@ -4817,7 +4820,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'keymodel'* *'km'* *'keymodel'* *'km'*
'keymodel' 'km' string (default "") 'keymodel' 'km' string (default "")
global global
List of comma separated words, which enable special things that keys List of comma-separated words, which enable special things that keys
can do. These values can be used: can do. These values can be used:
startsel Using a shifted special key starts selection (either startsel Using a shifted special key starts selection (either
Select mode or Visual mode, depending on "key" being Select mode or Visual mode, depending on "key" being
@ -5018,7 +5021,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global or local to buffer |global-local| global or local to buffer |global-local|
{not available when compiled without the |+lispindent| {not available when compiled without the |+lispindent|
feature} feature}
Comma separated list of words that influence the Lisp indenting. Comma-separated list of words that influence the Lisp indenting.
|'lisp'| |'lisp'|
*'list'* *'nolist'* *'list'* *'nolist'*
@ -5042,7 +5045,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'listchars' 'lcs' string (default "eol:$") 'listchars' 'lcs' string (default "eol:$")
global or local to window |global-local| global or local to window |global-local|
Strings to use in 'list' mode and for the |:list| command. It is a Strings to use in 'list' mode and for the |:list| command. It is a
comma separated list of string settings. comma-separated list of string settings.
*lcs-eol* *lcs-eol*
eol:c Character to show at the end of each line. When eol:c Character to show at the end of each line. When
omitted, there is no extra character at the end of the omitted, there is no extra character at the end of the
@ -5547,7 +5550,7 @@ A jump table for the options with a short description can be found at |Q_op|.
{only available when compiled with the |+mouseshape| {only available when compiled with the |+mouseshape|
feature} feature}
This option tells Vim what the mouse pointer should look like in This option tells Vim what the mouse pointer should look like in
different modes. The option is a comma separated list of parts, much different modes. The option is a comma-separated list of parts, much
like used for 'guicursor'. Each part consist of a mode/location-list like used for 'guicursor'. Each part consist of a mode/location-list
and an argument-list: and an argument-list:
mode-list:shape,mode-list:shape,.. mode-list:shape,mode-list:shape,..
@ -6688,7 +6691,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'selectmode'* *'slm'* *'selectmode'* *'slm'*
'selectmode' 'slm' string (default "") 'selectmode' 'slm' string (default "")
global global
This is a comma separated list of words, which specifies when to start This is a comma-separated list of words, which specifies when to start
Select mode instead of Visual mode, when a selection is started. Select mode instead of Visual mode, when a selection is started.
Possible values: Possible values:
mouse when using the mouse mouse when using the mouse
@ -7307,7 +7310,7 @@ A jump table for the options with a short description can be found at |Q_op|.
commands. It must end in ".{encoding}.add". You need to include the commands. It must end in ".{encoding}.add". You need to include the
path, otherwise the file is placed in the current directory. path, otherwise the file is placed in the current directory.
*E765* *E765*
It may also be a comma separated list of names. A count before the It may also be a comma-separated list of names. A count before the
|zg| and |zw| commands can be used to access each. This allows using |zg| and |zw| commands can be used to access each. This allows using
a personal word list file and a project word list file. a personal word list file and a project word list file.
When a word is added while this option is empty Vim will set it for When a word is added while this option is empty Vim will set it for
@ -7329,7 +7332,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer local to buffer
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
A comma separated list of word list names. When the 'spell' option is A comma-separated list of word list names. When the 'spell' option is
on spellchecking will be done for these languages. Example: > on spellchecking will be done for these languages. Example: >
set spelllang=en_us,nl,medical set spelllang=en_us,nl,medical
< This means US English, Dutch and medical words are recognized. Words < This means US English, Dutch and medical words are recognized. Words
@ -7374,7 +7377,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer local to buffer
{not available when compiled without the |+syntax| {not available when compiled without the |+syntax|
feature} feature}
A comma separated list of options for spell checking: A comma-separated list of options for spell checking:
camel When a word is CamelCased, assume "Cased" is a camel When a word is CamelCased, assume "Cased" is a
separate word: every upper-case character in a word separate word: every upper-case character in a word
that comes after a lower case character indicates the that comes after a lower case character indicates the
@ -7679,7 +7682,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer local to buffer
{not available when compiled without the {not available when compiled without the
|+file_in_path| feature} |+file_in_path| feature}
Comma separated list of suffixes, which are used when searching for a Comma-separated list of suffixes, which are used when searching for a
file for the "gf", "[I", etc. commands. Example: > file for the "gf", "[I", etc. commands. Example: >
:set suffixesadd=.java :set suffixesadd=.java
< <
@ -7725,7 +7728,7 @@ A jump table for the options with a short description can be found at |Q_op|.
This option controls the behavior when switching between buffers. This option controls the behavior when switching between buffers.
Mostly for |quickfix| commands some values are also used for other Mostly for |quickfix| commands some values are also used for other
commands, as mentioned below. commands, as mentioned below.
Possible values (comma separated list): Possible values (comma-separated list):
useopen If included, jump to the first open window that useopen If included, jump to the first open window that
contains the specified buffer (if there is one). contains the specified buffer (if there is one).
Otherwise: Do not examine other windows. Otherwise: Do not examine other windows.
@ -8358,8 +8361,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'toolbar'* *'tb'* *'toolbar'* *'tb'*
'toolbar' 'tb' string (default "icons,tooltips") 'toolbar' 'tb' string (default "icons,tooltips")
global global
{only for |+GUI_GTK|, |+GUI_Athena|, |+GUI_Motif| and {only for |+GUI_GTK|, |+GUI_Motif| and |+GUI_Photon|}
|+GUI_Photon|}
The contents of this option controls various toolbar settings. The The contents of this option controls various toolbar settings. The
possible values are: possible values are:
icons Toolbar buttons are shown with icons. icons Toolbar buttons are shown with icons.
@ -8373,7 +8375,7 @@ A jump table for the options with a short description can be found at |Q_op|.
If you want the toolbar to be shown with icons as well as text, do the If you want the toolbar to be shown with icons as well as text, do the
following: > following: >
:set tb=icons,text :set tb=icons,text
< Motif and Athena cannot display icons and text at the same time. They < Motif cannot display icons and text at the same time. They
will show icons if both are requested. will show icons if both are requested.
If none of the strings specified in 'toolbar' are valid or if If none of the strings specified in 'toolbar' are valid or if
@ -8692,7 +8694,7 @@ A jump table for the options with a short description can be found at |Q_op|.
global global
{not available when compiled without the |+mksession| {not available when compiled without the |+mksession|
feature} feature}
Changes the effect of the |:mkview| command. It is a comma separated Changes the effect of the |:mkview| command. It is a comma-separated
list of words. Each word enables saving and restoring something: list of words. Each word enables saving and restoring something:
word save and restore ~ word save and restore ~
cursor cursor position in file and in window cursor cursor position in file and in window
@ -8722,7 +8724,7 @@ A jump table for the options with a short description can be found at |Q_op|.
When non-empty, the viminfo file is read upon startup and written When non-empty, the viminfo file is read upon startup and written
when exiting Vim (see |viminfo-file|). Except when 'viminfofile' is when exiting Vim (see |viminfo-file|). Except when 'viminfofile' is
"NONE". "NONE".
The string should be a comma separated list of parameters, each The string should be a comma-separated list of parameters, each
consisting of a single character identifying the particular parameter, consisting of a single character identifying the particular parameter,
followed by a number or string which specifies the value of that followed by a number or string which specifies the value of that
parameter. If a particular character is left out, then the default parameter. If a particular character is left out, then the default
@ -8845,7 +8847,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'virtualedit'* *'ve'* *'virtualedit'* *'ve'*
'virtualedit' 've' string (default "") 'virtualedit' 've' string (default "")
global or local to window |global-local| global or local to window |global-local|
A comma separated list of these words: A comma-separated list of these words:
block Allow virtual editing in Visual block mode. block Allow virtual editing in Visual block mode.
insert Allow virtual editing in Insert mode. insert Allow virtual editing in Insert mode.
all Allow virtual editing in all modes. all Allow virtual editing in all modes.
@ -9061,7 +9063,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'wildmode' 'wim' string (Vim default: "full") 'wildmode' 'wim' string (Vim default: "full")
global global
Completion mode that is used for the character specified with Completion mode that is used for the character specified with
'wildchar'. It is a comma separated list of up to four parts. Each 'wildchar'. It is a comma-separated list of up to four parts. Each
part specifies what to do for each consecutive use of 'wildchar'. The part specifies what to do for each consecutive use of 'wildchar'. The
first part specifies the behavior for the first use of 'wildchar', first part specifies the behavior for the first use of 'wildchar',
The second part for the second use, etc. The second part for the second use, etc.

View File

@ -1,4 +1,4 @@
*pi_netrw.txt* For Vim version 8.2. Last change: 2021 Aug 16 *pi_netrw.txt* For Vim version 8.2. Last change: 2022 Apr 06
------------------------------------------------ ------------------------------------------------
NETRW REFERENCE MANUAL by Charles E. Campbell NETRW REFERENCE MANUAL by Charles E. Campbell
@ -2815,7 +2815,7 @@ your browsing preferences. (see also: |netrw-settings|)
= 2: wide listing (multiple files in columns) = 2: wide listing (multiple files in columns)
= 3: tree style listing = 3: tree style listing
*g:netrw_list_hide* comma separated pattern list for hiding files *g:netrw_list_hide* comma-separated pattern list for hiding files
Patterns are regular expressions (see |regexp|) Patterns are regular expressions (see |regexp|)
There's some special support for git-ignore There's some special support for git-ignore
files: you may add the output from the helper files: you may add the output from the helper

View File

@ -1,4 +1,4 @@
*popup.txt* For Vim version 8.2. Last change: 2022 Jan 08 *popup.txt* For Vim version 8.2. Last change: 2022 Apr 04
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*quickref.txt* For Vim version 8.2. Last change: 2021 Dec 21 *quickref.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -815,6 +815,7 @@ Short explanation of each option: *option-list*
'mousefocus' 'mousef' keyboard focus follows the mouse 'mousefocus' 'mousef' keyboard focus follows the mouse
'mousehide' 'mh' hide mouse pointer while typing 'mousehide' 'mh' hide mouse pointer while typing
'mousemodel' 'mousem' changes meaning of mouse buttons 'mousemodel' 'mousem' changes meaning of mouse buttons
'mousemoveevent' 'mousemev' report mouse moves with <MouseMove>
'mouseshape' 'mouses' shape of the mouse pointer in different modes 'mouseshape' 'mouses' shape of the mouse pointer in different modes
'mousetime' 'mouset' max time between mouse double-click 'mousetime' 'mouset' max time between mouse double-click
'mzquantum' 'mzq' the interval between polls for MzScheme threads 'mzquantum' 'mzq' the interval between polls for MzScheme threads

View File

@ -1,4 +1,4 @@
*repeat.txt* For Vim version 8.2. Last change: 2022 Mar 30 *repeat.txt* For Vim version 8.2. Last change: 2022 Apr 08
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar

View File

@ -1,4 +1,4 @@
*rileft.txt* For Vim version 8.2. Last change: 2021 Jun 13 *rileft.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Avner Lottem VIM REFERENCE MANUAL by Avner Lottem
@ -110,9 +110,6 @@ o Does not support reverse insert and rightleft modes on the command-line.
o Somewhat slower in right-to-left mode, because right-to-left motion is o Somewhat slower in right-to-left mode, because right-to-left motion is
emulated inside Vim, not by the controlling terminal. emulated inside Vim, not by the controlling terminal.
o When the Athena GUI is used, the bottom scrollbar works in the wrong
direction. This is difficult to fix.
o When both 'rightleft' and 'revins' are on: 'textwidth' does not work. o When both 'rightleft' and 'revins' are on: 'textwidth' does not work.
Lines do not wrap at all; you just get a single, long line. Lines do not wrap at all; you just get a single, long line.

View File

@ -1,4 +1,4 @@
*scroll.txt* For Vim version 8.2. Last change: 2019 May 13 *scroll.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -242,7 +242,7 @@ dragging the scrollbar of the current window. How many lines are scrolled
depends on your mouse driver. If the scroll action causes input focus depends on your mouse driver. If the scroll action causes input focus
problems, see |intellimouse-wheel-problems|. problems, see |intellimouse-wheel-problems|.
For the X11 GUIs (Motif, Athena and GTK) scrolling the wheel generates key For the X11 GUIs (Motif and GTK) scrolling the wheel generates key
presses <ScrollWheelUp>, <ScrollWheelDown>, <ScrollWheelLeft> and presses <ScrollWheelUp>, <ScrollWheelDown>, <ScrollWheelLeft> and
<ScrollWheelRight>. For example, if you push the scroll wheel upwards a <ScrollWheelRight>. For example, if you push the scroll wheel upwards a
<ScrollWheelUp> key press is generated causing the window to scroll upwards <ScrollWheelUp> key press is generated causing the window to scroll upwards

View File

@ -1,4 +1,4 @@
*syntax.txt* For Vim version 8.2. Last change: 2022 Mar 02 *syntax.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -4898,7 +4898,7 @@ in their own color.
:hi[ghlight] {group-name} :hi[ghlight] {group-name}
List one highlight group. List one highlight group.
*highlight-clear* *highlight-clear* *:hi-clear*
:hi[ghlight] clear Reset all highlighting to the defaults. Removes all :hi[ghlight] clear Reset all highlighting to the defaults. Removes all
highlighting for groups added by the user! highlighting for groups added by the user!
Uses the current value of 'background' to decide which Uses the current value of 'background' to decide which
@ -4961,7 +4961,7 @@ the same syntax file on all terminals, and use the optimal highlighting.
*inverse* *italic* *standout* *inverse* *italic* *standout*
*nocombine* *strikethrough* *nocombine* *strikethrough*
term={attr-list} *attr-list* *highlight-term* *E418* term={attr-list} *attr-list* *highlight-term* *E418*
attr-list is a comma separated list (without spaces) of the attr-list is a comma-separated list (without spaces) of the
following items (in any order): following items (in any order):
bold bold
underline underline
@ -5145,7 +5145,7 @@ font={font-name} *highlight-font*
When setting the font for the "Normal" group, this becomes the default When setting the font for the "Normal" group, this becomes the default
font (until the 'guifont' option is changed; the last one set is font (until the 'guifont' option is changed; the last one set is
used). used).
The following only works with Motif and Athena, not with other GUIs: The following only works with Motif, not with other GUIs:
When setting the font for the "Menu" group, the menus will be changed. When setting the font for the "Menu" group, the menus will be changed.
When setting the font for the "Tooltip" group, the tooltips will be When setting the font for the "Tooltip" group, the tooltips will be
changed. changed.
@ -5382,7 +5382,7 @@ Menu Current font, background and foreground colors of the menus.
Also used for the toolbar. Also used for the toolbar.
Applicable highlight arguments: font, guibg, guifg. Applicable highlight arguments: font, guibg, guifg.
NOTE: For Motif and Athena the font argument actually NOTE: For Motif the font argument actually
specifies a fontset at all times, no matter if 'guifontset' is specifies a fontset at all times, no matter if 'guifontset' is
empty, and as such it is tied to the current |:language| when empty, and as such it is tied to the current |:language| when
set. set.
@ -5396,7 +5396,7 @@ Scrollbar Current background and foreground of the main window's
Tooltip Current font, background and foreground of the tooltips. Tooltip Current font, background and foreground of the tooltips.
Applicable highlight arguments: font, guibg, guifg. Applicable highlight arguments: font, guibg, guifg.
NOTE: For Motif and Athena the font argument actually NOTE: For Motif the font argument actually
specifies a fontset at all times, no matter if 'guifontset' is specifies a fontset at all times, no matter if 'guifontset' is
empty, and as such it is tied to the current |:language| when empty, and as such it is tied to the current |:language| when
set. set.

View File

@ -134,6 +134,8 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
'cinkeys' options.txt /*'cinkeys'* 'cinkeys' options.txt /*'cinkeys'*
'cino' options.txt /*'cino'* 'cino' options.txt /*'cino'*
'cinoptions' options.txt /*'cinoptions'* 'cinoptions' options.txt /*'cinoptions'*
'cinscopedecls' options.txt /*'cinscopedecls'*
'cinsd' options.txt /*'cinsd'*
'cinw' options.txt /*'cinw'* 'cinw' options.txt /*'cinw'*
'cinwords' options.txt /*'cinwords'* 'cinwords' options.txt /*'cinwords'*
'clipboard' options.txt /*'clipboard'* 'clipboard' options.txt /*'clipboard'*
@ -487,7 +489,9 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
'mousefocus' options.txt /*'mousefocus'* 'mousefocus' options.txt /*'mousefocus'*
'mousehide' options.txt /*'mousehide'* 'mousehide' options.txt /*'mousehide'*
'mousem' options.txt /*'mousem'* 'mousem' options.txt /*'mousem'*
'mousemev' options.txt /*'mousemev'*
'mousemodel' options.txt /*'mousemodel'* 'mousemodel' options.txt /*'mousemodel'*
'mousemoveevent' options.txt /*'mousemoveevent'*
'mouses' options.txt /*'mouses'* 'mouses' options.txt /*'mouses'*
'mouseshape' options.txt /*'mouseshape'* 'mouseshape' options.txt /*'mouseshape'*
'mouset' options.txt /*'mouset'* 'mouset' options.txt /*'mouset'*
@ -2546,6 +2550,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
:helpt helphelp.txt /*:helpt* :helpt helphelp.txt /*:helpt*
:helptags helphelp.txt /*:helptags* :helptags helphelp.txt /*:helptags*
:hi syntax.txt /*:hi* :hi syntax.txt /*:hi*
:hi-clear syntax.txt /*:hi-clear*
:hi-default syntax.txt /*:hi-default* :hi-default syntax.txt /*:hi-default*
:hi-link syntax.txt /*:hi-link* :hi-link syntax.txt /*:hi-link*
:hi-normal syntax.txt /*:hi-normal* :hi-normal syntax.txt /*:hi-normal*
@ -3616,6 +3621,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
<MiddleRelease> term.txt /*<MiddleRelease>* <MiddleRelease> term.txt /*<MiddleRelease>*
<Mouse> term.txt /*<Mouse>* <Mouse> term.txt /*<Mouse>*
<MouseDown> scroll.txt /*<MouseDown>* <MouseDown> scroll.txt /*<MouseDown>*
<MouseMove> map.txt /*<MouseMove>*
<MouseUp> scroll.txt /*<MouseUp>* <MouseUp> scroll.txt /*<MouseUp>*
<NL> motion.txt /*<NL>* <NL> motion.txt /*<NL>*
<Nop> map.txt /*<Nop>* <Nop> map.txt /*<Nop>*
@ -3771,7 +3777,6 @@ Aleph options.txt /*Aleph*
Amiga os_amiga.txt /*Amiga* Amiga os_amiga.txt /*Amiga*
Arabic arabic.txt /*Arabic* Arabic arabic.txt /*Arabic*
Atari os_mint.txt /*Atari* Atari os_mint.txt /*Atari*
Athena gui_x11.txt /*Athena*
B motion.txt /*B* B motion.txt /*B*
BeBox os_beos.txt /*BeBox* BeBox os_beos.txt /*BeBox*
BeOS os_beos.txt /*BeOS* BeOS os_beos.txt /*BeOS*
@ -5513,6 +5518,7 @@ WinClosed autocmd.txt /*WinClosed*
WinEnter autocmd.txt /*WinEnter* WinEnter autocmd.txt /*WinEnter*
WinLeave autocmd.txt /*WinLeave* WinLeave autocmd.txt /*WinLeave*
WinNew autocmd.txt /*WinNew* WinNew autocmd.txt /*WinNew*
WinScrolled autocmd.txt /*WinScrolled*
X change.txt /*X* X change.txt /*X*
X11 options.txt /*X11* X11 options.txt /*X11*
X11-icon gui_x11.txt /*X11-icon* X11-icon gui_x11.txt /*X11-icon*
@ -5752,7 +5758,6 @@ assert_true() testing.txt /*assert_true()*
at motion.txt /*at* at motion.txt /*at*
atan() builtin.txt /*atan()* atan() builtin.txt /*atan()*
atan2() builtin.txt /*atan2()* atan2() builtin.txt /*atan2()*
athena-intellimouse gui.txt /*athena-intellimouse*
attr-list syntax.txt /*attr-list* attr-list syntax.txt /*attr-list*
author intro.txt /*author* author intro.txt /*author*
auto-format change.txt /*auto-format* auto-format change.txt /*auto-format*
@ -6065,6 +6070,7 @@ changenr() builtin.txt /*changenr()*
changetick eval.txt /*changetick* changetick eval.txt /*changetick*
changing change.txt /*changing* changing change.txt /*changing*
channel channel.txt /*channel* channel channel.txt /*channel*
channel-address channel.txt /*channel-address*
channel-callback channel.txt /*channel-callback* channel-callback channel.txt /*channel-callback*
channel-close channel.txt /*channel-close* channel-close channel.txt /*channel-close*
channel-close-in channel.txt /*channel-close-in* channel-close-in channel.txt /*channel-close-in*
@ -8257,6 +8263,7 @@ moo.vim syntax.txt /*moo.vim*
more-compatible version5.txt /*more-compatible* more-compatible version5.txt /*more-compatible*
more-prompt message.txt /*more-prompt* more-prompt message.txt /*more-prompt*
more-variables eval.txt /*more-variables* more-variables eval.txt /*more-variables*
motif-intellimouse gui.txt /*motif-intellimouse*
motion-count-multiplied motion.txt /*motion-count-multiplied* motion-count-multiplied motion.txt /*motion-count-multiplied*
motion.txt motion.txt /*motion.txt* motion.txt motion.txt /*motion.txt*
mouse-mode-table term.txt /*mouse-mode-table* mouse-mode-table term.txt /*mouse-mode-table*

View File

@ -1,4 +1,4 @@
*term.txt* For Vim version 8.2. Last change: 2022 Mar 04 *term.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -833,7 +833,7 @@ select and copy the text to the system, then press Esc.
Another way is to temporarily use ":sh" to run a shell, copy the text, then Another way is to temporarily use ":sh" to run a shell, copy the text, then
exit the shell. 'mouse' can remain set to "a" then. exit the shell. 'mouse' can remain set to "a" then.
*xterm-clipboard* *xterm-clipboard*
In the Athena and Motif GUI versions, when running in a terminal and there is In the Motif GUI version, when running in a terminal and there is
access to the X-server (DISPLAY is set), the copy and paste will behave like access to the X-server (DISPLAY is set), the copy and paste will behave like
in the GUI. If not, the middle mouse button will insert the unnamed register. in the GUI. If not, the middle mouse button will insert the unnamed register.
In that case, here is how you copy and paste a piece of text: In that case, here is how you copy and paste a piece of text:

View File

@ -1,4 +1,4 @@
*terminal.txt* For Vim version 8.2. Last change: 2022 Jan 21 *terminal.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -674,7 +674,7 @@ term_getsize({buf}) *term_getsize()*
term_getstatus({buf}) *term_getstatus()* term_getstatus({buf}) *term_getstatus()*
Get the status of terminal {buf}. This returns a String with Get the status of terminal {buf}. This returns a String with
a comma separated list of these items: a comma-separated list of these items:
running job is running running job is running
finished job has finished finished job has finished
normal in Terminal-Normal mode normal in Terminal-Normal mode

View File

@ -1,4 +1,4 @@
*testing.txt* For Vim version 8.2. Last change: 2022 Feb 10 *testing.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -174,22 +174,6 @@ test_gui_event({event}, {args})
dragging: 1 to drag the scrollbar and 0 to click in the dragging: 1 to drag the scrollbar and 0 to click in the
scrollbar. scrollbar.
"scrollbar":
Set or drag the left, right or horizontal scrollbar. Only
works when the scrollbar actually exists. The supported
items in {args} are:
which: scrollbar. The supported values are:
left Left scrollbar of the current window
right Right scrollbar of the current window
hor Horizontal scrollbar
value: amount to scroll. For the vertical scrollbars
the value can be 1 to the line-count of the
buffer. For the horizontal scrollbar the
value can be between 1 and the maximum line
length, assuming 'wrap' is not set.
dragging: 1 to drag the scrollbar and 0 to click in the
scrollbar.
"tabline": "tabline":
Inject a mouse click event on the tabline to select a Inject a mouse click event on the tabline to select a
tabpage. The supported items in {args} are: tabpage. The supported items in {args} are:

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 8.2. Last change: 2022 Mar 30 *todo.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -38,15 +38,10 @@ browser use: https://github.com/vim/vim/issues/1234
*known-bugs* *known-bugs*
-------------------- Known bugs and current work ----------------------- -------------------- Known bugs and current work -----------------------
Allow for: "import autoload '../lib/script.vim'"
avoids going through 'runtimepath' and avoids name collisions.
Really drop the Athena and NeXtaw GUI? Decide end of March.
Once Vim9 is stable: Once Vim9 is stable:
- Use Vim9 for more runtime files. - Use Vim9 for more runtime files.
- Check code coverage, add more tests if needed. - Check code coverage, add more tests if needed.
vim9execute.c line 1900 vim9execute.c line 3500
vim9expr.c vim9expr.c
vim9instr.c vim9instr.c
vim9script.c vim9script.c
@ -55,6 +50,7 @@ Once Vim9 is stable:
Further Vim9 improvements, possibly after launch: Further Vim9 improvements, possibly after launch:
- Check performance with callgrind and kcachegrind. - Check performance with callgrind and kcachegrind.
getline()/substitute()/setline() in #5632
- Better implementation for partial and tests for that. - Better implementation for partial and tests for that.
- when using "const" mark the variable type as const with TTFLAG_CONST, so - when using "const" mark the variable type as const with TTFLAG_CONST, so
that an error is given at compile time when trying to change it. E.g. for a that an error is given at compile time when trying to change it. E.g. for a
@ -200,7 +196,7 @@ Terminal emulator window:
- When the job only outputs lines, we could handle resizing the terminal - When the job only outputs lines, we could handle resizing the terminal
better: store lines separated by line breaks, instead of screen lines, better: store lines separated by line breaks, instead of screen lines,
then when the window is resized redraw those lines. then when the window is resized redraw those lines.
- Redrawing is slow with Athena and Motif. (Ramel Eshed) - Redrawing is slow with Motif. (Ramel Eshed)
- For the GUI fill termios with default values, perhaps like pangoterm: - For the GUI fill termios with default values, perhaps like pangoterm:
http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134 http://bazaar.launchpad.net/~leonerd/pangoterm/trunk/view/head:/main.c#L134
- When 'encoding' is not utf-8, or the job is using another encoding, setup - When 'encoding' is not utf-8, or the job is using another encoding, setup
@ -231,6 +227,8 @@ Add expanding <script> which works like <sfile> everywhere. #9189
Rename getdigraphlist -> digraph_getlist() etc. Rename getdigraphlist -> digraph_getlist() etc.
Can "CSI nr X" be used instead of outputting spaces? Is it faster? #8002
Valgrind reports memory leaks in test_options. Valgrind reports memory leaks in test_options.
Valgrind reports overlapping memcpy in Valgrind reports overlapping memcpy in
test_conceal.3 test_conceal.3
@ -309,8 +307,7 @@ inconsistent with the documentation.
Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598) Making breakat support multibyte characters (Yasuhiro Matsumoto, #6598)
Scroll doesn't work correctly, why? Scroll doesn't work correctly, why?
glob() and globfile() do not always honor 'wildignorecase'. #8350 globpath() does not use 'wildignorecase' at all? (related to #8350)
globpath() does not use 'wildignorecase' at all?
Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work Add 'termguiattr' option, use "gui=" attributes in the terminal? Would work
with 'termguicolors'. #1740 with 'termguicolors'. #1740
@ -2393,11 +2390,6 @@ probably causes this.
'scrollbind' is not respected when deleting lines or undo. (Milan Vancura, 'scrollbind' is not respected when deleting lines or undo. (Milan Vancura,
2009 Jan 16) 2009 Jan 16)
Document that default font in Athena can be set with resources:
XtDefaultFont: "9x15"
XtDefaultFontSet: "9x15"
(Richard Sherman, 2009 Apr 12)
Having "Syntax" in 'eventignore' for :bufdo may cause problems, e.g. for Having "Syntax" in 'eventignore' for :bufdo may cause problems, e.g. for
":bufdo e" when buffers are open in windows. ex_listdo(eap) could set the ":bufdo e" when buffers are open in windows. ex_listdo(eap) could set the
option only for when jumping to another buffer, not when the command argument option only for when jumping to another buffer, not when the command argument
@ -3239,7 +3231,7 @@ Win32 GUI known bugs:
the font name). the font name).
Athena and Motif: Motif:
6 New Motif toolbar button from Marcin Dalecki: 6 New Motif toolbar button from Marcin Dalecki:
- When the mouse pointer is over an Agide button the red becomes black. - When the mouse pointer is over an Agide button the red becomes black.
Something with the way colors are specified in the .xpm file. Something with the way colors are specified in the .xpm file.
@ -3251,7 +3243,7 @@ Athena and Motif:
wrong. wrong.
9 XIM is disabled by default for SGI/IRIX. Fix XIM so that 'imdisable' can 9 XIM is disabled by default for SGI/IRIX. Fix XIM so that 'imdisable' can
be off by default. be off by default.
9 XIM doesn't work properly for Athena/Motif. (Yasuhiro Matsumoto) For now, 9 XIM doesn't work properly for Motif. (Yasuhiro Matsumoto) For now,
keep XIM active at all times when the input method has the preediting keep XIM active at all times when the input method has the preediting
flag. flag.
8 X11: A menu that contains an umlaut is truncated at that character. 8 X11: A menu that contains an umlaut is truncated at that character.
@ -3269,27 +3261,6 @@ Athena and Motif:
current locale. Workaround: set 'langmenu'. current locale. Workaround: set 'langmenu'.
Athena GUI:
9 The first event for any button in the menu or toolbar appears to get lost.
The second click on a menu does work.
9 When dragging the scrollbar thumb very fast, focus is only obtained in
the scrollbar itself. And the thumb is no longer updated when moving
through files.
7 The file selector is not resizable. With a big font it is difficult to
read long file names. (Schroeder)
4 Re-write the widget attachments and code so that we will not have to go
through and calculate the absolute position of every widget every time the
window is refreshed/changes size. This will help the "flashing-widgets"
problem during a refresh.
5 When starting gvim with all the default colors and then typing
":hi Menu guibg=cyan", the menus change color but the background of the
pullright pixmap doesn't change colors.
If you type ":hi Menu guibg=cyan font=anyfont", then the pixmap changes
colors as it should.
Allocating a new pixmap and setting the resource doesn't change the
pullright pixmap's colors. Why? Possible Athena bug?
Motif GUI: Motif GUI:
- gui_mch_browsedir() is missing, browsedir() doesn't work nicely. - gui_mch_browsedir() is missing, browsedir() doesn't work nicely.
7 Use XmStringCreateLocalized() instead of XmStringCreateSimple()? 7 Use XmStringCreateLocalized() instead of XmStringCreateSimple()?
@ -3768,7 +3739,7 @@ Problems that will (probably) not be solved:
Most interesting new features to be added when all bugs have been fixed: Most interesting new features to be added when all bugs have been fixed:
- Using ":exe edit fname" has escaping problems. Use ":edit ++(fname)". - Using ":exe edit fname" has escaping problems. Use ":edit ++(fname)".
Thus use "++=" to give arguments as expressions, comma separated as if Thus use "++=" to give arguments as expressions, comma-separated as if
calling a function. calling a function.
With options: ":edit ++(['!', '++enc=abc'], ['+/pat'], fname)". With options: ":edit ++(['!', '++enc=abc'], ['+/pat'], fname)".
Alternative: Make a function for Ex commands: cmd_edit(). Alternative: Make a function for Ex commands: cmd_edit().
@ -5659,7 +5630,7 @@ Options:
7 ":with option=value | command": temporarily set an option value and 7 ":with option=value | command": temporarily set an option value and
restore it after the command has executed. restore it after the command has executed.
8 Make "old" number options that really give a number of effects into string 8 Make "old" number options that really give a number of effects into string
options that are a comma separated list. The old number values should options that are a comma-separated list. The old number values should
also be supported. also be supported.
8 Add commands to save and restore an option, which also preserves the flag 8 Add commands to save and restore an option, which also preserves the flag
that marks if the option was set. Useful to keep the effect of setting that marks if the option was set. Useful to keep the effect of setting

View File

@ -1,4 +1,4 @@
*various.txt* For Vim version 8.2. Last change: 2022 Mar 04 *various.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -381,7 +381,7 @@ N *+folding* |folding|
*+fork* Unix only: |fork| shell commands *+fork* Unix only: |fork| shell commands
*+float* Floating point support *+float* Floating point support
N *+gettext* message translations |multi-lang| N *+gettext* message translations |multi-lang|
*+GUI_Athena* Unix only: Athena |GUI| - *+GUI_Athena* Unix only: Athena |GUI|
*+GUI_neXtaw* Unix only: neXtaw |GUI| *+GUI_neXtaw* Unix only: neXtaw |GUI|
*+GUI_GTK* Unix only: GTK+ |GUI| *+GUI_GTK* Unix only: GTK+ |GUI|
*+GUI_Motif* Unix only: Motif |GUI| *+GUI_Motif* Unix only: Motif |GUI|

View File

@ -1,4 +1,4 @@
*version5.txt* For Vim version 8.2. Last change: 2021 Apr 05 *version5.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -2494,7 +2494,7 @@ regexp character classes (for fast syntax highlight matching):
":set" now accepts "+=", |^=" and "-=": add or remove parts of a string ":set" now accepts "+=", |^=" and "-=": add or remove parts of a string
option, add or subtract a number from a number option. A comma is option, add or subtract a number from a number option. A comma is
automagically inserted or deleted for options that are a comma separated list. automagically inserted or deleted for options that are a comma-separated list.
Filetype feature, for autocommands. Uses a file type instead of a pattern to Filetype feature, for autocommands. Uses a file type instead of a pattern to
match a file. Currently only used for RISC OS. (Leonard) match a file. Currently only used for RISC OS. (Leonard)

View File

@ -1,4 +1,4 @@
*version6.txt* For Vim version 8.2. Last change: 2021 Apr 05 *version6.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -12447,7 +12447,7 @@ Solution: Make sure ".out" files are deleted when they get in the way. Add
Files: src/Make_bc5.mak, src/testdir/Make_dos.mak Files: src/Make_bc5.mak, src/testdir/Make_dos.mak
Patch 6.2.381 Patch 6.2.381
Problem: Setting 'fileencoding' to a comma separated list (confusing it Problem: Setting 'fileencoding' to a comma-separated list (confusing it
with 'fileencodings') does not result in an error message. with 'fileencodings') does not result in an error message.
Setting 'fileencoding' in an empty file marks it as modified. Setting 'fileencoding' in an empty file marks it as modified.
There is no "+" in the title after setting 'fileencoding'. There is no "+" in the title after setting 'fileencoding'.

View File

@ -1,4 +1,4 @@
*vi_diff.txt* For Vim version 8.2. Last change: 2021 Jan 21 *vi_diff.txt* For Vim version 8.2. Last change: 2022 Apr 03
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -160,8 +160,8 @@ Graphical User Interface (GUI). |gui|
Included support for GUI: menu's, mouse, scrollbars, etc. You can Included support for GUI: menu's, mouse, scrollbars, etc. You can
define your own menus. Better support for CTRL/SHIFT/ALT keys in define your own menus. Better support for CTRL/SHIFT/ALT keys in
combination with special keys and mouse. Supported for various combination with special keys and mouse. Supported for various
platforms, such as X11 (with Motif and Athena interfaces), GTK, Win32 platforms, such as X11 with Motif, GTK, Win32 (Windows XP and later),
(Windows XP and later), Amiga and Macintosh. Amiga and Macintosh.
Multiple windows and buffers. |windows.txt| Multiple windows and buffers. |windows.txt|
Vim can split the screen into several windows, each editing a Vim can split the screen into several windows, each editing a

View File

@ -1,4 +1,4 @@
*vim9.txt* For Vim version 8.2. Last change: 2022 Mar 28 *vim9.txt* For Vim version 8.2. Last change: 2022 Mar 30
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -185,7 +185,7 @@ For now you will need to pass the dictionary explicitly: >
echo d[arg] echo d[arg]
enddef enddef
var ad = {item: 'value', func: DictFunc} var ad = {item: 'value', func: DictFunc}
ad.func(d, 'item') ad.func(ad, 'item')
You can call a legacy dict function though: > You can call a legacy dict function though: >
func Legacy() dict func Legacy() dict
@ -1745,7 +1745,8 @@ actually needed. Using the autoload mechanism is recommended:
The "autoload" argument to `:import` means that the script is not loaded The "autoload" argument to `:import` means that the script is not loaded
until one of the items is actually used. The script will be found under until one of the items is actually used. The script will be found under
the "autoload" directory in 'runtimepath' instead of the "import" the "autoload" directory in 'runtimepath' instead of the "import"
directory. directory. Alternatively a relative or absolute name can be used, see
below.
2. In the autoload script put the bulk of the code. > 2. In the autoload script put the bulk of the code. >
vim9script vim9script
@ -1765,6 +1766,14 @@ actually needed. Using the autoload mechanism is recommended:
You can split up the functionality and import other scripts from the You can split up the functionality and import other scripts from the
autoload script as you like. This way you can share code between plugins. autoload script as you like. This way you can share code between plugins.
Searching for the autoload script in all entries in 'runtimepath' can be a bit
slow. If the plugin knows where the script is located, quite often a relative
path can be used. This avoids the search and should be quite a bit faster.
Another advantage is that the script name does not need to be unique. An
absolute path is also possible. Examples: >
import autoload '../lib/implement.vim'
import autoload MyScriptsDir .. '/lib/implement.vim'
For defining a mapping that uses the imported autoload script the special key For defining a mapping that uses the imported autoload script the special key
|<ScriptCmd>| is useful. It allows for a command in a mapping to use the |<ScriptCmd>| is useful. It allows for a command in a mapping to use the
script context of where the mapping was defined. script context of where the mapping was defined.

View File

@ -1,4 +1,4 @@
*windows.txt* For Vim version 8.2. Last change: 2022 Feb 03 *windows.txt* For Vim version 8.2. Last change: 2022 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -892,7 +892,7 @@ windows.
*preview-popup* *preview-popup*
Alternatively, a popup window can be used by setting the 'previewpopup' Alternatively, a popup window can be used by setting the 'previewpopup'
option. When set, it overrules the 'previewwindow' and 'previewheight' option. When set, it overrules the 'previewwindow' and 'previewheight'
settings. The option is a comma separated list of values: settings. The option is a comma-separated list of values:
height maximum height of the popup height maximum height of the popup
width maximum width of the popup width maximum width of the popup
highlight highlight group of the popup (default is Pmenu) highlight highlight group of the popup (default is Pmenu)

View File

@ -1,7 +1,7 @@
" Vim support file to detect file types " Vim support file to detect file types
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2022 Feb 13 " Last Change: 2022 Apr 07
" Listen very carefully, I will say this only once " Listen very carefully, I will say this only once
if exists("did_load_filetypes") if exists("did_load_filetypes")

View File

@ -1,7 +1,7 @@
" Vim filetype plugin file " Vim filetype plugin file
" Language: C " Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2021 Sep 21 " Last Change: 2022 Apr 08
" 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")
@ -31,7 +31,8 @@ if exists('&ofu')
endif endif
" Set 'comments' to format dashed lists in comments. " Set 'comments' to format dashed lists in comments.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// " Also include ///, used for Doxygen.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://
" In VMS C keywords contain '$' characters. " In VMS C keywords contain '$' characters.
if has("vms") if has("vms")

View File

@ -16,6 +16,7 @@
" 15.10.2006 MK Bram's suggestion for runtime integration " 15.10.2006 MK Bram's suggestion for runtime integration
" 05.11.2006 MK Bram suggested to save on spaces " 05.11.2006 MK Bram suggested to save on spaces
" 19.09.2007 NO g: missing before ada#Comment " 19.09.2007 NO g: missing before ada#Comment
" 2022 April: b:undo_indent added by Doug Kearns
" Help Page: ft-vim-indent " Help Page: ft-vim-indent
"------------------------------------------------------------------------------ "------------------------------------------------------------------------------
" ToDo: " ToDo:
@ -35,6 +36,8 @@ setlocal indentexpr=GetAdaIndent()
setlocal indentkeys-=0{,0} setlocal indentkeys-=0{,0}
setlocal indentkeys+=0=~then,0=~end,0=~elsif,0=~when,0=~exception,0=~begin,0=~is,0=~record setlocal indentkeys+=0=~then,0=~end,0=~elsif,0=~when,0=~exception,0=~begin,0=~is,0=~record
let b:undo_indent = "setl inde< indk<"
" Only define the functions once. " Only define the functions once.
if exists("*GetAdaIndent") if exists("*GetAdaIndent")
finish finish

View File

@ -24,6 +24,7 @@
" 29-04-2002 Fixed problems in function headers and max line width " 29-04-2002 Fixed problems in function headers and max line width
" Added support for two-line if's without curly braces " Added support for two-line if's without curly braces
" Fixed hang: 2011 Aug 31 " Fixed hang: 2011 Aug 31
" 2022 April: b:undo_indent added by Doug Kearns
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -36,6 +37,8 @@ setlocal indentexpr=GetAwkIndent()
" Mmm, copied from the tcl indent program. Is this okay? " Mmm, copied from the tcl indent program. Is this okay?
setlocal indentkeys-=:,0# setlocal indentkeys-=:,0#
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*GetAwkIndent") if exists("*GetAwkIndent")
finish finish

View File

@ -1,7 +1,7 @@
" Description: Comshare Dimension Definition Language (CDL) " Description: Comshare Dimension Definition Language (CDL)
" Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address) " Maintainer: Raul Segura Acevedo <raulseguraaceved@netscape.net> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last Change: Fri Nov 30 13:35:48 2001 CST " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
"finish "finish
@ -12,6 +12,8 @@ setlocal indentexpr=CdlGetIndent(v:lnum)
setlocal indentkeys& setlocal indentkeys&
setlocal indentkeys+==~else,=~endif,=~then,;,),= setlocal indentkeys+==~else,=~endif,=~then,;,),=
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*CdlGetIndent") if exists("*CdlGetIndent")
"finish "finish

View File

@ -1,6 +1,7 @@
" Vim indent file " Vim indent file
" Language: ChaiScript " Language: ChaiScript
" Maintainer: Jason Turner <lefticus 'at' gmail com> " Maintainer: Jason Turner <lefticus 'at' gmail com>
" Last Change: 2022 Apr 06
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -11,6 +12,8 @@ let b:did_indent = 1
setlocal indentexpr=GetChaiScriptIndent() setlocal indentexpr=GetChaiScriptIndent()
setlocal autoindent setlocal autoindent
let b:undo_indent = "setl ai< inde<"
" Only define the function once. " Only define the function once.
if exists("*GetChaiScriptIndent") if exists("*GetChaiScriptIndent")
finish finish

View File

@ -3,7 +3,7 @@
" Author: Andy Cedilnik <andy.cedilnik@kitware.com> " Author: Andy Cedilnik <andy.cedilnik@kitware.com>
" Maintainer: Dimitri Merejkowsky <d.merej@gmail.com> " Maintainer: Dimitri Merejkowsky <d.merej@gmail.com>
" Former Maintainer: Karthik Krishnan <karthik.krishnan@kitware.com> " Former Maintainer: Karthik Krishnan <karthik.krishnan@kitware.com>
" Last Change: 2017 Sep 24 " Last Change: 2022 Apr 06
" "
" Licence: The CMake license applies to this file. See " Licence: The CMake license applies to this file. See
" https://cmake.org/licensing " https://cmake.org/licensing
@ -17,6 +17,8 @@ let b:did_indent = 1
setlocal indentexpr=CMakeGetIndent(v:lnum) setlocal indentexpr=CMakeGetIndent(v:lnum)
setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE( setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE(
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*CMakeGetIndent") if exists("*CMakeGetIndent")
finish finish

View File

@ -2,7 +2,7 @@
" Language: D " Language: D
" Maintainer: Jason Mills <jmills@cs.mun.ca> (Invalid email address) " Maintainer: Jason Mills <jmills@cs.mun.ca> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last Change: 2005 Nov 22 " Last Change: 2022 Apr 06
" Version: 0.1 " Version: 0.1
" "
" Please email me with bugs, comments, and suggestion. Put vim in the subject " Please email me with bugs, comments, and suggestion. Put vim in the subject
@ -19,4 +19,6 @@ let b:did_indent = 1
" D indenting is a lot like the built-in C indenting. " D indenting is a lot like the built-in C indenting.
setlocal cindent setlocal cindent
let b:undo_indent = "setl cin<"
" vim: ts=8 noet " vim: ts=8 noet

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: dict(1) configuration file " Language: dict(1) configuration file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2006-12-20 " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@ -11,3 +11,5 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
setlocal nosmartindent setlocal nosmartindent
inoremap <buffer> # X# inoremap <buffer> # X#
let b:undo_indent = "setl ai< cinw< indk< si< | silent! iunmap <buffer> #"

View File

@ -11,3 +11,5 @@ let b:did_indent = 1
setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent setlocal indentkeys=0{,0},!^F,o,O cinwords= autoindent smartindent
setlocal nosmartindent setlocal nosmartindent
inoremap <buffer> # X# inoremap <buffer> # X#
let b:undo_indent = "setl ai< cinw< indk< si< | silent! iunmap <buffer> #"

View File

@ -3,7 +3,7 @@
" Maintainer: Brent A. Fulgham <bfulgham@debian.org> (Invalid email address) " Maintainer: Brent A. Fulgham <bfulgham@debian.org> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Version: 0.01 " Version: 0.01
" Last Change: 2017 Jun 13 " Last Change: 2022 Apr 06
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -15,6 +15,9 @@ setlocal indentkeys+==~begin,=~block,=~case,=~cleanup,=~define,=~end,=~else,=~el
" Define the appropriate indent function but only once " Define the appropriate indent function but only once
setlocal indentexpr=DylanGetIndent() setlocal indentexpr=DylanGetIndent()
let b:undo_indent = "setl inde< indk<"
if exists("*DylanGetIndent") if exists("*DylanGetIndent")
finish finish
endif endif

View File

@ -3,6 +3,7 @@
" Maintainer: Steven Oliver <oliver.steven@gmail.com> " Maintainer: Steven Oliver <oliver.steven@gmail.com>
" Website: https://steveno@github.com/steveno/falconpl-vim.git " Website: https://steveno@github.com/steveno/falconpl-vim.git
" Credits: This is, to a great extent, a copy n' paste of ruby.vim. " Credits: This is, to a great extent, a copy n' paste of ruby.vim.
" 2022 April: b:undo_indent added by Doug Kearns
" 1. Setup {{{1 " 1. Setup {{{1
" ============ " ============
@ -20,6 +21,8 @@ setlocal indentexpr=FalconGetIndent(v:lnum)
setlocal indentkeys=0{,0},0),0],!^F,o,O,e setlocal indentkeys=0{,0},0),0],!^F,o,O,e
setlocal indentkeys+==~case,=~catch,=~default,=~elif,=~else,=~end,=~\" setlocal indentkeys+==~case,=~catch,=~default,=~elif,=~else,=~end,=~\"
let b:undo_indent = "setl inde< indk< si<"
" Define the appropriate indent function but only once " Define the appropriate indent function but only once
if exists("*FalconGetIndent") if exists("*FalconGetIndent")
finish finish

View File

@ -4,7 +4,7 @@
" (https://raw.githubusercontent.com/sitaramc/gitolite/master/contrib/vim/indent/gitolite.vim) " (https://raw.githubusercontent.com/sitaramc/gitolite/master/contrib/vim/indent/gitolite.vim)
" Maintainer: Sitaram Chamarty <sitaramc@gmail.com> " Maintainer: Sitaram Chamarty <sitaramc@gmail.com>
" (former Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>) " (former Maintainer: Teemu Matilainen <teemu.matilainen@iki.fi>)
" Last Change: 2017 Oct 05 " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@ -15,6 +15,8 @@ setlocal autoindent
setlocal indentexpr=GetGitoliteIndent() setlocal indentexpr=GetGitoliteIndent()
setlocal indentkeys=o,O,*<Return>,!^F,=repo,\",= setlocal indentkeys=o,O,*<Return>,!^F,=repo,\",=
let b:undo_indent = "setl ai< inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*GetGitoliteIndent") if exists("*GetGitoliteIndent")
finish finish

View File

@ -2,7 +2,7 @@
" Language: IDL (ft=idlang) " Language: IDL (ft=idlang)
" Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com> (Invalid email address) " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last change: 2017 Jun 13 " Last change: 2022 Apr 06
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -14,6 +14,8 @@ setlocal indentkeys=o,O,0=endif,0=ENDIF,0=endelse,0=ENDELSE,0=endwhile,0=ENDWHIL
setlocal indentexpr=GetIdlangIndent(v:lnum) setlocal indentexpr=GetIdlangIndent(v:lnum)
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*GetIdlangIndent") if exists("*GetIdlangIndent")
finish finish

View File

@ -2,7 +2,7 @@
" Language: Makefile " Language: Makefile
" Maintainer: Doug Kearns <dougkearns@gmail.com> " Maintainer: Doug Kearns <dougkearns@gmail.com>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Last Change: 24 Sep 2021 " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@ -13,7 +13,7 @@ setlocal indentexpr=GetMakeIndent()
setlocal indentkeys=!^F,o,O,<:>,=else,=endif setlocal indentkeys=!^F,o,O,<:>,=else,=endif
setlocal nosmartindent setlocal nosmartindent
let b:undo_indent = "setl ai< inde< indk<" let b:undo_indent = "setl inde< indk< si<"
if exists("*GetMakeIndent") if exists("*GetMakeIndent")
finish finish

View File

@ -3,6 +3,7 @@
" Maintainer: Steve Layland <layland@wolfram.com> (Invalid email address) " Maintainer: Steve Layland <layland@wolfram.com> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last Change: Sat May 10 18:56:22 CDT 2005 " Last Change: Sat May 10 18:56:22 CDT 2005
" 2022 April: b:undo_indent added by Doug Kearns
" Source: http://vim.sourceforge.net/scripts/script.php?script_id=1274 " Source: http://vim.sourceforge.net/scripts/script.php?script_id=1274
" http://members.wolfram.com/layland/vim/indent/mma.vim " http://members.wolfram.com/layland/vim/indent/mma.vim
" "
@ -26,6 +27,8 @@ setlocal indentexpr=GetMmaIndent()
setlocal indentkeys+=0[,0],0(,0) setlocal indentkeys+=0[,0],0(,0)
setlocal nosi "turn off smart indent so we don't over analyze } blocks setlocal nosi "turn off smart indent so we don't over analyze } blocks
let b:undo_indent = "setl inde< indk< si<"
if exists("*GetMmaIndent") if exists("*GetMmaIndent")
finish finish
endif endif

View File

@ -1,7 +1,7 @@
" Vim indent file " Vim indent file
" Language: nginx.conf " Language: nginx.conf
" Maintainer: Chris Aumann <me@chr4.org> " Maintainer: Chris Aumann <me@chr4.org>
" Last Change: Apr 15, 2017 " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@ -15,3 +15,5 @@ setlocal cindent
" Just make sure that the comments are not reset as defs would be. " Just make sure that the comments are not reset as defs would be.
setlocal cinkeys-=0# setlocal cinkeys-=0#
let b:undo_indent = "setl inde< cin< cink<"

View File

@ -1,9 +1,7 @@
" Vim indent file " Vim indent file
" Language: Objective-C " Language: Objective-C
" Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
" Last Change: 2004 May 16 " Last Change: 2022 Apr 06
"
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -19,6 +17,8 @@ setlocal indentexpr=GetObjCIndent()
setlocal indentkeys-=: setlocal indentkeys-=:
setlocal indentkeys+=<:> setlocal indentkeys+=<:>
let b:undo_indent = "setl cin< inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*GetObjCIndent") if exists("*GetObjCIndent")
finish finish

View File

@ -2,7 +2,7 @@
" Language: occam " Language: occam
" Maintainer: Mario Schweigler <ms44@kent.ac.uk> (Invalid email address) " Maintainer: Mario Schweigler <ms44@kent.ac.uk> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last Change: 23 April 2003 " Last Change: 2022 Apr 06
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -17,6 +17,8 @@ setlocal indentexpr=GetOccamIndent()
setlocal indentkeys=o,O,0=: setlocal indentkeys=o,O,0=:
"}}} "}}}
let b:undo_indent = "setl inde< indk<"
" Only define the function once " Only define the function once
if exists("*GetOccamIndent") if exists("*GetOccamIndent")
finish finish

View File

@ -2,8 +2,8 @@
" Language: PostScript " Language: PostScript
" Maintainer: Mike Williams <mrw@netcomuk.co.uk> (Invalid email address) " Maintainer: Mike Williams <mrw@netcomuk.co.uk> (Invalid email address)
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Last Change: 2nd July 2001 " Last Change: 2022 Apr 06
"
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -14,6 +14,8 @@ let b:did_indent = 1
setlocal indentexpr=PostscrIndentGet(v:lnum) setlocal indentexpr=PostscrIndentGet(v:lnum)
setlocal indentkeys+=0],0=>>,0=%%,0=end,0=restore,0=grestore indentkeys-=:,0#,e setlocal indentkeys+=0],0=>>,0=%%,0=end,0=restore,0=grestore indentkeys-=:,0#,e
let b:undo_indent = "setl inde< indk<"
" Catch multiple instantiations " Catch multiple instantiations
if exists("*PostscrIndentGet") if exists("*PostscrIndentGet")
finish finish

View File

@ -4,6 +4,7 @@
" Doug Kearns <dougkearns@gmail.com> " Doug Kearns <dougkearns@gmail.com>
" Revised on: 2002.02.18. 23:34:05 " Revised on: 2002.02.18. 23:34:05
" Last change by: Takuya Fujiwara, 2018 Sep 23 " Last change by: Takuya Fujiwara, 2018 Sep 23
" 2022 April: b:undo_indent added by Doug Kearns
" TODO: " TODO:
" checking with respect to syntax highlighting " checking with respect to syntax highlighting
@ -21,6 +22,8 @@ setlocal indentexpr=GetPrologIndent()
setlocal indentkeys-=:,0# setlocal indentkeys-=:,0#
setlocal indentkeys+=0%,-,0;,>,0) setlocal indentkeys+=0%,-,0;,>,0)
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
"if exists("*GetPrologIndent") "if exists("*GetPrologIndent")
" finish " finish

View File

@ -2,7 +2,7 @@
" Language: SAS " Language: SAS
" Maintainer: Zhen-Huan Hu <wildkeny@gmail.com> " Maintainer: Zhen-Huan Hu <wildkeny@gmail.com>
" Version: 3.0.3 " Version: 3.0.3
" Last Change: Jun 26, 2018 " Last Change: 2022 Apr 06
if exists("b:did_indent") if exists("b:did_indent")
finish finish
@ -12,6 +12,8 @@ let b:did_indent = 1
setlocal indentexpr=GetSASIndent() setlocal indentexpr=GetSASIndent()
setlocal indentkeys+=;,=~data,=~proc,=~macro setlocal indentkeys+=;,=~data,=~proc,=~macro
let b:undo_indent = "setl inde< indk<"
if exists("*GetSASIndent") if exists("*GetSASIndent")
finish finish
endif endif

View File

@ -7,10 +7,11 @@
" Mike Leary <leary@nwlink.com> " Mike Leary <leary@nwlink.com>
" Markus Mottl <markus@oefai.at> " Markus Mottl <markus@oefai.at>
" OCaml URL: http://www.oefai.at/~markus/vim/indent/ocaml.vim " OCaml URL: http://www.oefai.at/~markus/vim/indent/ocaml.vim
" Last Change: 2003 Jan 04 - Adapted to SML " Last Change: 2022 Apr 06
" 2002 Nov 06 - Some fixes (JY) " 2002 Nov 06 - Some fixes (JY)
" 2002 Oct 28 - Fixed bug with indentation of ']' (MM) " 2002 Oct 28 - Fixed bug with indentation of ']' (MM)
" 2002 Oct 22 - Major rewrite (JY) " 2002 Oct 22 - Major rewrite (JY)
" 2022 April: b:undo_indent added by Doug Kearns
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -26,6 +27,8 @@ setlocal nosmartindent
setlocal textwidth=80 setlocal textwidth=80
setlocal shiftwidth=2 setlocal shiftwidth=2
let b:undo_indent = "setl et< inde< indk< lisp< si< sw< tw<"
" Comment formatting " Comment formatting
if (has("comments")) if (has("comments"))
set comments=sr:(*,mb:*,ex:*) set comments=sr:(*,mb:*,ex:*)

View File

@ -2,6 +2,7 @@
" Language: SystemVerilog " Language: SystemVerilog
" Maintainer: kocha <kocha.lsifrontend@gmail.com> " Maintainer: kocha <kocha.lsifrontend@gmail.com>
" Last Change: 05-Feb-2017 by Bilal Wasim " Last Change: 05-Feb-2017 by Bilal Wasim
" 2022 April: b:undo_indent added by Doug Kearns
" Only load this indent file when no other was loaded. " Only load this indent file when no other was loaded.
if exists("b:did_indent") if exists("b:did_indent")
@ -16,6 +17,8 @@ setlocal indentkeys+==endclass,=endpackage,=endsequence,=endclocking
setlocal indentkeys+==endinterface,=endgroup,=endprogram,=endproperty,=endchecker setlocal indentkeys+==endinterface,=endgroup,=endprogram,=endproperty,=endchecker
setlocal indentkeys+==`else,=`endif setlocal indentkeys+==`else,=`endif
let b:undo_indent = "setl inde< indk<"
" Only define the function once. " Only define the function once.
if exists("*SystemVerilogIndent") if exists("*SystemVerilogIndent")
finish finish

View File

@ -1,7 +1,7 @@
" These commands create the option window. " These commands create the option window.
" "
" Maintainer: Bram Moolenaar <Bram@vim.org> " Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2021 Dec 21 " Last Change: 2022 Apr 07
" If there already is an option window, jump to that one. " If there already is an option window, jump to that one.
let buf = bufnr('option-window') let buf = bufnr('option-window')

View File

@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: Debian DEP3 Patch headers " Language: Debian DEP3 Patch headers
" Maintainer: Gabriel Filion <gabster@lelutin.ca> " Maintainer: Gabriel Filion <gabster@lelutin.ca>
" Last Change: 2021-01-09 " Last Change: 2022 Apr 06
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/dep3patch.vim " URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/syntax/dep3patch.vim
" "
" Specification of the DEP3 patch header format is available at: " Specification of the DEP3 patch header format is available at:
@ -28,7 +28,7 @@ syn region dep3patchMultiField matchgroup=dep3patchKey start="^Bug\%(-[[:graph:]
syn region dep3patchMultiField matchgroup=dep3patchKey start="^Forwarded\ze: *" end="$" contained contains=dep3patchHTTPUrl,dep3patchForwardedShort oneline keepend syn region dep3patchMultiField matchgroup=dep3patchKey start="^Forwarded\ze: *" end="$" contained contains=dep3patchHTTPUrl,dep3patchForwardedShort oneline keepend
syn region dep3patchMultiField matchgroup=dep3patchKey start="^\%(Author\|From\)\ze: *" end="$" contained contains=dep3patchEmail oneline keepend syn region dep3patchMultiField matchgroup=dep3patchKey start="^\%(Author\|From\)\ze: *" end="$" contained contains=dep3patchEmail oneline keepend
syn region dep3patchMultiField matchgroup=dep3patchKey start="^\%(Reviewed-by\|Acked-by\)\ze: *" end="$" contained contains=dep3patchEmail oneline keepend syn region dep3patchMultiField matchgroup=dep3patchKey start="^\%(Reviewed-by\|Acked-by\)\ze: *" end="$" contained contains=dep3patchEmail oneline keepend
syn region dep3patchMultiField matchgroup=dep3patchKey start="^Last-Updated\ze: *" end="$" contained contains=dep3patchISODate oneline keepend syn region dep3patchMultiField matchgroup=dep3patchKey start="^Last-Update\ze: *" end="$" contained contains=dep3patchISODate oneline keepend
syn region dep3patchMultiField matchgroup=dep3patchKey start="^Applied-Upstream\ze: *" end="$" contained contains=dep3patchHTTPUrl,dep3patchCommitID oneline keepend syn region dep3patchMultiField matchgroup=dep3patchKey start="^Applied-Upstream\ze: *" end="$" contained contains=dep3patchHTTPUrl,dep3patchCommitID oneline keepend
syn match dep3patchHTTPUrl contained "\vhttps?://[[:alnum:]][-[:alnum:]]*[[:alnum:]]?(\.[[:alnum:]][-[:alnum:]]*[[:alnum:]]?)*\.[[:alpha:]][-[:alnum:]]*[[:alpha:]]?(:\d+)?(/[^[:space:]]*)?$" syn match dep3patchHTTPUrl contained "\vhttps?://[[:alnum:]][-[:alnum:]]*[[:alnum:]]?(\.[[:alnum:]][-[:alnum:]]*[[:alnum:]]?)*\.[[:alpha:]][-[:alnum:]]*[[:alpha:]]?(:\d+)?(/[^[:space:]]*)?$"

View File

@ -2,7 +2,7 @@
" Language: Lua 4.0, Lua 5.0, Lua 5.1 and Lua 5.2 " Language: Lua 4.0, Lua 5.0, Lua 5.1 and Lua 5.2
" Maintainer: Marcus Aurelius Farias <masserahguard-lua 'at' yahoo com> " Maintainer: Marcus Aurelius Farias <masserahguard-lua 'at' yahoo com>
" First Author: Carlos Augusto Teixeira Mendes <cmendes 'at' inf puc-rio br> " First Author: Carlos Augusto Teixeira Mendes <cmendes 'at' inf puc-rio br>
" Last Change: 2012 Aug 12 " Last Change: 2022 Mar 31
" Options: lua_version = 4 or 5 " Options: lua_version = 4 or 5
" lua_subversion = 0 (4.0, 5.0) or 1 (5.1) or 2 (5.2) " lua_subversion = 0 (4.0, 5.0) or 1 (5.1) or 2 (5.2)
" default 5.2 " default 5.2
@ -319,6 +319,15 @@ elseif lua_version == 5
syn match luaFunc /\<debug\.upvalueid\>/ syn match luaFunc /\<debug\.upvalueid\>/
syn match luaFunc /\<debug\.upvaluejoin\>/ syn match luaFunc /\<debug\.upvaluejoin\>/
endif endif
if lua_subversion >= 3
"https://www.lua.org/manual/5.3/manual.html#6.5
syn match luaFunc /\<utf8\.char\>/
syn match luaFunc /\<utf8\.charpattern\>/
syn match luaFunc /\<utf8\.codes\>/
syn match luaFunc /\<utf8\.codepoint\>/
syn match luaFunc /\<utf8\.len\>/
syn match luaFunc /\<utf8\.offset\>/
endif
endif endif
" Define the default highlighting. " Define the default highlighting.

View File

@ -2,10 +2,10 @@
" Language: NeoMutt setup files " Language: NeoMutt setup files
" Maintainer: Richard Russon <rich@flatcap.org> " Maintainer: Richard Russon <rich@flatcap.org>
" Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com> " Previous Maintainer: Guillaume Brogi <gui-gui@netcourrier.com>
" Last Change: 2020-06-21 " Last Change: 2022-04-08
" Original version based on syntax/muttrc.vim " Original version based on syntax/muttrc.vim
" This file covers NeoMutt 2020-06-19 " This file covers NeoMutt 2022-04-08
" quit when a syntax file was already loaded " quit when a syntax file was already loaded
if exists("b:current_syntax") if exists("b:current_syntax")
@ -115,6 +115,8 @@ syntax region muttrcIndexFormatStr contained skipwhite keepend start=+"+ sk
syntax region muttrcIndexFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcIndexFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcMixFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcMixFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcMixFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcMixFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcPatternFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPatternFormatEscapes,muttrcPatternFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcPatternFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPatternFormatEscapes,muttrcPatternFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcPGPCmdFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
syntax region muttrcPGPFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax region muttrcPGPFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
@ -144,35 +146,37 @@ function! s:escapesConditionals(baseName, sequence, padding, conditional)
endif endif
endfunction endfunction
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" Ref: alias_format_str() in alias/dlgalias.c " Ref: alias_format_str() in alias/dlg_alias.c
call s:escapesConditionals('AliasFormat', '[acfnrt]', 1, 0) call s:escapesConditionals('AliasFormat', '[acfnrt]', 1, 0)
" Ref: attach_format_str() in recvattach.c " Ref: attach_format_str() in attach/dlg_attach.c
call s:escapesConditionals('AttachFormat', '[CcDdeFfIMmnQsTtuX]', 1, 1) call s:escapesConditionals('AttachFormat', '[CcDdeFfIMmnQsTtuX]', 1, 1)
" Ref: compose_format_str() in compose.c " Ref: compose_format_str() in compose/cbar.c
call s:escapesConditionals('ComposeFormat', '[ahlv]', 1, 1) call s:escapesConditionals('ComposeFormat', '[ahlv]', 1, 1)
" Ref: folder_format_str() in browser.c " Ref: folder_format_str() in browser/browser.c
call s:escapesConditionals('FolderFormat', '[CDdFfgilmNnstu]', 1, 0) call s:escapesConditionals('FolderFormat', '[CDdFfgilmNnstu]', 1, 0)
" Ref: group_index_format_str() in browser.c " Ref: group_index_format_str() in nntp/browse.c
call s:escapesConditionals('GroupIndexFormat', '[CdfMNns]', 1, 1) call s:escapesConditionals('GroupIndexFormat', '[CdfMNns]', 1, 1)
" Ref: index_format_str() in hdrline.c " Ref: index_format_str() in hdrline.c
call s:escapesConditionals('IndexFormat', '[AaBbCDdEefgHIiJKLlMmNnOPqRrSsTtuvWXxYyZ(<[{]\|@\i\+@\|G[a-zA-Z]\+\|Fp\=\|z[cst]\|cr\=', 1, 1) call s:escapesConditionals('IndexFormat', '[AaBbCDdEefgHIiJKLlMmNnOPqRrSsTtuvWXxYyZ(<[{]\|@\i\+@\|G[a-zA-Z]\+\|Fp\=\|z[cst]\|cr\=', 1, 1)
" Ref: mix_format_str() in remailer.c " Ref: mix_format_str() in remailer.c
call s:escapesConditionals('MixFormat', '[acns]', 1, 0) call s:escapesConditionals('MixFormat', '[acns]', 1, 0)
" Ref: pattern_format_str() in pattern/dlg_pattern.c
call s:escapesConditionals('PatternFormat', '[den]', 1, 0)
" Ref: pgp_command_format_str() in ncrypt/pgpinvoke.c " Ref: pgp_command_format_str() in ncrypt/pgpinvoke.c
call s:escapesConditionals('PGPCmdFormat', '[afprs]', 0, 1) call s:escapesConditionals('PGPCmdFormat', '[afprs]', 0, 1)
" Ref: crypt_format_str() in ncrypt/crypt_gpgme.c " Ref: crypt_format_str() in ncrypt/dlg_gpgme.c
" Ref: pgp_entry_format_str() in ncrypt/pgpkey.c " Ref: pgp_entry_format_str() in ncrypt/dlg_pgp.c
" Note: crypt_format_str() supports 'p', but pgp_entry_fmt() does not " Note: crypt_format_str() supports 'p', but pgp_entry_fmt() does not
call s:escapesConditionals('PGPFormat', '[AaCcFfKkLlnptu[]', 0, 0) call s:escapesConditionals('PGPFormat', '[AaCcFfKkLlnptu[]', 0, 0)
" Ref: query_format_str() in alias/dlgquery.c " Ref: query_format_str() in alias/dlg_query.c
call s:escapesConditionals('QueryFormat', '[acent]', 1, 1) call s:escapesConditionals('QueryFormat', '[acent]', 1, 1)
" Ref: sidebar_format_str() in sidebar.c " Ref: sidebar_format_str() in sidebar/window.c
call s:escapesConditionals('SidebarFormat', '[!BDdFLNnorStZ]', 1, 1) call s:escapesConditionals('SidebarFormat', '[!BDdFLNnorStZ]', 1, 1)
" Ref: smime_command_format_str() in ncrypt/smime.c " Ref: smime_command_format_str() in ncrypt/smime.c
call s:escapesConditionals('SmimeFormat', '[aCcdfiks]', 0, 1) call s:escapesConditionals('SmimeFormat', '[aCcdfiks]', 0, 1)
" Ref: status_format_str() in status.c " Ref: status_format_str() in status.c
call s:escapesConditionals('StatusFormat', '[bDdFfhLlMmnoPpRrSstuVv]', 1, 1) call s:escapesConditionals('StatusFormat', '[bDdFfhLlMmnoPpRrSsTtuVv]', 1, 1)
syntax region muttrcPGPTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes syntax region muttrcPGPTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
syntax region muttrcTimeEscapes contained start=+%(+ end=+)+ contains=muttrcStrftimeEscapes syntax region muttrcTimeEscapes contained start=+%(+ end=+)+ contains=muttrcStrftimeEscapes
@ -187,6 +191,7 @@ syntax match muttrcVarEqualsFolderFmt contained skipwhite "=" nextgroup=mutt
syntax match muttrcVarEqualsGrpIdxFmt contained skipwhite "=" nextgroup=muttrcGroupIndexFormatStr syntax match muttrcVarEqualsGrpIdxFmt contained skipwhite "=" nextgroup=muttrcGroupIndexFormatStr
syntax match muttrcVarEqualsIdxFmt contained skipwhite "=" nextgroup=muttrcIndexFormatStr syntax match muttrcVarEqualsIdxFmt contained skipwhite "=" nextgroup=muttrcIndexFormatStr
syntax match muttrcVarEqualsMixFmt contained skipwhite "=" nextgroup=muttrcMixFormatStr syntax match muttrcVarEqualsMixFmt contained skipwhite "=" nextgroup=muttrcMixFormatStr
syntax match muttrcVarEqualsPatternFmt contained skipwhite "=" nextgroup=muttrcPatternFormatStr
syntax match muttrcVarEqualsPGPCmdFmt contained skipwhite "=" nextgroup=muttrcPGPCmdFormatStr syntax match muttrcVarEqualsPGPCmdFmt contained skipwhite "=" nextgroup=muttrcPGPCmdFormatStr
syntax match muttrcVarEqualsPGPFmt contained skipwhite "=" nextgroup=muttrcPGPFormatStr syntax match muttrcVarEqualsPGPFmt contained skipwhite "=" nextgroup=muttrcPGPFormatStr
syntax match muttrcVarEqualsQueryFmt contained skipwhite "=" nextgroup=muttrcQueryFormatStr syntax match muttrcVarEqualsQueryFmt contained skipwhite "=" nextgroup=muttrcQueryFormatStr
@ -197,9 +202,9 @@ syntax match muttrcVarEqualsStrftimeFmt contained skipwhite "=" nextgroup=mutt
syntax match muttrcVPrefix contained /[?&]/ nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax match muttrcVPrefix contained /[?&]/ nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of the different screens in mutt (see Menus in keymap.c) " List of the different screens in NeoMutt (see MenuNames in menu/type.c)
syntax keyword muttrcMenu contained alias attach browser compose editor generic index key_select_pgp key_select_smime mix pager pgp postpone query smime syntax keyword muttrcMenu contained alias attach autocrypt browser compose editor generic index key_select_pgp key_select_smime mix pager pgp postpone query smime
syntax match muttrcMenuList "\S\+" contained contains=muttrcMenu syntax match muttrcMenuList "\S\+" contained contains=muttrcMenu
syntax match muttrcMenuCommas /,/ contained syntax match muttrcMenuCommas /,/ contained
@ -234,12 +239,12 @@ syntax match muttrcEscapedVariable contained "\\\$[a-zA-Z_-]\+"
syntax match muttrcBadAction contained "[^<>]\+" contains=muttrcEmail syntax match muttrcBadAction contained "[^<>]\+" contains=muttrcEmail
syntax match muttrcAction contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName syntax match muttrcAction contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" First, functions that take regular expressions: " First, hooks that take regular expressions:
syntax match muttrcRXHookNot contained /!\s*/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL syntax match muttrcRXHookNot contained /!\s*/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL
syntax match muttrcRXHooks /\<\%(account\|append\|close\|crypt\|folder\|mbox\|open\|pgp\)-hook\>/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL syntax match muttrcRXHooks /\<\%(account\|append\|close\|crypt\|folder\|mbox\|open\|pgp\)-hook\>/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL
" Now, functions that take patterns " Now, hooks that take patterns
syntax match muttrcPatHookNot contained /!\s*/ skipwhite nextgroup=muttrcPattern syntax match muttrcPatHookNot contained /!\s*/ skipwhite nextgroup=muttrcPattern
syntax match muttrcPatHooks /\<\%(charset\|iconv\|index-format\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcPattern syntax match muttrcPatHooks /\<\%(charset\|iconv\|index-format\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcPattern
syntax match muttrcPatHooks /\<\%(message\|reply\|send\|send2\|save\|fcc\|fcc-save\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcOptPattern syntax match muttrcPatHooks /\<\%(message\|reply\|send\|send2\|save\|fcc\|fcc-save\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcOptPattern
@ -295,10 +300,10 @@ syntax match muttrcAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrc
syntax match muttrcUnAliasKey contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL syntax match muttrcUnAliasKey contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
syntax match muttrcUnAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL syntax match muttrcUnAliasNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of letters in Flags in pattern.c " List of letters in Flags in pattern/flags.c
" Parameter: none " Parameter: none
syntax match muttrcSimplePat contained "!\?\^\?[~][ADEFGgklNOPpQRSTuUvV#$=]" syntax match muttrcSimplePat contained "!\?\^\?[~][ADEFGgklNOPpQRSTUuVv#$=]"
" Parameter: range " Parameter: range
syntax match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s*\%([<>-][0-9]\+[kM]\?\|[0-9]\+[kM]\?[-]\%([0-9]\+[kM]\?\)\?\)" syntax match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s*\%([<>-][0-9]\+[kM]\?\|[0-9]\+[kM]\?[-]\%([0-9]\+[kM]\?\)\?\)"
" Parameter: date " Parameter: date
@ -306,7 +311,7 @@ syntax match muttrcSimplePat contained "!\?\^\?[~][dr]\s*\%(\%(-\?[0-9]\{1,2}\%(
" Parameter: regex " Parameter: regex
syntax match muttrcSimplePat contained "!\?\^\?[~][BbCcefHhIiLMstwxYy]\s*" nextgroup=muttrcSimplePatRXContainer syntax match muttrcSimplePat contained "!\?\^\?[~][BbCcefHhIiLMstwxYy]\s*" nextgroup=muttrcSimplePatRXContainer
" Parameter: pattern " Parameter: pattern
syntax match muttrcSimplePat contained "!\?\^\?[%][bBcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString syntax match muttrcSimplePat contained "!\?\^\?[%][BbCcefHhiLstxy]\s*" nextgroup=muttrcSimplePatString
" Parameter: pattern " Parameter: pattern
syntax match muttrcSimplePat contained "!\?\^\?[=][bcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString syntax match muttrcSimplePat contained "!\?\^\?[=][bcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
syntax region muttrcSimplePat contained keepend start=+!\?\^\?[~](+ end=+)+ contains=muttrcSimplePat syntax region muttrcSimplePat contained keepend start=+!\?\^\?[~](+ end=+)+ contains=muttrcSimplePat
@ -369,8 +374,8 @@ syntax keyword muttrcMonoAttrib contained bold none normal reverse standout unde
syntax keyword muttrcMono contained mono skipwhite nextgroup=muttrcColorField,muttrcColorCompose syntax keyword muttrcMono contained mono skipwhite nextgroup=muttrcColorField,muttrcColorCompose
syntax match muttrcMonoLine "^\s*mono\s\+\S\+" skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono syntax match muttrcMonoLine "^\s*mono\s\+\S\+" skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of fields in Fields in color.c " List of fields in ColorFields in color/commmand.c
syntax keyword muttrcColorField skipwhite contained syntax keyword muttrcColorField skipwhite contained
\ attachment attach_headers body bold error hdrdefault header index index_author \ attachment attach_headers body bold error hdrdefault header index index_author
\ index_collapsed index_date index_flags index_label index_number index_size index_subject \ index_collapsed index_date index_flags index_label index_number index_size index_subject
@ -383,8 +388,8 @@ syntax match muttrcColorField contained "\<quoted\d\=\>"
syntax match muttrcColorCompose skipwhite contained /\s*compose\s*/ nextgroup=muttrcColorComposeField syntax match muttrcColorCompose skipwhite contained /\s*compose\s*/ nextgroup=muttrcColorComposeField
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of fields in ComposeFields in color.c " List of fields in ComposeColorFields in color/command.c
syntax keyword muttrcColorComposeField skipwhite contained syntax keyword muttrcColorComposeField skipwhite contained
\ header security_both security_encrypt security_none security_sign \ header security_both security_encrypt security_none security_sign
\ nextgroup=muttrcColorFG,muttrcColorFGNL \ nextgroup=muttrcColorFG,muttrcColorFGNL
@ -411,20 +416,21 @@ function! s:boolQuadGen(type, vars, deprecated)
endfunction endfunction
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_BOOL in MuttVars in mutt_config.c " List of DT_BOOL in MuttVars in mutt_config.c
call s:boolQuadGen('Bool', [ call s:boolQuadGen('Bool', [
\ 'abort_backspace', 'allow_8bit', 'allow_ansi', 'arrow_cursor', 'ascii_chars', 'askbcc', \ 'abort_backspace', 'allow_8bit', 'allow_ansi', 'arrow_cursor', 'ascii_chars', 'ask_bcc',
\ 'askcc', 'ask_follow_up', 'ask_x_comment_to', 'attach_save_without_prompting', \ 'ask_cc', 'ask_follow_up', 'ask_x_comment_to', 'attach_save_without_prompting',
\ 'attach_split', 'autocrypt', 'autocrypt_reply', 'autoedit', 'auto_subscribe', 'auto_tag', \ 'attach_split', 'autocrypt', 'autocrypt_reply', 'auto_edit', 'auto_subscribe', 'auto_tag',
\ 'beep', 'beep_new', 'bounce_delivered', 'braille_friendly', \ 'beep', 'beep_new', 'bounce_delivered', 'braille_friendly',
\ 'browser_abbreviate_mailboxes', 'change_folder_next', 'check_mbox_size', 'check_new', \ 'browser_abbreviate_mailboxes', 'change_folder_next', 'check_mbox_size', 'check_new',
\ 'collapse_all', 'collapse_flagged', 'collapse_unread', 'confirmappend', 'confirmcreate', \ 'collapse_all', 'collapse_flagged', 'collapse_unread', 'compose_show_user_headers',
\ 'crypt_autoencrypt', 'crypt_autopgp', 'crypt_autosign', 'crypt_autosmime', \ 'confirm_append', 'confirm_create', 'copy_decode_weed', 'count_alternatives',
\ 'crypt_confirmhook', 'crypt_opportunistic_encrypt', \ 'crypt_auto_encrypt', 'crypt_auto_pgp', 'crypt_auto_sign', 'crypt_auto_smime',
\ 'crypt_confirm_hook', 'crypt_opportunistic_encrypt',
\ 'crypt_opportunistic_encrypt_strong_keys', 'crypt_protected_headers_read', \ 'crypt_opportunistic_encrypt_strong_keys', 'crypt_protected_headers_read',
\ 'crypt_protected_headers_save', 'crypt_protected_headers_write', 'crypt_replyencrypt', \ 'crypt_protected_headers_save', 'crypt_protected_headers_write', 'crypt_reply_encrypt',
\ 'crypt_replysign', 'crypt_replysignencrypted', 'crypt_timestamp', 'crypt_use_gpgme', \ 'crypt_reply_sign', 'crypt_reply_sign_encrypted', 'crypt_timestamp', 'crypt_use_gpgme',
\ 'crypt_use_pka', 'delete_untag', 'digest_collapse', 'duplicate_threads', 'edit_headers', \ 'crypt_use_pka', 'delete_untag', 'digest_collapse', 'duplicate_threads', 'edit_headers',
\ 'encode_from', 'fast_reply', 'fcc_before_send', 'fcc_clear', 'flag_safe', 'followup_to', \ 'encode_from', 'fast_reply', 'fcc_before_send', 'fcc_clear', 'flag_safe', 'followup_to',
\ 'force_name', 'forward_decode', 'forward_decrypt', 'forward_quote', 'forward_references', \ 'force_name', 'forward_decode', 'forward_decrypt', 'forward_quote', 'forward_references',
@ -433,45 +439,52 @@ call s:boolQuadGen('Bool', [
\ 'history_remove_dups', 'honor_disposition', 'idn_decode', 'idn_encode', \ 'history_remove_dups', 'honor_disposition', 'idn_decode', 'idn_encode',
\ 'ignore_list_reply_to', 'imap_check_subscribed', 'imap_condstore', 'imap_deflate', \ 'ignore_list_reply_to', 'imap_check_subscribed', 'imap_condstore', 'imap_deflate',
\ 'imap_idle', 'imap_list_subscribed', 'imap_passive', 'imap_peek', 'imap_qresync', \ 'imap_idle', 'imap_list_subscribed', 'imap_passive', 'imap_peek', 'imap_qresync',
\ 'imap_rfc5161', 'imap_servernoise', 'implicit_autoview', 'include_encrypted', \ 'imap_rfc5161', 'imap_server_noise', 'implicit_autoview', 'include_encrypted',
\ 'include_onlyfirst', 'keep_flagged', 'mailcap_sanitize', 'maildir_check_cur', \ 'include_only_first', 'keep_flagged', 'local_date_header', 'mailcap_sanitize',
\ 'maildir_header_cache_verify', 'maildir_trash', 'mail_check_recent', 'mail_check_stats', \ 'maildir_check_cur', 'maildir_header_cache_verify', 'maildir_trash', 'mail_check_recent',
\ 'markers', 'mark_old', 'menu_move_off', 'menu_scroll', 'message_cache_clean', 'meta_key', \ 'mail_check_stats', 'markers', 'mark_old', 'menu_move_off', 'menu_scroll',
\ 'metoo', 'mh_purge', 'mime_forward_decode', 'mime_subject', 'mime_type_query_first', \ 'message_cache_clean', 'meta_key', 'me_too', 'mh_purge', 'mime_forward_decode',
\ 'narrow_tree', 'nm_record', 'nntp_listgroup', 'nntp_load_description', 'pager_stop', \ 'mime_type_query_first', 'narrow_tree', 'nm_query_window_enable', 'nm_record',
\ 'pgp_autoinline', 'pgp_auto_decode', 'pgp_check_exit', 'pgp_check_gpg_decrypt_status_fd', \ 'nntp_listgroup', 'nntp_load_description', 'pager_stop', 'pgp_auto_decode',
\ 'pgp_ignore_subkeys', 'pgp_long_ids', 'pgp_replyinline', 'pgp_retainable_sigs', \ 'pgp_auto_inline', 'pgp_check_exit', 'pgp_check_gpg_decrypt_status_fd',
\ 'pgp_ignore_subkeys', 'pgp_long_ids', 'pgp_reply_inline', 'pgp_retainable_sigs',
\ 'pgp_self_encrypt', 'pgp_show_unusable', 'pgp_strict_enc', 'pgp_use_gpg_agent', \ 'pgp_self_encrypt', 'pgp_show_unusable', 'pgp_strict_enc', 'pgp_use_gpg_agent',
\ 'pipe_decode', 'pipe_split', 'pop_auth_try_all', 'pop_last', 'postpone_encrypt', \ 'pipe_decode', 'pipe_decode_weed', 'pipe_split', 'pop_auth_try_all', 'pop_last',
\ 'print_decode', 'print_split', 'prompt_after', 'read_only', 'reflow_space_quotes', \ 'postpone_encrypt', 'print_decode', 'print_decode_weed', 'print_split', 'prompt_after',
\ 'reflow_text', 'reply_self', 'reply_with_xorig', 'resolve', 'resume_draft_files', \ 'read_only', 'reflow_space_quotes', 'reflow_text', 'reply_self', 'reply_with_xorig',
\ 'resume_edited_draft_files', 'reverse_alias', 'reverse_name', 'reverse_realname', \ 'resolve', 'resume_draft_files', 'resume_edited_draft_files', 'reverse_alias',
\ 'rfc2047_parameters', 'save_address', 'save_empty', 'save_name', 'save_unsubscribed', \ 'reverse_name', 'reverse_real_name', 'rfc2047_parameters', 'save_address', 'save_empty',
\ 'score', 'show_new_news', 'show_only_unread', 'sidebar_folder_indent', \ 'save_name', 'save_unsubscribed', 'score', 'show_new_news', 'show_only_unread',
\ 'sidebar_new_mail_only', 'sidebar_next_new_wrap', 'sidebar_non_empty_mailbox_only', \ 'sidebar_folder_indent', 'sidebar_new_mail_only', 'sidebar_next_new_wrap',
\ 'sidebar_on_right', 'sidebar_short_path', 'sidebar_visible', 'sig_dashes', 'sig_on_top', \ 'sidebar_non_empty_mailbox_only', 'sidebar_on_right', 'sidebar_short_path',
\ 'size_show_bytes', 'size_show_fractions', 'size_show_mb', 'size_units_on_left', \ 'sidebar_visible', 'sig_dashes', 'sig_on_top', 'size_show_bytes', 'size_show_fractions',
\ 'smart_wrap', 'smime_ask_cert_label', 'smime_decrypt_use_default_key', 'smime_is_default', \ 'size_show_mb', 'size_units_on_left', 'smart_wrap', 'smime_ask_cert_label',
\ 'smime_self_encrypt', 'sort_re', 'ssl_force_tls', 'ssl_usesystemcerts', 'ssl_use_sslv2', \ 'smime_decrypt_use_default_key', 'smime_is_default', 'smime_self_encrypt', 'sort_re',
\ 'ssl_use_sslv3', 'ssl_use_tlsv1', 'ssl_use_tlsv1_1', 'ssl_use_tlsv1_2', 'ssl_use_tlsv1_3', \ 'ssl_force_tls', 'ssl_use_sslv2', 'ssl_use_sslv3', 'ssl_use_system_certs',
\ 'ssl_use_tlsv1', 'ssl_use_tlsv1_1', 'ssl_use_tlsv1_2', 'ssl_use_tlsv1_3',
\ 'ssl_verify_dates', 'ssl_verify_host', 'ssl_verify_partial_chains', 'status_on_top', \ 'ssl_verify_dates', 'ssl_verify_host', 'ssl_verify_partial_chains', 'status_on_top',
\ 'strict_threads', 'suspend', 'text_flowed', 'thorough_search', 'thread_received', 'tilde', \ 'strict_threads', 'suspend', 'text_flowed', 'thorough_search', 'thread_received', 'tilde',
\ 'ts_enabled', 'uncollapse_jump', 'uncollapse_new', 'user_agent', 'use_8bitmime', \ 'ts_enabled', 'tunnel_is_secure', 'uncollapse_jump', 'uncollapse_new', 'user_agent',
\ 'use_domain', 'use_envelope_from', 'use_from', 'use_ipv6', 'virtual_spoolfile', \ 'use_8bit_mime', 'use_domain', 'use_envelope_from', 'use_from', 'use_ipv6',
\ 'wait_key', 'weed', 'wrap_search', 'write_bcc', 'x_comment_to' \ 'virtual_spool_file', 'wait_key', 'weed', 'wrap_search', 'write_bcc', 'x_comment_to'
\ ], 0) \ ], 0)
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" Deprecated Bools " Deprecated Bools
" List of DT_SYNONYM or DT_DEPRECATED Bools in MuttVars in mutt_config.c " List of DT_SYNONYM or DT_DEPRECATED Bools in MuttVars in mutt_config.c
call s:boolQuadGen('Bool', [ call s:boolQuadGen('Bool', [
\ 'edit_hdrs', 'envelope_from', 'forw_decode', 'forw_decrypt', 'forw_quote', \ 'askbcc', 'askcc', 'autoedit', 'confirmappend', 'confirmcreate', 'crypt_autoencrypt',
\ 'header_cache_compress', 'ignore_linear_white_space', 'pgp_autoencrypt', 'pgp_autosign', \ 'crypt_autopgp', 'crypt_autosign', 'crypt_autosmime', 'crypt_confirmhook',
\ 'pgp_auto_traditional', 'pgp_create_traditional', 'pgp_replyencrypt', 'pgp_replysign', \ 'crypt_replyencrypt', 'crypt_replysign', 'crypt_replysignencrypted', 'edit_hdrs',
\ 'pgp_replysignencrypted', 'xterm_set_titles' \ 'envelope_from', 'forw_decode', 'forw_decrypt', 'forw_quote', 'header_cache_compress',
\ 'ignore_linear_white_space', 'imap_servernoise', 'include_onlyfirst', 'metoo',
\ 'mime_subject', 'pgp_autoencrypt', 'pgp_autoinline', 'pgp_autosign',
\ 'pgp_auto_traditional', 'pgp_create_traditional', 'pgp_replyencrypt', 'pgp_replyinline',
\ 'pgp_replysign', 'pgp_replysignencrypted', 'reverse_realname', 'ssl_usesystemcerts',
\ 'use_8bitmime', 'virtual_spoolfile', 'xterm_set_titles'
\ ], 1) \ ], 1)
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_QUAD in MuttVars in mutt_config.c " List of DT_QUAD in MuttVars in mutt_config.c
call s:boolQuadGen('Quad', [ call s:boolQuadGen('Quad', [
\ 'abort_noattach', 'abort_nosubject', 'abort_unmodified', 'bounce', 'catchup_newsgroup', \ 'abort_noattach', 'abort_nosubject', 'abort_unmodified', 'bounce', 'catchup_newsgroup',
@ -481,31 +494,32 @@ call s:boolQuadGen('Quad', [
\ 'post_moderated', 'print', 'quit', 'recall', 'reply_to', 'ssl_starttls', \ 'post_moderated', 'print', 'quit', 'recall', 'reply_to', 'ssl_starttls',
\ ], 0) \ ], 0)
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" Deprecated Quads " Deprecated Quads
" List of DT_SYNONYM or DT_DEPRECATED Quads in MuttVars in mutt_config.c " List of DT_SYNONYM or DT_DEPRECATED Quads in MuttVars in mutt_config.c
call s:boolQuadGen('Quad', [ call s:boolQuadGen('Quad', [
\ 'mime_fwd', 'pgp_encrypt_self', 'pgp_verify_sig', 'smime_encrypt_self' \ 'mime_fwd', 'pgp_encrypt_self', 'pgp_verify_sig', 'smime_encrypt_self'
\ ], 1) \ ], 1)
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_NUMBER or DT_LONG in MuttVars in mutt_config.c " List of DT_NUMBER or DT_LONG in MuttVars in mutt_config.c
syntax keyword muttrcVarNum skipwhite contained syntax keyword muttrcVarNum skipwhite contained
\ connect_timeout debug_level header_cache_compress_level history \ connect_timeout debug_level header_cache_compress_level history imap_fetch_chunk_size
\ imap_fetch_chunk_size imap_keepalive imap_pipeline_depth imap_poll_timeout mail_check \ imap_keepalive imap_pipeline_depth imap_poll_timeout mail_check mail_check_stats_interval
\ mail_check_stats_interval menu_context net_inc nm_db_limit nm_open_timeout \ menu_context net_inc nm_db_limit nm_open_timeout nm_query_window_current_position
\ nm_query_window_current_position nm_query_window_duration nntp_context nntp_poll \ nm_query_window_duration nntp_context nntp_poll pager_context pager_index_lines
\ pager_context pager_index_lines pgp_timeout pop_checkinterval read_inc reflow_wrap \ pager_read_delay pager_skip_quoted_context pgp_timeout pop_check_interval read_inc
\ save_history score_threshold_delete score_threshold_flag score_threshold_read \ reflow_wrap save_history score_threshold_delete score_threshold_flag score_threshold_read
\ search_context sendmail_wait sidebar_component_depth sidebar_width skip_quoted_offset \ search_context sendmail_wait sidebar_component_depth sidebar_width sleep_time
\ sleep_time smime_timeout ssl_min_dh_prime_bits timeout time_inc toggle_quoted_show_levels \ smime_timeout ssl_min_dh_prime_bits timeout time_inc toggle_quoted_show_levels wrap
\ wrap wrap_headers write_inc \ wrap_headers write_inc
\ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2022-04-08
" Deprecated Numbers
syntax keyword muttrcVarDeprecatedNum contained skipwhite syntax keyword muttrcVarDeprecatedNum contained skipwhite
\ header_cache_pagesize wrapmargin \ header_cache_pagesize pop_checkinterval skip_quoted_offset
\ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_STRING in MuttVars in mutt_config.c " List of DT_STRING in MuttVars in mutt_config.c
" Special cases first, and all the rest at the end " Special cases first, and all the rest at the end
" Formats themselves must be updated in their respective groups " Formats themselves must be updated in their respective groups
@ -517,19 +531,19 @@ syntax keyword muttrcVarStr contained skipwhite compose_format nextgroup=muttrcV
syntax keyword muttrcVarStr contained skipwhite folder_format vfolder_format nextgroup=muttrcVarEqualsFolderFmt syntax keyword muttrcVarStr contained skipwhite folder_format vfolder_format nextgroup=muttrcVarEqualsFolderFmt
syntax keyword muttrcVarStr contained skipwhite attribution forward_format index_format message_format pager_format nextgroup=muttrcVarEqualsIdxFmt syntax keyword muttrcVarStr contained skipwhite attribution forward_format index_format message_format pager_format nextgroup=muttrcVarEqualsIdxFmt
syntax keyword muttrcVarStr contained skipwhite mix_entry_format nextgroup=muttrcVarEqualsMixFmt syntax keyword muttrcVarStr contained skipwhite mix_entry_format nextgroup=muttrcVarEqualsMixFmt
syntax keyword muttrcVarStr contained skipwhite pattern_format nextgroup=muttrcVarEqualsPatternFmt
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ pgp_clearsign_command pgp_decode_command pgp_decrypt_command \ pgp_clear_sign_command pgp_decode_command pgp_decrypt_command pgp_encrypt_only_command
\ pgp_encrypt_only_command pgp_encrypt_sign_command pgp_export_command pgp_getkeys_command \ pgp_encrypt_sign_command pgp_export_command pgp_get_keys_command pgp_import_command
\ pgp_import_command pgp_list_pubring_command pgp_list_secring_command \ pgp_list_pubring_command pgp_list_secring_command pgp_sign_command pgp_verify_command
\ pgp_sign_command pgp_verify_command pgp_verify_key_command \ pgp_verify_key_command
\ nextgroup=muttrcVarEqualsPGPCmdFmt \ nextgroup=muttrcVarEqualsPGPCmdFmt
syntax keyword muttrcVarStr contained skipwhite pgp_entry_format nextgroup=muttrcVarEqualsPGPFmt syntax keyword muttrcVarStr contained skipwhite pgp_entry_format nextgroup=muttrcVarEqualsPGPFmt
syntax keyword muttrcVarStr contained skipwhite query_format nextgroup=muttrcVarEqualsQueryFmt syntax keyword muttrcVarStr contained skipwhite query_format nextgroup=muttrcVarEqualsQueryFmt
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ smime_decrypt_command smime_encrypt_command smime_get_cert_command \ smime_decrypt_command smime_encrypt_command smime_get_cert_command
\ smime_get_cert_email_command smime_get_signer_cert_command \ smime_get_cert_email_command smime_get_signer_cert_command smime_import_cert_command
\ smime_import_cert_command smime_pk7out_command smime_sign_command \ smime_pk7out_command smime_sign_command smime_verify_command smime_verify_opaque_command
\ smime_verify_command smime_verify_opaque_command
\ nextgroup=muttrcVarEqualsSmimeFmt \ nextgroup=muttrcVarEqualsSmimeFmt
syntax keyword muttrcVarStr contained skipwhite status_format ts_icon_format ts_status_format nextgroup=muttrcVarEqualsStatusFmt syntax keyword muttrcVarStr contained skipwhite status_format ts_icon_format ts_status_format nextgroup=muttrcVarEqualsStatusFmt
syntax keyword muttrcVarStr contained skipwhite date_format nextgroup=muttrcVarEqualsStrftimeFmt syntax keyword muttrcVarStr contained skipwhite date_format nextgroup=muttrcVarEqualsStrftimeFmt
@ -538,64 +552,66 @@ syntax keyword muttrcVarStr contained skipwhite sidebar_format nextgroup=muttrcV
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ abort_key arrow_string assumed_charset attach_charset attach_sep attribution_locale \ abort_key arrow_string assumed_charset attach_charset attach_sep attribution_locale
\ autocrypt_acct_format charset config_charset content_type crypt_protected_headers_subject \ autocrypt_acct_format charset config_charset content_type crypt_protected_headers_subject
\ default_hook dsn_notify dsn_return empty_subject escape forward_attribution_intro \ default_hook dsn_notify dsn_return empty_subject forward_attribution_intro
\ forward_attribution_trailer header_cache_backend header_cache_compress_method hidden_tags \ forward_attribution_trailer greeting header_cache_backend header_cache_compress_method
\ hostname imap_authenticators imap_delim_chars imap_headers imap_login imap_pass imap_user \ hidden_tags hostname imap_authenticators imap_delim_chars imap_headers imap_login
\ indent_string mailcap_path mark_macro_prefix mh_seq_flagged mh_seq_replied mh_seq_unseen \ imap_pass imap_user indent_string mailcap_path mark_macro_prefix mh_seq_flagged
\ newsgroups_charset news_server nm_default_url nm_exclude_tags nm_flagged_tag nm_query_type \ mh_seq_replied mh_seq_unseen newsgroups_charset news_server nm_default_url nm_exclude_tags
\ nm_query_window_current_search nm_query_window_timebase nm_record_tags nm_replied_tag \ nm_flagged_tag nm_query_type nm_query_window_current_search nm_query_window_or_terms
\ nm_unread_tag nntp_authenticators nntp_pass nntp_user pgp_default_key pgp_sign_as pipe_sep \ nm_query_window_timebase nm_record_tags nm_replied_tag nm_unread_tag nntp_authenticators
\ pop_authenticators pop_host pop_pass pop_user postpone_encrypt_as post_indent_string \ nntp_pass nntp_user pgp_default_key pgp_sign_as pipe_sep pop_authenticators pop_host
\ preconnect preferred_languages realname send_charset show_multipart_alternative \ pop_pass pop_user postpone_encrypt_as post_indent_string preconnect preferred_languages
\ sidebar_delim_chars sidebar_divider_char sidebar_indent_string simple_search \ real_name send_charset show_multipart_alternative sidebar_delim_chars sidebar_divider_char
\ smime_default_key smime_encrypt_with smime_sign_as smime_sign_digest_alg \ sidebar_indent_string simple_search smime_default_key smime_encrypt_with smime_sign_as
\ smtp_authenticators smtp_pass smtp_url smtp_user spam_separator ssl_ciphers \ smime_sign_digest_alg smtp_authenticators smtp_pass smtp_url smtp_user spam_separator
\ ssl_ciphers
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" Deprecated strings " Deprecated strings
syntax keyword muttrcVarDeprecatedStr syntax keyword muttrcVarDeprecatedStr
\ abort_noattach_regexp attach_keyword forw_format hdr_format indent_str msg_format \ abort_noattach_regexp attach_keyword escape forw_format hdr_format indent_str msg_format
\ nm_default_uri pgp_self_encrypt_as post_indent_str print_cmd quote_regexp reply_regexp \ nm_default_uri pgp_clearsign_command pgp_getkeys_command pgp_self_encrypt_as
\ smime_self_encrypt_as xterm_icon xterm_title \ post_indent_str print_cmd quote_regexp realname reply_regexp smime_self_encrypt_as
\ spoolfile visual xterm_icon xterm_title
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_ADDRESS " List of DT_ADDRESS
syntax keyword muttrcVarStr contained skipwhite envelope_from_address from nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax keyword muttrcVarStr contained skipwhite envelope_from_address from nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" List of DT_ENUM " List of DT_ENUM
syntax keyword muttrcVarStr contained skipwhite mbox_type nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax keyword muttrcVarStr contained skipwhite mbox_type use_threads nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" List of DT_MBTABLE " List of DT_MBTABLE
syntax keyword muttrcVarStr contained skipwhite crypt_chars flag_chars from_chars status_chars to_chars nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr syntax keyword muttrcVarStr contained skipwhite crypt_chars flag_chars from_chars status_chars to_chars nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_PATH " List of DT_PATH or DT_MAILBOX
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ alias_file attach_save_dir autocrypt_dir certificate_file debug_file \ alias_file attach_save_dir autocrypt_dir certificate_file debug_file
\ entropy_file folder header_cache history_file mbox message_cachedir newsrc \ entropy_file folder header_cache history_file mbox message_cachedir newsrc
\ news_cache_dir postponed record signature smime_ca_location \ news_cache_dir postponed record signature smime_ca_location
\ smime_certificates smime_keys spoolfile ssl_ca_certificates_file \ smime_certificates smime_keys spool_file ssl_ca_certificates_file ssl_client_cert
\ ssl_client_cert tmpdir trash \ tmpdir trash
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" List of DT_COMMAND (excluding pgp_*_command and smime_*_command) " List of DT_COMMAND (excluding pgp_*_command and smime_*_command)
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ display_filter editor inews ispell mixmaster new_mail_command pager \ display_filter editor inews ispell mixmaster new_mail_command pager
\ print_command query_command sendmail shell visual external_search_command \ print_command query_command sendmail shell external_search_command
\ imap_oauth_refresh_command pop_oauth_refresh_command \ imap_oauth_refresh_command pop_oauth_refresh_command
\ mime_type_query_command smtp_oauth_refresh_command tunnel \ mime_type_query_command smtp_oauth_refresh_command tunnel
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of DT_REGEX " List of DT_REGEX
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ abort_noattach_regex gecos_mask mask pgp_decryption_okay pgp_good_sign \ abort_noattach_regex gecos_mask mask pgp_decryption_okay pgp_good_sign quote_regex
\ quote_regex reply_regex smileys \ reply_regex smileys
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" List of DT_SORT " List of DT_SORT
syntax keyword muttrcVarStr contained skipwhite syntax keyword muttrcVarStr contained skipwhite
\ pgp_sort_keys sidebar_sort_method sort sort_alias sort_aux sort_browser \ pgp_sort_keys sidebar_sort_method sort sort_alias sort_aux sort_browser
\ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of commands in Commands in mutt_config.c " List of commands in mutt_commands in mutt_commands.c
" Remember to remove hooks, they have already been dealt with " Remember to remove hooks, they have already been dealt with
syntax keyword muttrcCommand skipwhite alias nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL syntax keyword muttrcCommand skipwhite alias nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
syntax keyword muttrcCommand skipwhite bind nextgroup=muttrcBindMenuList,muttrcBindMenuListNL syntax keyword muttrcCommand skipwhite bind nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
@ -607,14 +623,12 @@ syntax keyword muttrcCommand skipwhite spam nextgroup=muttrcSpamPattern
syntax keyword muttrcCommand skipwhite unalias nextgroup=muttrcUnAliasKey,muttrcUnAliasNL syntax keyword muttrcCommand skipwhite unalias nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
syntax keyword muttrcCommand skipwhite unhook nextgroup=muttrcHooks syntax keyword muttrcCommand skipwhite unhook nextgroup=muttrcHooks
syntax keyword muttrcCommand skipwhite syntax keyword muttrcCommand skipwhite
\ alternative_order attachments auto_view finish hdr_order ifdef ifndef \ alternative_order attachments auto_view cd echo finish hdr_order ifdef ifndef ignore lua
\ ignore lua lua-source mailboxes mailto_allow mime_lookup my_hdr push score \ lua-source mailboxes mailto_allow mime_lookup my_hdr named-mailboxes push score setenv
\ setenv sidebar_whitelist source subjectrx subscribe-to tag-formats \ sidebar_whitelist source subjectrx subscribe-to tag-formats tag-transforms
\ tag-transforms unalternative_order unattachments unauto_view uncolor \ unalternative_order unattachments unauto_view unbind uncolor unhdr_order unignore unmacro
\ unhdr_order unignore unmailboxes unmailto_allow unmime_lookup unmono \ unmailboxes unmailto_allow unmime_lookup unmono unmy_hdr unscore unsetenv
\ unmy_hdr unscore unsetenv unsidebar_whitelist unsubjectrx unsubscribe-from \ unsidebar_whitelist unsubjectrx unsubscribe-from unvirtual-mailboxes virtual-mailboxes
\ unvirtual-mailboxes virtual-mailboxes named-mailboxes
\ echo unbind unmacro
function! s:genFunctions(functions) function! s:genFunctions(functions)
for f in a:functions for f in a:functions
@ -622,66 +636,68 @@ function! s:genFunctions(functions)
endfor endfor
endfunction endfunction
" CHECKED 2020-06-21 " CHECKED 2022-04-08
" List of functions in functions.c " List of functions in functions.c
" Note: 'noop' is included but is elsewhere in the source " Note: 'noop' is included but is elsewhere in the source
call s:genFunctions(['noop', call s:genFunctions(['noop',
\ 'accept', 'append', 'attach-file', 'attach-key', 'attach-message', 'attach-news-message', \ 'accept', 'alias-dialog', 'append', 'attach-file', 'attach-key', 'attach-message',
\ 'autocrypt-acct-menu', 'autocrypt-menu', 'backspace', 'backward-char', 'backward-word', \ 'attach-news-message', 'autocrypt-acct-menu', 'autocrypt-menu', 'backspace',
\ 'bol', 'bottom-page', 'bottom', 'bounce-message', 'break-thread', 'buffy-cycle', \ 'backward-char', 'backward-word', 'bol', 'bottom', 'bottom-page', 'bounce-message',
\ 'buffy-list', 'capitalize-word', 'catchup', 'chain-next', 'chain-prev', 'change-dir', \ 'break-thread', 'buffy-cycle', 'buffy-list', 'capitalize-word', 'catchup', 'chain-next',
\ 'change-folder-readonly', 'change-folder', 'change-newsgroup-readonly', \ 'chain-prev', 'change-dir', 'change-folder', 'change-folder-readonly', 'change-newsgroup',
\ 'change-newsgroup', 'change-vfolder', 'check-new', 'check-stats', \ 'change-newsgroup-readonly', 'change-vfolder', 'check-new', 'check-stats',
\ 'check-traditional-pgp', 'clear-flag', 'collapse-all', 'collapse-parts', \ 'check-traditional-pgp', 'clear-flag', 'collapse-all', 'collapse-parts',
\ 'collapse-thread', 'complete-query', 'complete', 'compose-to-sender', 'copy-file', \ 'collapse-thread', 'complete', 'complete-query', 'compose-to-sender', 'copy-file',
\ 'copy-message', 'create-account', 'create-alias', 'create-mailbox', 'current-bottom', \ 'copy-message', 'create-account', 'create-alias', 'create-mailbox', 'current-bottom',
\ 'current-middle', 'current-top', 'decode-copy', 'decode-save', 'decrypt-copy', \ 'current-middle', 'current-top', 'decode-copy', 'decode-save', 'decrypt-copy',
\ 'decrypt-save', 'delete-account', 'delete-char', 'delete-entry', 'delete-mailbox', \ 'decrypt-save', 'delete', 'delete-account', 'delete-char', 'delete-entry',
\ 'delete-message', 'delete-pattern', 'delete-subthread', 'delete-thread', 'delete', \ 'delete-mailbox', 'delete-message', 'delete-pattern', 'delete-subthread', 'delete-thread',
\ 'descend-directory', 'detach-file', 'display-address', 'display-filename', \ 'descend-directory', 'detach-file', 'display-address', 'display-filename',
\ 'display-message', 'display-toggle-weed', 'downcase-word', 'edit-bcc', 'edit-cc', \ 'display-message', 'display-toggle-weed', 'downcase-word', 'edit', 'edit-bcc', 'edit-cc',
\ 'edit-description', 'edit-encoding', 'edit-fcc', 'edit-file', 'edit-followup-to', \ 'edit-content-id', 'edit-description', 'edit-encoding', 'edit-fcc', 'edit-file',
\ 'edit-from', 'edit-headers', 'edit-label', 'edit-language', 'edit-message', 'edit-mime', \ 'edit-followup-to', 'edit-from', 'edit-headers', 'edit-label', 'edit-language',
\ 'edit-newsgroups', 'edit-or-view-raw-message', 'edit-raw-message', 'edit-reply-to', \ 'edit-message', 'edit-mime', 'edit-newsgroups', 'edit-or-view-raw-message',
\ 'edit-subject', 'edit-to', 'edit-type', 'edit-x-comment-to', 'edit', 'end-cond', \ 'edit-raw-message', 'edit-reply-to', 'edit-subject', 'edit-to', 'edit-type',
\ 'enter-command', 'enter-mask', 'entire-thread', 'eol', 'exit', 'extract-keys', \ 'edit-x-comment-to', 'end-cond', 'enter-command', 'enter-mask', 'entire-thread', 'eol',
\ 'fetch-mail', 'filter-entry', 'first-entry', 'flag-message', 'followup-message', \ 'error-history', 'exit', 'extract-keys', 'fetch-mail', 'filter-entry', 'first-entry',
\ 'forget-passphrase', 'forward-char', 'forward-message', 'forward-to-group', \ 'flag-message', 'followup-message', 'forget-passphrase', 'forward-char',
\ 'forward-word', 'get-attachment', 'get-children', 'get-message', 'get-parent', \ 'forward-message', 'forward-to-group', 'forward-word', 'get-attachment', 'get-children',
\ 'goto-folder', 'goto-parent', 'group-alternatives', 'group-chat-reply', \ 'get-message', 'get-parent', 'goto-folder', 'goto-parent', 'group-alternatives',
\ 'group-multilingual', 'group-reply', 'half-down', 'half-up', 'help', 'history-down', \ 'group-chat-reply', 'group-multilingual', 'group-related', 'group-reply', 'half-down',
\ 'history-search', 'history-up', 'imap-fetch-mail', 'imap-logout-all', 'insert', 'ispell', \ 'half-up', 'help', 'history-down', 'history-search', 'history-up', 'imap-fetch-mail',
\ 'jump', 'kill-eol', 'kill-eow', 'kill-line', 'kill-word', 'last-entry', \ 'imap-logout-all', 'insert', 'ispell', 'jump', 'kill-eol', 'kill-eow', 'kill-line',
\ 'limit-current-thread', 'limit', 'link-threads', 'list-reply', 'mail-key', \ 'kill-word', 'last-entry', 'limit', 'limit-current-thread', 'link-threads', 'list-reply',
\ 'mailbox-cycle', 'mailbox-list', 'mail', 'mark-as-new', 'mark-message', 'middle-page', \ 'list-subscribe', 'list-unsubscribe', 'mail', 'mail-key', 'mailbox-cycle', 'mailbox-list',
\ 'mix', 'modify-labels-then-hide', 'modify-labels', 'modify-tags-then-hide', \ 'mark-as-new', 'mark-message', 'middle-page', 'mix', 'modify-labels',
\ 'modify-tags', 'move-down', 'move-up', 'new-mime', 'next-entry', 'next-line', \ 'modify-labels-then-hide', 'modify-tags', 'modify-tags-then-hide', 'move-down', 'move-up',
\ 'next-new-then-unread', 'next-new', 'next-page', 'next-subthread', 'next-thread', \ 'new-mime', 'next-entry', 'next-line', 'next-new', 'next-new-then-unread', 'next-page',
\ 'next-undeleted', 'next-unread-mailbox', 'next-unread', 'parent-message', 'pgp-menu', \ 'next-subthread', 'next-thread', 'next-undeleted', 'next-unread', 'next-unread-mailbox',
\ 'pipe-entry', 'pipe-message', 'post-message', 'postpone-message', 'previous-entry', \ 'parent-message', 'pgp-menu', 'pipe-entry', 'pipe-message', 'post-message',
\ 'previous-line', 'previous-new-then-unread', 'previous-new', 'previous-page', \ 'postpone-message', 'previous-entry', 'previous-line', 'previous-new',
\ 'previous-subthread', 'previous-thread', 'previous-undeleted', 'previous-unread', \ 'previous-new-then-unread', 'previous-page', 'previous-subthread', 'previous-thread',
\ 'print-entry', 'print-message', 'purge-message', 'purge-thread', 'quasi-delete', \ 'previous-undeleted', 'previous-unread', 'print-entry', 'print-message', 'purge-message',
\ 'query-append', 'query', 'quit', 'quote-char', 'read-subthread', 'read-thread', \ 'purge-thread', 'quasi-delete', 'query', 'query-append', 'quit', 'quote-char',
\ 'recall-message', 'reconstruct-thread', 'redraw-screen', 'refresh', 'reload-active', \ 'read-subthread', 'read-thread', 'recall-message', 'reconstruct-thread', 'redraw-screen',
\ 'rename-attachment', 'rename-file', 'rename-mailbox', 'reply', 'resend-message', \ 'refresh', 'reload-active', 'rename-attachment', 'rename-file', 'rename-mailbox', 'reply',
\ 'root-message', 'save-entry', 'save-message', 'search-next', 'search-opposite', \ 'resend-message', 'root-message', 'save-entry', 'save-message', 'search', 'search-next',
\ 'search-reverse', 'search-toggle', 'search', 'select-entry', 'select-new', \ 'search-opposite', 'search-reverse', 'search-toggle', 'select-entry', 'select-new',
\ 'send-message', 'set-flag', 'shell-escape', 'show-limit', 'show-log-messages', \ 'send-message', 'set-flag', 'shell-escape', 'show-limit', 'show-log-messages',
\ 'show-version', 'sidebar-next-new', 'sidebar-first', 'sidebar-last', 'sidebar-next', \ 'show-version', 'sidebar-first', 'sidebar-last', 'sidebar-next', 'sidebar-next-new',
\ 'sidebar-open', 'sidebar-page-down', 'sidebar-page-up', 'sidebar-prev-new', \ 'sidebar-open', 'sidebar-page-down', 'sidebar-page-up', 'sidebar-prev',
\ 'sidebar-prev', 'sidebar-toggle-virtual', 'sidebar-toggle-visible', 'skip-quoted', \ 'sidebar-prev-new', 'sidebar-toggle-virtual', 'sidebar-toggle-visible', 'skip-headers',
\ 'smime-menu', 'sort-mailbox', 'sort-reverse', 'sort', 'subscribe-pattern', \ 'skip-quoted', 'smime-menu', 'sort', 'sort-alias', 'sort-alias-reverse', 'sort-mailbox',
\ 'sync-mailbox', 'tag-entry', 'tag-message', 'tag-pattern', 'tag-prefix-cond', \ 'sort-reverse', 'subscribe', 'subscribe-pattern', 'sync-mailbox', 'tag-entry',
\ 'tag-prefix', 'tag-subthread', 'tag-thread', 'toggle-active', 'toggle-disposition', \ 'tag-message', 'tag-pattern', 'tag-prefix', 'tag-prefix-cond', 'tag-subthread',
\ 'toggle-mailboxes', 'toggle-new', 'toggle-prefer-encrypt', 'toggle-quoted', \ 'tag-thread', 'toggle-active', 'toggle-disposition', 'toggle-mailboxes', 'toggle-new',
\ 'toggle-read', 'toggle-recode', 'toggle-subscribed', 'toggle-unlink', 'toggle-write', \ 'toggle-prefer-encrypt', 'toggle-quoted', 'toggle-read', 'toggle-recode',
\ 'top-page', 'top', 'transpose-chars', 'uncatchup', 'undelete-entry', 'undelete-message', \ 'toggle-subscribed', 'toggle-unlink', 'toggle-write', 'top', 'top-page',
\ 'undelete-pattern', 'undelete-subthread', 'undelete-thread', 'unsubscribe-pattern', \ 'transpose-chars', 'uncatchup', 'undelete-entry', 'undelete-message', 'undelete-pattern',
\ 'untag-pattern', 'upcase-word', 'update-encoding', 'verify-key', \ 'undelete-subthread', 'undelete-thread', 'ungroup-attachment', 'unsubscribe',
\ 'vfolder-from-query-readonly', 'vfolder-from-query', 'vfolder-window-backward', \ 'unsubscribe-pattern', 'untag-pattern', 'upcase-word', 'update-encoding', 'verify-key',
\ 'vfolder-window-forward', 'view-attachments', 'view-attach', 'view-file', 'view-mailcap', \ 'vfolder-from-query', 'vfolder-from-query-readonly', 'vfolder-window-backward',
\ 'view-name', 'view-raw-message', 'view-text', 'what-key', 'write-fcc' \ 'vfolder-window-forward', 'vfolder-window-reset', 'view-attach', 'view-attachments',
\ 'view-file', 'view-mailcap', 'view-name', 'view-pager', 'view-raw-message', 'view-text',
\ 'what-key', 'write-fcc'
\ ]) \ ])
" Define the default highlighting. " Define the default highlighting.
@ -758,6 +774,7 @@ highlight def link muttrcFolderFormatEscapes muttrcEscape
highlight def link muttrcGroupIndexFormatEscapes muttrcEscape highlight def link muttrcGroupIndexFormatEscapes muttrcEscape
highlight def link muttrcIndexFormatEscapes muttrcEscape highlight def link muttrcIndexFormatEscapes muttrcEscape
highlight def link muttrcMixFormatEscapes muttrcEscape highlight def link muttrcMixFormatEscapes muttrcEscape
highlight def link muttrcPatternFormatEscapes muttrcEscape
highlight def link muttrcPGPCmdFormatEscapes muttrcEscape highlight def link muttrcPGPCmdFormatEscapes muttrcEscape
highlight def link muttrcPGPFormatEscapes muttrcEscape highlight def link muttrcPGPFormatEscapes muttrcEscape
highlight def link muttrcPGPTimeEscapes muttrcEscape highlight def link muttrcPGPTimeEscapes muttrcEscape
@ -774,6 +791,7 @@ highlight def link muttrcComposeFormatConditionals muttrcFormatConditionals2
highlight def link muttrcFolderFormatConditionals muttrcFormatConditionals2 highlight def link muttrcFolderFormatConditionals muttrcFormatConditionals2
highlight def link muttrcIndexFormatConditionals muttrcFormatConditionals2 highlight def link muttrcIndexFormatConditionals muttrcFormatConditionals2
highlight def link muttrcMixFormatConditionals muttrcFormatConditionals2 highlight def link muttrcMixFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPatternFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPGPCmdFormatConditionals muttrcFormatConditionals2 highlight def link muttrcPGPCmdFormatConditionals muttrcFormatConditionals2
highlight def link muttrcPGPFormatConditionals muttrcFormatConditionals2 highlight def link muttrcPGPFormatConditionals muttrcFormatConditionals2
highlight def link muttrcSmimeFormatConditionals muttrcFormatConditionals2 highlight def link muttrcSmimeFormatConditionals muttrcFormatConditionals2
@ -789,6 +807,7 @@ highlight def link muttrcFolderFormatStr muttrcString
highlight def link muttrcGroupIndexFormatStr muttrcString highlight def link muttrcGroupIndexFormatStr muttrcString
highlight def link muttrcIndexFormatStr muttrcString highlight def link muttrcIndexFormatStr muttrcString
highlight def link muttrcMixFormatStr muttrcString highlight def link muttrcMixFormatStr muttrcString
highlight def link muttrcPatternFormatStr muttrcString
highlight def link muttrcPGPCmdFormatStr muttrcString highlight def link muttrcPGPCmdFormatStr muttrcString
highlight def link muttrcPGPFormatStr muttrcString highlight def link muttrcPGPFormatStr muttrcString
highlight def link muttrcQueryFormatStr muttrcString highlight def link muttrcQueryFormatStr muttrcString

View File

@ -1,9 +1,10 @@
" Vim syntax file " Vim syntax file
" Language: SML " Language: SML
" Filenames: *.sml *.sig " Filenames: *.sml *.sig
" Maintainers: Markus Mottl <markus.mottl@gmail.com> " Maintainer: Markus Mottl <markus.mottl@gmail.com>
" Fabrizio Zeno Cornelli <zeno@filibusta.crema.unimi.it> " Previous Maintainer: Fabrizio Zeno Cornelli
" Last Change: 2021 Oct 04 " <zeno@filibusta.crema.unimi.it> (invalid)
" Last Change: 2022 Apr 01
" 2015 Aug 31 - Fixed opening of modules (Ramana Kumar) " 2015 Aug 31 - Fixed opening of modules (Ramana Kumar)
" 2006 Oct 23 - Fixed character highlighting bug (MM) " 2006 Oct 23 - Fixed character highlighting bug (MM)

View File

@ -1,8 +1,8 @@
" Vim syntax file " Vim syntax file
" Language: Vim 8.2 script " Language: Vim 8.2 script
" Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM> " Maintainer: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
" Last Change: March 14, 2022 " Last Change: April 08, 2022
" Version: 8.2-29 " Version: 8.2-33
" URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM " URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_VIM
" Automatically generated keyword lists: {{{1 " Automatically generated keyword lists: {{{1
@ -30,14 +30,14 @@ syn match vimCommand contained "\<z[-+^.=]\=\>"
syn keyword vimStdPlugin contained Arguments Asm Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns syn keyword vimStdPlugin contained Arguments Asm Break Cfilter Clear Continue DiffOrig Evaluate Finish Gdb Lfilter Man N[ext] Over P[rint] Program Run S Source Step Stop Termdebug TermdebugCommand TOhtml Winbar XMLent XMLns
" vimOptions are caught only when contained in a vimSet {{{2 " vimOptions are caught only when contained in a vimSet {{{2
syn keyword vimOption contained acd ambw arshape aw backupskip beval bk bri bufhidden cdh ci cinwords cocu complete copyindent cryptmethod csl cuc debug dictionary display ef endofline esckeys fdc fdt fileencoding fixeol foldcolumn foldminlines fp gfn grepprg guiligatures hf hkmap icon imc imsf inde is isprint kmp lbr listchars lsp makeencoding maxmem mh mmp more mouseshape mzschemedll odev pa path pheader previewheight printmbcharset pvp pyxversion redrawtime ri rs sb scroll sections shcf shelltype showbreak sidescroll smartindent sp spf srr statusline sw sxq tabstop tags tbs termguicolors textmode thesaurusfunc titlestring tpm ttimeoutlen ttyscroll tx undolevels vartabstop vfile virtualedit warn wfh wildchar wim winminheight wmh write syn keyword vimOption contained acd ambw arshape aw backupskip beval bk bri bufhidden cdh ci cinsd cms commentstring conceallevel cpt cscopetagorder csto cursorlineopt dg dir ed enc errorfile fcl fdn ffs fillchars fo foldmarker formatoptions gdefault gp guifontwide helpheight history hlsearch imaf ims includeexpr infercase iskeyword keywordprg laststatus lispwords lrm magic maxfuncdepth menuitems mm modifiable mousemev mps nu opendevice paste pex pmbfn printencoding pt pythonhome quoteescape renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmode sj sn spellfile spo st su swf ta taglength tbis termguicolors textmode thesaurusfunc titlestring tpm ttimeoutlen ttyscroll tx undolevels vartabstop vfile virtualedit warn wfh wildchar wim winminheight wmh write
syn keyword vimOption contained ai anti asd awa balloondelay bevalterm bkc briopt buflisted cdhome cin clipboard cole completefunc cot cscopepathcomp cspc cul deco diff dy efm eol et fde fen fileencodings fk foldenable foldnestmax fs gfs gtl guioptions hh hkmapp iconstring imcmdline imst indentexpr isf joinspaces kp lcs lm luadll makeprg maxmempattern mis mmt mouse mouset mzschemegcdll oft packpath pdev pi previewpopup printmbfont pvw qe regexpengine rightleft rtp sbo scrollbind secure shell shellxescape showcmd sidescrolloff smarttab spc spl ss stl swapfile syn tag tagstack tc termwinkey textwidth tildeop tl tr ttm ttytype uc undoreload vb vi visualbell wb wfw wildcharm winaltkeys winminwidth wmnu writeany syn keyword vimOption contained ai anti asd awa balloondelay bevalterm bkc briopt buflisted cdhome cin cinw co compatible confirm crb cscopeverbose csverb cwh dict directory edcompatible encoding errorformat fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepformat guiheadroom helplang hk ic imak imsearch incsearch insertmode isp km lazyredraw list ls makeef maxmapdepth mfd mmd modified mousemodel msm number operatorfunc pastetoggle pexpr popt printexpr pumheight pythonthreedll rdt report rnu ruler scf scrollopt sessionoptions shellredir shm showtabline slm so spelllang spr sta sua switchbuf tabline tagrelative tbs termwinkey textwidth tildeop tl tr ttm ttytype uc undoreload vb vi visualbell wb wfw wildcharm winaltkeys winminwidth wmnu writeany
syn keyword vimOption contained akm antialias autochdir background ballooneval bex bl brk buftype cdpath cindent cm colorcolumn completeopt cp cscopeprg csprg culopt def diffexpr ea ei ep eventignore fdi fenc fileformat fkmap foldexpr foldopen fsync gfw gtt guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js langmap linebreak lmap lw mat maxmemtot mkspellmem mod mousef mousetime nf ofu para penc pm previewwindow printoptions pw qftf relativenumber rightleftcmd ru sbr scrollfocus sel shellcmdflag shellxquote showfulltag signcolumn smc spell splitbelow ssl stmp swapsync synmaxcol tagbsearch tal tcldll termwinscroll tf timeout tm ts tty tw udf updatecount vbs viewdir vop wc wh wildignore wincolor winptydll wmw writebackup syn keyword vimOption contained akm antialias autochdir background ballooneval bex bl brk buftype cdpath cindent cinwords cocu complete copyindent cryptmethod csl cuc debug dictionary display ef endofline esckeys fdc fdt fileencoding fixeol foldcolumn foldminlines fp gfn grepprg guiligatures hf hkmap icon imc imsf inde is isprint kmp lbr listchars lsp makeencoding maxmem mh mmp more mousemoveevent mzq numberwidth opfunc patchexpr pfn pp printfont pumwidth pythonthreehome re restorescreen ro rulerformat scl scs sft shellslash shortmess shq sm softtabstop spelloptions sps stal suffixes sws tabpagemax tags tc termwinscroll tf timeout tm ts tty tw udf updatecount vbs viewdir vop wc wh wildignore wincolor winptydll wmw writebackup
syn keyword vimOption contained al ar autoindent backspace balloonevalterm bexpr bo browsedir casemap cedit cink cmdheight columns completepopup cpo cscopequickfix csqf cursorbind define diffopt ead ek equalalways ex fdl fencs fileformats flp foldignore foldtext ft ghr guicursor guitablabel hid hl im imdisable imstyle indk isi key langmenu lines lnr lz matchpairs mco ml modeline mousefocus mp nrformats omnifunc paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc remap rl rubydll sc scrolljump selection shellpipe shiftround showmatch siso smd spellcapcheck splitright ssop sts swb syntax tagcase tb tenc termwinsize tfu timeoutlen to tsl ttybuiltin twk udir updatetime vdir viewoptions vsts wcm whichwrap wildignorecase window winwidth wop writedelay syn keyword vimOption contained al ar autoindent backspace balloonevalterm bexpr bo browsedir casemap cedit cink clipboard cole completefunc cot cscopepathcomp cspc cul deco diff dy efm eol et fde fen fileencodings fk foldenable foldnestmax fs gfs gtl guioptions hh hkmapp iconstring imcmdline imst indentexpr isf joinspaces kp lcs lm luadll makeprg maxmempattern mis mmt mouse mouses mzquantum nuw osfiletype patchmode ph preserveindent printheader pvh pyx readonly revins rop runtimepath scr sect sh shelltemp shortname si smartcase sol spellsuggest sr startofline suffixesadd sxe tabstop tagstack tcldll termwinsize tfu timeoutlen to tsl ttybuiltin twk udir updatetime vdir viewoptions vsts wcm whichwrap wildignorecase window winwidth wop writedelay
syn keyword vimOption contained aleph arab autoread backup balloonexpr bg bomb bs cb cf cinkeys cmdwinheight com completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph eadirection emo equalprg expandtab fdls fex fileignorecase fml foldlevel formatexpr gcr gli guifont guitabtooltip hidden hlg imactivatefunc imi inc inex isident keymap langnoremap linespace loadplugins ma matchtime mef mle modelineexpr mousehide mps nu opendevice paste pex pmbfn printencoding pt pythonhome quoteescape renderoptions rlc ruf scb scrolloff selectmode shellquote shiftwidth showmode sj sn spellfile spo st su swf ta tagfunc tbi term termwintype tgc title toolbar tsr ttyfast tws ul ur ve vif vts wcr wi wildmenu winfixheight wiv wrap ws syn keyword vimOption contained aleph arab autoread backup balloonexpr bg bomb bs cb cf cinkeys cm colorcolumn completeopt cp cscopeprg csprg culopt def diffexpr ea ei ep eventignore fdi fenc fileformat fkmap foldexpr foldopen fsync gfw gtt guipty hi hkp ignorecase imd imstatusfunc indentkeys isfname js langmap linebreak lmap lw mat maxmemtot mkspellmem mod mousef mouseshape mzschemedll odev pa path pheader previewheight printmbcharset pvp pyxversion redrawtime ri rs sb scroll sections shcf shelltype showbreak sidescroll smartindent sp spf srr statusline sw sxq tag tal tenc termwintype tgc title toolbar tsr ttyfast tws ul ur ve vif vts wcr wi wildmenu winfixheight wiv wrap ws
syn keyword vimOption contained allowrevins arabic autoshelldir backupcopy bdir bh breakat bsdir cc cfu cino cmp comments concealcursor cpp cscopetag cst cursorline dex dip eb emoji errorbells exrc fdm ff filetype fmr foldlevelstart formatlistpat gd go guifontset helpfile highlight hls imactivatekey iminsert include inf isk keymodel langremap lisp lpl macatsui maxcombine menc mls modelines mousem msm number operatorfunc pastetoggle pexpr popt printexpr pumheight pythonthreedll rdt report rnu ruler scf scrollopt sessionoptions shellredir shm showtabline slm so spelllang spr sta sua switchbuf tabline taglength tbidi termbidi terse tgst titlelen toolbariconsize tsrfu ttym twsl undodir ut verbose viminfo wa wd wic wildmode winfixwidth wiw wrapmargin ww syn keyword vimOption contained allowrevins arabic autoshelldir backupcopy bdir bh breakat bsdir cc cfu cino cmdheight columns completepopup cpo cscopequickfix csqf cursorbind define diffopt ead ek equalalways ex fdl fencs fileformats flp foldignore foldtext ft ghr guicursor guitablabel hid hl im imdisable imstyle indk isi key langmenu lines lnr lz matchpairs mco ml modeline mousefocus mouset mzschemegcdll oft packpath pdev pi previewpopup printmbfont pvw qe regexpengine rightleft rtp sbo scrollbind secure shell shellxescape showcmd sidescrolloff smarttab spc spl ss stl swapfile syn tagbsearch tb term terse tgst titlelen toolbariconsize tsrfu ttym twsl undodir ut verbose viminfo wa wd wic wildmode winfixwidth wiw wrapmargin ww
syn keyword vimOption contained altkeymap arabicshape autowrite backupdir bdlay bin breakindent bsk ccv ch cinoptions cms commentstring conceallevel cpt cscopetagorder csto cursorlineopt dg dir ed enc errorfile fcl fdn ffs fillchars fo foldmarker formatoptions gdefault gp guifontwide helpheight history hlsearch imaf ims includeexpr infercase iskeyword keywordprg laststatus lispwords lrm magic maxfuncdepth menuitems mm modifiable mousemodel mzq numberwidth opfunc patchexpr pfn pp printfont pumwidth pythonthreehome re restorescreen ro rulerformat scl scs sft shellslash shortmess shq sm softtabstop spelloptions sps stal suffixes sws tabpagemax tagrelative tbis termencoding textauto thesaurus titleold top ttimeout ttymouse twt undofile varsofttabstop verbosefile viminfofile wak weirdinvert wig wildoptions winheight wm wrapscan xtermcodes syn keyword vimOption contained altkeymap arabicshape autowrite backupdir bdlay bin breakindent bsk ccv ch cinoptions cmdwinheight com completeslash cpoptions cscoperelative csre cursorcolumn delcombine digraph eadirection emo equalprg expandtab fdls fex fileignorecase fml foldlevel formatexpr gcr gli guifont guitabtooltip hidden hlg imactivatefunc imi inc inex isident keymap langnoremap linespace loadplugins ma matchtime mef mle modelineexpr mousehide mousetime nf ofu para penc pm previewwindow printoptions pw qftf relativenumber rightleftcmd ru sbr scrollfocus sel shellcmdflag shellxquote showfulltag signcolumn smc spell splitbelow ssl stmp swapsync synmaxcol tagcase tbi termbidi textauto thesaurus titleold top ttimeout ttymouse twt undofile varsofttabstop verbosefile viminfofile wak weirdinvert wig wildoptions winheight wm wrapscan xtermcodes
syn keyword vimOption contained ambiwidth ari autowriteall backupext belloff binary breakindentopt bt cd charconvert cinw co compatible confirm crb cscopeverbose csverb cwh dict directory edcompatible encoding errorformat fcs fdo fic fixendofline foldclose foldmethod formatprg gfm grepformat guiheadroom helplang hk ic imak imsearch incsearch insertmode isp km lazyredraw list ls makeef maxmapdepth mfd mmd modified mouses mzquantum nuw osfiletype patchmode ph preserveindent printheader pvh pyx readonly revins rop runtimepath scr sect sh shelltemp shortname si smartcase sol spellsuggest sr startofline suffixesadd sxe syn keyword vimOption contained ambiwidth ari autowriteall backupext belloff binary breakindentopt bt cd charconvert cinscopedecls cmp comments concealcursor cpp cscopetag cst cursorline dex dip eb emoji errorbells exrc fdm ff filetype fmr foldlevelstart formatlistpat gd go guifontset helpfile highlight hls imactivatekey iminsert include inf isk keymodel langremap lisp lpl macatsui maxcombine menc mls modelines mousem mp nrformats omnifunc paragraphs perldll pmbcs printdevice prompt pythondll quickfixtextfunc remap rl rubydll sc scrolljump selection shellpipe shiftround showmatch siso smd spellcapcheck splitright ssop sts swb syntax tagfunc tbidi termencoding
" vimOptions: These are the turn-off setting variants {{{2 " vimOptions: These are the turn-off setting variants {{{2
syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoindent noautowrite noawa noballoonevalterm nobin nobl nobri noci nocompatible nocp nocscopetag nocst nocul nocursorline nodg noea noedcompatible noemoji noequalalways noet noexrc nofileignorecase nofk nofs nogdefault nohidden nohkmapp nohlsearch noignorecase noimcmdline noincsearch noinsertmode nojs nolazyredraw nolisp noloadplugins nolz nomagic nomle nomodelineexpr nomore nomousefocus nonu noodev nopaste nopreserveindent noprompt noreadonly noremap norevins norightleft nornu nors noruler nosc noscf noscrollfocus nosecure noshellslash noshiftround noshowcmd noshowmatch nosi nosmartcase nosmarttab nosn nospell nosplitright nosr nosta nostmp noswf notagbsearch notagstack notbidi notermbidi notextauto notf notildeop notitle notop nottimeout nottyfast noudf novb nowa nowb nowfh nowic nowildmenu nowinfixwidth nowmnu nowrapscan nowriteany nows syn keyword vimOption contained noacd noallowrevins noantialias noarabic noarshape noautoindent noautowrite noawa noballoonevalterm nobin nobl nobri noci nocompatible nocp nocscopetag nocst nocul nocursorline nodg noea noedcompatible noemoji noequalalways noet noexrc nofileignorecase nofk nofs nogdefault nohidden nohkmapp nohlsearch noignorecase noimcmdline noincsearch noinsertmode nojs nolazyredraw nolisp noloadplugins nolz nomagic nomle nomodelineexpr nomore nomousefocus nonu noodev nopaste nopreserveindent noprompt noreadonly noremap norevins norightleft nornu nors noruler nosc noscf noscrollfocus nosecure noshellslash noshiftround noshowcmd noshowmatch nosi nosmartcase nosmarttab nosn nospell nosplitright nosr nosta nostmp noswf notagbsearch notagstack notbidi notermbidi notextauto notf notildeop notitle notop nottimeout nottyfast noudf novb nowa nowb nowfh nowic nowildmenu nowinfixwidth nowmnu nowrapscan nowriteany nows
@ -67,8 +67,8 @@ syn keyword vimErrSetting contained bioskey biosk conskey consk autoprint beauti
" AutoCmd Events {{{2 " AutoCmd Events {{{2
syn case ignore syn case ignore
syn keyword vimAutoEvent contained BufAdd BufDelete BufFilePost BufHidden BufNew BufRead BufReadPost BufUnload BufWinLeave BufWrite BufWritePost CmdlineChanged CmdlineLeave CmdwinEnter ColorScheme CompleteChanged CompleteDone CompleteDonePre CursorHold CursorHoldI CursorMoved CursorMovedI DiffUpdated DirChanged DirChangedPre EncodingChanged ExitPre FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileChangedShellPost FileEncoding FileExplorer FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter GUIFailed InsertChange InsertCharPre InsertEnter InsertLeave InsertLeavePre MenuPopup ModeChanged OptionSet QuickFixCmdPost QuickFixCmdPre QuitPre RemoteReply SafeState SafeStateAgain SessionLoadPost ShellCmdPost ShellFilterPost SigUSR1 SourceCmd SourcePost SourcePre SpellFileMissing StdinReadPost StdinReadPre SwapExists Syntax TabClosed TabEnter TabLeave TabNew TermChanged TerminalOpen TerminalWinOpen TermResponse TextChanged TextChangedI TextChangedP TextYankPost User VimEnter VimLeave VimLeavePre VimResized VimResume VimSuspend WinClosed WinEnter WinLeave WinNew syn keyword vimAutoEvent contained BufAdd BufDelete BufFilePost BufHidden BufNew BufRead BufReadPost BufUnload BufWinLeave BufWrite BufWritePost CmdlineChanged CmdlineLeave CmdwinEnter ColorScheme CompleteChanged CompleteDonePre CursorHold CursorHoldI CursorMoved CursorMovedI DiffUpdated DirChanged DirChangedPre EncodingChanged ExitPre FileAppendCmd FileAppendPost FileAppendPre FileChangedRO FileChangedShell FileChangedShellPost FileEncoding FileExplorer FileReadCmd FileReadPost FileReadPre FileType FileWriteCmd FileWritePost FileWritePre FilterReadPost FilterReadPre FilterWritePost FilterWritePre FocusGained FocusLost FuncUndefined GUIEnter GUIFailed InsertChange InsertCharPre InsertEnter InsertLeave InsertLeavePre MenuPopup ModeChanged OptionSet QuickFixCmdPost QuickFixCmdPre QuitPre RemoteReply SafeState SafeStateAgain SessionLoadPost ShellCmdPost ShellFilterPost SigUSR1 SourceCmd SourcePost SourcePre SpellFileMissing StdinReadPost StdinReadPre SwapExists Syntax TabClosed TabEnter TabLeave TabNew TermChanged TerminalOpen TerminalWinOpen TermResponse TextChanged TextChangedI TextChangedP TextYankPost User VimEnter VimLeave VimLeavePre VimResized VimResume VimSuspend WinClosed WinEnter WinLeave WinNew WinScrolled
syn keyword vimAutoEvent contained BufCreate BufEnter BufFilePre BufLeave BufNewFile BufReadCmd BufReadPre BufWinEnter BufWipeout BufWriteCmd BufWritePre CmdlineEnter CmdUndefined CmdwinLeave ColorSchemePre syn keyword vimAutoEvent contained BufCreate BufEnter BufFilePre BufLeave BufNewFile BufReadCmd BufReadPre BufWinEnter BufWipeout BufWriteCmd BufWritePre CmdlineEnter CmdUndefined CmdwinLeave ColorSchemePre CompleteDone
" Highlight commonly used Groupnames {{{2 " Highlight commonly used Groupnames {{{2
syn keyword vimGroup contained Comment Constant String Character Number Boolean Float Identifier Function Statement Conditional Repeat Label Operator Keyword Exception PreProc Include Define Macro PreCondit Type StorageClass Structure Typedef Special SpecialChar Tag Delimiter SpecialComment Debug Underlined Ignore Error Todo syn keyword vimGroup contained Comment Constant String Character Number Boolean Float Identifier Function Statement Conditional Repeat Label Operator Keyword Exception PreProc Include Define Macro PreCondit Type StorageClass Structure Typedef Special SpecialChar Tag Delimiter SpecialComment Debug Underlined Ignore Error Todo
@ -230,7 +230,7 @@ syn keyword vimAugroupKey contained aug[roup]
" Operators: {{{2 " Operators: {{{2
" ========= " =========
syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimType,vimRegister,vimContinue,vim9Comment syn cluster vimOperGroup contains=vimEnvvar,vimFunc,vimFuncVar,vimOper,vimOperParen,vimNumber,vimString,vimType,vimRegister,vimContinue,vim9Comment,vimVar
syn match vimOper "||\|&&\|[-+.!]" skipwhite nextgroup=vimString,vimSpecFile syn match vimOper "||\|&&\|[-+.!]" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\|!\~#\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile syn match vimOper "\%#=1\(==\|!=\|>=\|<=\|=\~\|!\~\|>\|<\|=\|!\~#\)[?#]\{0,2}" skipwhite nextgroup=vimString,vimSpecFile
syn match vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>" skipwhite nextgroup=vimString,vimSpecFile syn match vimOper "\(\<is\|\<isnot\)[?#]\{0,2}\>" skipwhite nextgroup=vimString,vimSpecFile
@ -465,8 +465,9 @@ syn case match
" User Function Highlighting: {{{2 " User Function Highlighting: {{{2
" (following Gautam Iyer's suggestion) " (following Gautam Iyer's suggestion)
" ========================== " ==========================
syn match vimFunc "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\ze\s*(" contains=vimFuncName,vimUserFunc,vimExecute syn match vimFunc "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\ze\s*(" contains=vimCommand,vimFuncEcho,vimFuncName,vimUserFunc,vimExecute
syn match vimUserFunc contained "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\|\<\u[a-zA-Z0-9.]*\>\|\<if\>" contains=vimNotation syn match vimUserFunc contained "\%(\%([sSgGbBwWtTlL]:\|<[sS][iI][dD]>\)\=\%(\w\+\.\)*\I[a-zA-Z0-9_.]*\)\|\<\u[a-zA-Z0-9.]*\>\|\<if\>" contains=vimCommand,vimNotation
syn keyword vimFuncEcho contained ec ech echo
" User Command Highlighting: {{{2 " User Command Highlighting: {{{2
"syn match vimUsrCmd '^\s*\zs\u\w*.*$' "syn match vimUsrCmd '^\s*\zs\u\w*.*$'
@ -898,6 +899,7 @@ if !exists("skip_vim_syntax_inits")
hi def link vimError Error hi def link vimError Error
hi def link vimFBVar vimVar hi def link vimFBVar vimVar
hi def link vimFgBgAttrib vimHiAttrib hi def link vimFgBgAttrib vimHiAttrib
hi def link vimFuncEcho vimCommand
hi def link vimHiCtermul vimHiTerm hi def link vimHiCtermul vimHiTerm
hi def link vimFold Folded hi def link vimFold Folded
hi def link vimFTCmd vimCommand hi def link vimFTCmd vimCommand

File diff suppressed because it is too large Load Diff