mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:9.1.1252: typos in code and docs related to 'diffopt' "inline:" (#33143)
Problem: Typos in code and docs related to 'diffopt' "inline:".
(after v9.1.1243)
Solution: Fix typos and slightly improve the docs.
(zeertzjq)
closes: vim/vim#16997
5a307c361c
This commit is contained in:
@@ -2212,8 +2212,8 @@ func Test_diff_inline()
|
||||
" on a different line.
|
||||
call WriteDiffFiles(buf,
|
||||
\ ["abcdefghijklmno", "anchor1",
|
||||
\ "abcdefghijklmno", "anchor2",
|
||||
\ "abcdefghijklmno", "anchor3",
|
||||
\ "abcdefghijklmno", "anchor2",
|
||||
\ "abcdefghijklmno", "anchor3",
|
||||
\ "test", "multiline"],
|
||||
\ ["a?c?e?g?i?k???o", "anchor1",
|
||||
\ "a??de?????klmno", "anchor2",
|
||||
@@ -2254,7 +2254,7 @@ func Test_diff_inline_multibuffer()
|
||||
call WriteDiffFiles3(buf,
|
||||
\ ["That is buffer1.", "anchor", "Some random text", "anchor"],
|
||||
\ ["This is buffer2.", "anchor", "Some text", "anchor", "buffer2/3"],
|
||||
\ ["This is buffer3. Last.", "anchor", "Some more", "text here.", "anchor", "only in buffer2/3", "not in buffer1"])
|
||||
\ ["This is buffer3. Last.", "anchor", "Some more", "text here.", "anchor", "only in buffer2/3", "not in buffer1"])
|
||||
call VerifyInternal(buf, "Test_diff_inline_multibuffer_01", " diffopt+=inline:char")
|
||||
|
||||
" Close one of the buffers and make sure it updates correctly
|
||||
|
||||
Reference in New Issue
Block a user