mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:partial:a2baa73d1d33 (#17675)
Update runtime files.
a2baa73d1d
Cherry-pick tabpage.txt changes from patch 8.2.1413.
Skip digraph functions: included in #17440.
Skip many error codes as they haven't been ported yet.
This commit is contained in:
parent
84af45f59f
commit
d4982e152c
@ -6880,12 +6880,14 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()*
|
|||||||
filename name of a file; only used when "bufnr" is not
|
filename name of a file; only used when "bufnr" is not
|
||||||
present or it is invalid.
|
present or it is invalid.
|
||||||
module name of a module; if given it will be used in
|
module name of a module; if given it will be used in
|
||||||
quickfix error window instead of the filename
|
quickfix error window instead of the filename.
|
||||||
lnum line number in the file
|
lnum line number in the file
|
||||||
|
end_lnum end of lines, if the item spans multiple lines
|
||||||
pattern search pattern used to locate the error
|
pattern search pattern used to locate the error
|
||||||
col column number
|
col column number
|
||||||
vcol when non-zero: "col" is visual column
|
vcol when non-zero: "col" is visual column
|
||||||
when zero: "col" is byte index
|
when zero: "col" is byte index
|
||||||
|
end_col end column, if the item spans multiple columns
|
||||||
nr error number
|
nr error number
|
||||||
text description of the error
|
text description of the error
|
||||||
type single-character error type, 'E', 'W', etc.
|
type single-character error type, 'E', 'W', etc.
|
||||||
|
@ -1018,7 +1018,7 @@ inside of strings can change! Also see 'softtabstop' option. >
|
|||||||
in [range] (default: current line |cmdline-ranges|),
|
in [range] (default: current line |cmdline-ranges|),
|
||||||
[into register x].
|
[into register x].
|
||||||
|
|
||||||
*p* *put* *E353*
|
*p* *put* *E353* *E1240*
|
||||||
["x]p Put the text [from register x] after the cursor
|
["x]p Put the text [from register x] after the cursor
|
||||||
[count] times.
|
[count] times.
|
||||||
|
|
||||||
|
@ -679,7 +679,7 @@ If more line specifiers are given than required for the command, the first
|
|||||||
one(s) will be ignored.
|
one(s) will be ignored.
|
||||||
|
|
||||||
Line numbers may be specified with: *:range* *{address}*
|
Line numbers may be specified with: *:range* *{address}*
|
||||||
{number} an absolute line number
|
{number} an absolute line number *E1247*
|
||||||
. the current line *:.*
|
. the current line *:.*
|
||||||
$ the last line in the file *:$*
|
$ the last line in the file *:$*
|
||||||
% equal to 1,$ (the entire file) *:%*
|
% equal to 1,$ (the entire file) *:%*
|
||||||
|
@ -1575,10 +1575,8 @@ There are three different types of searching:
|
|||||||
/u/user_x/include
|
/u/user_x/include
|
||||||
|
|
||||||
< Note: If your 'path' setting includes a non-existing directory, Vim will
|
< Note: If your 'path' setting includes a non-existing directory, Vim will
|
||||||
skip the non-existing directory, but continues searching in the parent of
|
skip the non-existing directory, and also does not search in the parent of
|
||||||
the non-existing directory if upwards searching is used. E.g. when
|
the non-existing directory if upwards searching is used.
|
||||||
searching "../include" and that doesn't exist, and upward searching is
|
|
||||||
used, also searches in "..".
|
|
||||||
|
|
||||||
3) Combined up/downward search:
|
3) Combined up/downward search:
|
||||||
If Vim's current path is /u/user_x/work/release and you do >
|
If Vim's current path is /u/user_x/work/release and you do >
|
||||||
|
@ -140,6 +140,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|
|
||||||
|
*.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|
|
||||||
*.inc g:filetype_inc
|
*.inc g:filetype_inc
|
||||||
|
@ -188,7 +188,8 @@ A syntax group name doesn't specify any color or attributes itself.
|
|||||||
|
|
||||||
The name for a highlight or syntax group must consist of ASCII letters, digits
|
The name for a highlight or syntax group must consist of ASCII letters, digits
|
||||||
and the underscore. As a regexp: "[a-zA-Z0-9_]*". However, Vim does not give
|
and the underscore. As a regexp: "[a-zA-Z0-9_]*". However, Vim does not give
|
||||||
an error when using other characters.
|
an error when using other characters. The maxium length of a group name is
|
||||||
|
about 200 bytes. *E1249*
|
||||||
|
|
||||||
To be able to allow each user to pick their favorite set of colors, there must
|
To be able to allow each user to pick their favorite set of colors, there must
|
||||||
be preferred names for highlight groups that are common for many languages.
|
be preferred names for highlight groups that are common for many languages.
|
||||||
@ -1500,6 +1501,14 @@ The enhanced mode also takes advantage of additional color features for a dark
|
|||||||
gvim display. Here, statements are colored LightYellow instead of Yellow, and
|
gvim display. Here, statements are colored LightYellow instead of Yellow, and
|
||||||
conditionals are LightBlue for better distinction.
|
conditionals are LightBlue for better distinction.
|
||||||
|
|
||||||
|
Both Visual Basic and FORM use the extension ".frm". To detect which one
|
||||||
|
should be used, Vim checks for the string "VB_Name" in the first five lines of
|
||||||
|
the file. If it is found, filetype will be "vb", otherwise "form".
|
||||||
|
|
||||||
|
If the automatic detection doesn't work for you or you only edit, for
|
||||||
|
example, FORM files, use this in your startup vimrc: >
|
||||||
|
:let filetype_frm = "form"
|
||||||
|
|
||||||
|
|
||||||
FORTH *forth.vim* *ft-forth-syntax*
|
FORTH *forth.vim* *ft-forth-syntax*
|
||||||
|
|
||||||
|
@ -133,7 +133,10 @@ something else.
|
|||||||
:tabclose + " close the next tab page
|
:tabclose + " close the next tab page
|
||||||
:tabclose 3 " close the third tab page
|
:tabclose 3 " close the third tab page
|
||||||
:tabclose $ " close the last tab page
|
:tabclose $ " close the last tab page
|
||||||
<
|
:tabclose # " close the last accessed tab page
|
||||||
|
|
||||||
|
When a tab is closed the next tab page will become the current one.
|
||||||
|
|
||||||
*:tabo* *:tabonly*
|
*:tabo* *:tabonly*
|
||||||
:tabo[nly][!] Close all other tab pages.
|
:tabo[nly][!] Close all other tab pages.
|
||||||
When the 'hidden' option is set, all buffers in closed windows
|
When the 'hidden' option is set, all buffers in closed windows
|
||||||
@ -159,6 +162,8 @@ something else.
|
|||||||
" one
|
" one
|
||||||
:tabonly 1 " close all tab pages except the first one
|
:tabonly 1 " close all tab pages except the first one
|
||||||
:tabonly $ " close all tab pages except the last one
|
:tabonly $ " close all tab pages except the last one
|
||||||
|
:tabonly # " close all tab pages except the last
|
||||||
|
" accessed one
|
||||||
|
|
||||||
|
|
||||||
SWITCHING TO ANOTHER TAB PAGE:
|
SWITCHING TO ANOTHER TAB PAGE:
|
||||||
@ -181,6 +186,7 @@ gt *i_CTRL-<PageDown>* *i_<C-PageDown>*
|
|||||||
:+2tabnext " go to the two next tab page
|
:+2tabnext " go to the two next tab page
|
||||||
:1tabnext " go to the first tab page
|
:1tabnext " go to the first tab page
|
||||||
:$tabnext " go to the last tab page
|
:$tabnext " go to the last tab page
|
||||||
|
:tabnext # " go to the last accessed tab page
|
||||||
:tabnext $ " as above
|
:tabnext $ " as above
|
||||||
:tabnext - " go to the previous tab page
|
:tabnext - " go to the previous tab page
|
||||||
:tabnext -1 " as above
|
:tabnext -1 " as above
|
||||||
@ -245,6 +251,8 @@ REORDERING TAB PAGES:
|
|||||||
:tabmove " move the tab page to the last
|
:tabmove " move the tab page to the last
|
||||||
:$tabmove " as above
|
:$tabmove " as above
|
||||||
:tabmove $ " as above
|
:tabmove $ " as above
|
||||||
|
:tabmove # " move the tab page after the last accessed
|
||||||
|
" tab page
|
||||||
|
|
||||||
:tabm[ove] +[N]
|
:tabm[ove] +[N]
|
||||||
:tabm[ove] -[N]
|
:tabm[ove] -[N]
|
||||||
|
Loading…
Reference in New Issue
Block a user