mirror of
https://github.com/neovim/neovim.git
synced 2026-04-01 13:22:08 +00:00
vim-patch:9.1.2078: A few more typos in various files (#37368)
Problem: A few more typos in various files
Solution: Fix those (zeertzjq, antonkesy)
related: neovim/neovim#37348
closes: vim/vim#19153
6a2b5b2246
Co-authored-by: Anton Kesy <anton@kesy.de>
This commit is contained in:
6
runtime/autoload/dist/vim.vim
vendored
6
runtime/autoload/dist/vim.vim
vendored
@@ -1,9 +1,9 @@
|
|||||||
" Vim runtime support library,
|
" Vim runtime support library,
|
||||||
" runs the vim9 script version or legacy script version
|
" runs the Vim9 script version or legacy script version
|
||||||
" on demand (mostly for Neovim compatability)
|
" on demand (mostly for Neovim compatibility)
|
||||||
"
|
"
|
||||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||||
" Last Change: 2023 Nov 04
|
" Last Change: 2026 Jan 11
|
||||||
|
|
||||||
|
|
||||||
" enable the zip and gzip plugin by default, if not set
|
" enable the zip and gzip plugin by default, if not set
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ function M.asm_syntax(_, bufnr)
|
|||||||
return 'masm'
|
return 'masm'
|
||||||
elseif
|
elseif
|
||||||
line:find('Texas Instruments Incorporated')
|
line:find('Texas Instruments Incorporated')
|
||||||
-- tiasm uses `* commment`, but detection is unreliable if '/*' is seen
|
-- tiasm uses `* comment`, but detection is unreliable if '/*' is seen
|
||||||
or (line:find('^%*') and not is_slash_star_encountered)
|
or (line:find('^%*') and not is_slash_star_encountered)
|
||||||
then
|
then
|
||||||
return 'tiasm'
|
return 'tiasm'
|
||||||
|
|||||||
2
runtime/pack/dist/opt/netrw/README.md
vendored
2
runtime/pack/dist/opt/netrw/README.md
vendored
@@ -11,7 +11,7 @@ upstream for distribution with Vim.
|
|||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
To see License informations see the LICENSE.txt file included in this
|
To see License information see the LICENSE.txt file included in this
|
||||||
repository.
|
repository.
|
||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
|
|||||||
@@ -740,7 +740,7 @@ if s:vim9script
|
|||||||
" FIXME: don't match as dictionary keys, remove when operators are not
|
" FIXME: don't match as dictionary keys, remove when operators are not
|
||||||
" shared between Vim9 and legacy script
|
" shared between Vim9 and legacy script
|
||||||
syn match vim9This contained "\.\@1<!\<this\>:\@!"
|
syn match vim9This contained "\.\@1<!\<this\>:\@!"
|
||||||
" super must be folowed by '.'
|
" super must be followed by '.'
|
||||||
syn match vim9Super contained "\.\@1<!\<super\.\@="
|
syn match vim9Super contained "\.\@1<!\<super\.\@="
|
||||||
|
|
||||||
VimFoldc syn region vim9ClassBody start="\<class\>" matchgroup=vimCommand end="\<endclass\>" contains=@vim9ClassBodyList transparent
|
VimFoldc syn region vim9ClassBody start="\<class\>" matchgroup=vimCommand end="\<endclass\>" contains=@vim9ClassBodyList transparent
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ static int linematch_lines = 40;
|
|||||||
|
|
||||||
#define LBUFLEN 50 // length of line in diff file
|
#define LBUFLEN 50 // length of line in diff file
|
||||||
|
|
||||||
// Max file size xdiff is eqipped to deal with. The value (1GB - 1MB) comes
|
// Max file size xdiff is equipped to deal with. The value (1GB - 1MB) comes
|
||||||
// from Git's implementation.
|
// from Git's implementation.
|
||||||
#define MAX_XDIFF_SIZE (1024L * 1024 * 1023)
|
#define MAX_XDIFF_SIZE (1024L * 1024 * 1023)
|
||||||
|
|
||||||
|
|||||||
@@ -1866,7 +1866,7 @@ func Test_splitkeep_cmdwin_cursor_position()
|
|||||||
set splitkeep=screen
|
set splitkeep=screen
|
||||||
call setline(1, range(&lines))
|
call setline(1, range(&lines))
|
||||||
|
|
||||||
" No scroll when cursor is at near bottom of window and cusor position
|
" No scroll when cursor is at near bottom of window and cursor position
|
||||||
" recompution (done by line('w0') in this test) happens while in cmdwin.
|
" recompution (done by line('w0') in this test) happens while in cmdwin.
|
||||||
normal! G
|
normal! G
|
||||||
let firstline = line('w0')
|
let firstline = line('w0')
|
||||||
|
|||||||
Reference in New Issue
Block a user