-*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
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.
" 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()
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
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)
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)
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!')
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')
call assert_equal(
\ path,
\ Test_NetrwFile(path),
- \ $"UNC path: {path} missinterpreted")
+ \ $"UNC path: {path} misinterpreted")
endfor
endfunction
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
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