docs: misc (#38578)

This commit is contained in:
zeertzjq
2026-04-01 07:59:51 +08:00
committed by GitHub
parent d29db48e0a
commit a89d7dcb91
7 changed files with 14 additions and 14 deletions

View File

@@ -3914,7 +3914,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!')
@@ -3932,7 +3932,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')

View File

@@ -167,8 +167,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