mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
Fix a few typos in tests
closes: #19871 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
e551e71d7e
commit
b5efce0765
@@ -1,4 +1,4 @@
|
||||
*change.txt* For Vim version 9.2. Last change: 2026 Feb 14
|
||||
*change.txt* For Vim version 9.2. Last change: 2026 Mar 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1157,9 +1157,9 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
current line).
|
||||
|
||||
*:ip* *:iput*
|
||||
:[line]ip[ut] [x] like |:put|, but adjust indent to the current line
|
||||
:[line]ip[ut] [x] Like |:put|, but adjust indent to the current line.
|
||||
|
||||
:[line]ip[ut]! [x] like |:put|!, but adjust indent to the current line
|
||||
:[line]ip[ut]! [x] Like |:put|!, but adjust indent to the current line.
|
||||
|
||||
["x]]p or *]p* *]<MiddleMouse>*
|
||||
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
|
||||
|
||||
@@ -124,8 +124,8 @@ func Test_clipreset_switches()
|
||||
" hang.
|
||||
|
||||
" This will only happen for commands given from the command line, which
|
||||
" is why we cannot just directly call Vim or use the actual Vim instance thats
|
||||
" doing all the testing, since main_loop() is never executed.
|
||||
" is why we cannot just directly call Vim or use the actual Vim instance
|
||||
" that's doing all the testing, since main_loop() is never executed.
|
||||
|
||||
" Therefore we should start a separate Vim instance and communicate with it
|
||||
" remotely, so we can execute the actual testing stuff with main_loop()
|
||||
|
||||
@@ -964,7 +964,7 @@ func Test_clipboard_provider_no_unamedplus()
|
||||
set clipmethod&
|
||||
endfunc
|
||||
|
||||
" Same as Test_clipboard_provider_registers() but do it when +clipboard isnt
|
||||
" Same as Test_clipboard_provider_registers() but do it when +clipboard isn't
|
||||
" enabled.
|
||||
func Test_clipboard_provider_no_clipboard()
|
||||
CheckFeature clipboard_provider
|
||||
|
||||
@@ -1431,7 +1431,7 @@ func Test_winhighlight()
|
||||
|
||||
call VerifyScreenDump(buf, 'Test_winhighlight_10', {})
|
||||
|
||||
" Make last focused window the other window, which should have no hightlight
|
||||
" Make last focused window the other window, which should have no highlight
|
||||
" in tabline.
|
||||
call term_sendkeys(buf, "\<Esc>:tabn 1\<CR>\<Esc>:wincmd h\<CR>\<Esc>:tabn 3\<CR>")
|
||||
call TermWait(buf)
|
||||
@@ -1462,7 +1462,7 @@ func Test_winhighlight()
|
||||
|
||||
call VerifyScreenDump(buf, 'Test_winhighlight_14', {})
|
||||
|
||||
" Check that overridding Normal group maps to HLF_WIN in 'highlight'.
|
||||
" Check that overriding Normal group maps to HLF_WIN in 'highlight'.
|
||||
call term_sendkeys(buf, "\<Esc>:setlocal whl=Normal:ErrorMsg\<CR>")
|
||||
call TermWait(buf)
|
||||
|
||||
|
||||
@@ -3803,7 +3803,7 @@ func Test_complete_fuzzy_collect()
|
||||
call feedkeys("Gofuzzy\<C-X>\<C-N>\<C-N>\<C-N>\<C-N>\<CR>\<Esc>0", 'tx!')
|
||||
call assert_equal('completefuzzycollect', getline(line('.') - 1))
|
||||
|
||||
" keywords in 'dictonary'
|
||||
" keywords in 'dictionary'
|
||||
call writefile(['hello', 'think'], 'Xtest_dict.txt', 'D')
|
||||
set dict=Xtest_dict.txt
|
||||
call feedkeys("Sh\<C-X>\<C-K>\<C-N>\<CR>\<Esc>0", 'tx!')
|
||||
@@ -3821,7 +3821,7 @@ func Test_complete_fuzzy_collect()
|
||||
call assert_equal('fuzzycollect', getline('.'))
|
||||
|
||||
" when 'fuzzy' is not set, and 'infercase' and 'ignorecase' are set, then
|
||||
" uppercase completes from lowercase words in dictonary
|
||||
" uppercase completes from lowercase words in dictionary
|
||||
set completeopt&
|
||||
set infercase ignorecase
|
||||
call writefile(['hello'], 'Xtest_case.txt', 'D')
|
||||
|
||||
@@ -332,7 +332,7 @@ func Test_netrw_check_UNC_paths()
|
||||
call assert_equal(
|
||||
\ path,
|
||||
\ Test_NetrwFile(path),
|
||||
\ $"UNC path: {path} missinterpreted")
|
||||
\ $"UNC path: {path} misinterpreted")
|
||||
endfor
|
||||
|
||||
endfunction
|
||||
|
||||
@@ -165,8 +165,8 @@ func Test_sign()
|
||||
|
||||
sign define Sign5 text=X\ linehl=Comment
|
||||
sign undefine Sign5
|
||||
" The use of execute in the next line is just to ensure the space for
|
||||
" the text value is obvious and does not get accidently deleted.
|
||||
" The use of :execute in the next line is just to ensure the space for
|
||||
" the text value is obvious and does not get accidentally deleted.
|
||||
execute "sign define Sign5 linehl=Comment text=X\ "
|
||||
sign undefine Sign5
|
||||
|
||||
|
||||
@@ -7689,7 +7689,7 @@ func Test_catch_pattern_trailing_chars()
|
||||
bw!
|
||||
endfunc
|
||||
|
||||
" Test for long gerneric type name {{{1
|
||||
" Test for long generic type name {{{1
|
||||
func Test_function_long_generic_name()
|
||||
func TestFunc()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user