1
0
forked from aniani/vim

patch 9.1.0849: there are a few typos in the source

Problem:  there are a few typos in the source.
Solution: Correct typos (zeertzjq).

closes: #16026

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-11-10 20:26:12 +01:00
committed by Christian Brabandt
parent 5b63b236a0
commit 7c5152826f
9 changed files with 18 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
# TODO: to think about what to use instead of awk. PowerShell? # TODO: to think about what to use instead of awk. PowerShell?
#AWK = #AWK =
# Correct the following line for the where executeable file vim is installed. # Correct the following line for the where executable file vim is installed.
# Please do not put the path in quotes. # Please do not put the path in quotes.
VIMPROG = D:\Programs\Vim\vim91\vim.exe VIMPROG = D:\Programs\Vim\vim91\vim.exe

View File

@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2024 Nov 09 *builtin.txt* For Vim version 9.1. Last change: 2024 Nov 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -467,9 +467,9 @@ prop_type_get({name} [, {props}])
prop_type_list([{props}]) List get list of property types prop_type_list([{props}]) List get list of property types
pum_getpos() Dict position and size of pum if visible pum_getpos() Dict position and size of pum if visible
pumvisible() Number whether popup menu is visible pumvisible() Number whether popup menu is visible
py3eval({expr}[, {locals}]) any evaluate |python3| expression py3eval({expr} [, {locals}]) any evaluate |python3| expression
pyeval({expr}[, {locals}]) any evaluate |Python| expression pyeval({expr} [, {locals}]) any evaluate |Python| expression
pyxeval({expr}[, {locals}]) any evaluate |python_x| expression pyxeval({expr} [, {locals}]) any evaluate |python_x| expression
rand([{expr}]) Number get pseudo-random number rand([{expr}]) Number get pseudo-random number
range({expr} [, {max} [, {stride}]]) range({expr} [, {max} [, {stride}]])
List items from {expr} to {max} List items from {expr} to {max}
@@ -8127,7 +8127,7 @@ pumvisible() *pumvisible()*
Return type: |Number| Return type: |Number|
py3eval({expr}[, {locals}]) *py3eval()* py3eval({expr} [, {locals}]) *py3eval()*
Evaluate Python expression {expr} and return its result Evaluate Python expression {expr} and return its result
converted to Vim data structures. converted to Vim data structures.
If a {locals} |Dictionary| is given, it defines set of local If a {locals} |Dictionary| is given, it defines set of local
@@ -8153,7 +8153,7 @@ py3eval({expr}[, {locals}]) *py3eval()*
{only available when compiled with the |+python3| feature} {only available when compiled with the |+python3| feature}
*E858* *E859* *E858* *E859*
pyeval({expr}[, {locals}]) *pyeval()* pyeval({expr} [, {locals}]) *pyeval()*
Evaluate Python expression {expr} and return its result Evaluate Python expression {expr} and return its result
converted to Vim data structures. converted to Vim data structures.
For {locals} see |py3eval()|. For {locals} see |py3eval()|.
@@ -8172,7 +8172,7 @@ pyeval({expr}[, {locals}]) *pyeval()*
{only available when compiled with the |+python| feature} {only available when compiled with the |+python| feature}
pyxeval({expr}[, {locals}]) *pyxeval()* pyxeval({expr} [, {locals}]) *pyxeval()*
Evaluate Python expression {expr} and return its result Evaluate Python expression {expr} and return its result
converted to Vim data structures. converted to Vim data structures.
For {locals} see |py3eval()|. For {locals} see |py3eval()|.

View File

@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 07 *quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -361,7 +361,7 @@ processing a quickfix or location list command, it will be aborted.
Example: > Example: >
:g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".") :g/mypattern/caddexpr expand("%") .. ":" .. line(".") .. ":" .. getline(".")
< <
*:lad* *:addd* *:laddexpr* *:lad* *:ladd* *:laddexpr*
:lad[dexpr] {expr} Same as ":caddexpr", except the location list for the :lad[dexpr] {expr} Same as ":caddexpr", except the location list for the
current window is used instead of the quickfix list. current window is used instead of the quickfix list.

View File

@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2024 Nov 09 *syntax.txt* For Vim version 9.1. Last change: 2024 Nov 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2670,7 +2670,7 @@ To specify elements that should not be concealed, set the following variable: >
:let g:pandoc#syntax#conceal#blacklist = [] :let g:pandoc#syntax#conceal#blacklist = []
This is a list of the rules wich can be used here: This is a list of the rules which can be used here:
- titleblock - titleblock
- image - image

View File

@@ -2216,7 +2216,6 @@ $quote eval.txt /*$quote*
:abo windows.txt /*:abo* :abo windows.txt /*:abo*
:aboveleft windows.txt /*:aboveleft* :aboveleft windows.txt /*:aboveleft*
:abstract vim9class.txt /*:abstract* :abstract vim9class.txt /*:abstract*
:addd quickfix.txt /*:addd*
:al windows.txt /*:al* :al windows.txt /*:al*
:all windows.txt /*:all* :all windows.txt /*:all*
:am gui.txt /*:am* :am gui.txt /*:am*
@@ -2736,6 +2735,7 @@ $quote eval.txt /*$quote*
:lab quickfix.txt /*:lab* :lab quickfix.txt /*:lab*
:labove quickfix.txt /*:labove* :labove quickfix.txt /*:labove*
:lad quickfix.txt /*:lad* :lad quickfix.txt /*:lad*
:ladd quickfix.txt /*:ladd*
:laddb quickfix.txt /*:laddb* :laddb quickfix.txt /*:laddb*
:laddbuffer quickfix.txt /*:laddbuffer* :laddbuffer quickfix.txt /*:laddbuffer*
:laddexpr quickfix.txt /*:laddexpr* :laddexpr quickfix.txt /*:laddexpr*

View File

@@ -2743,7 +2743,7 @@ do_ecmd(
} }
if (buf == NULL) if (buf == NULL)
goto theend; goto theend;
// autocommands try to edit a file that is goind to be removed, // autocommands try to edit a file that is going to be removed,
// abort // abort
if (buf_locked(buf)) if (buf_locked(buf))
{ {

View File

@@ -38,7 +38,7 @@ VIMRUNTIME = ..\..\runtime
!ENDIF !ENDIF
PACKAGE = vim PACKAGE = vim
# Correct the following line for the where executeable file vim is # Correct the following line for the where executable file vim is
# installed. Please do not put the path in quotes. # installed. Please do not put the path in quotes.
!IFNDEF VIMPROG !IFNDEF VIMPROG
VIMPROG = ..\vim.exe VIMPROG = ..\vim.exe

View File

@@ -2258,7 +2258,7 @@ func Test_diff_overlapped_diff_blocks_will_be_merged()
call WriteDiffFiles3(buf, ["a", "b", "c"], ["a", "x", "c"], ["a", "b", "y", "c"]) call WriteDiffFiles3(buf, ["a", "b", "c"], ["a", "x", "c"], ["a", "b", "y", "c"])
call VerifyBoth(buf, "Test_diff_overlapped_3.37", "") call VerifyBoth(buf, "Test_diff_overlapped_3.37", "")
call StopVimInTerminal(buf) call StopVimInTerminal(buf)
endfunc endfunc
" switching windows in diff mode caused an unnecessary scroll " switching windows in diff mode caused an unnecessary scroll

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
849,
/**/ /**/
848, 848,
/**/ /**/