| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| | |
Problem: Not restoring t_F2 in registers test.
Solution: Assign to &t_F2 instead of t_F2. (Andy Massimino, closes vim/vim#4434)
https://github.com/vim/vim/commit/a5e44600ebb02057fb15ae7a2f15c5cae8f63bcc
|
| | |
| |
| |
| |
| |
| | |
Problem: Test fails because t_F2 is not set.
Solution: Add try-catch.
https://github.com/vim/vim/commit/55d81cd2a15d93dba89b2ff1c988d82789919b6b
|
| |\ \
| |/
|/| |
fix #10604
|
| | |
| |
| |
| |
| |
| | |
Problem: unreliable types for complete function arguments
Solution: fix argument type for functions w/ unreliable type conversion(Ozaki Kiichi)
vim/vim#2993
|
| | |
| |
| |
| |
| |
| | |
(This was originally a Neovim patch, but this commit merges some changes
from the Vim patch.)
https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
|
| | |
| |
| |
| |
| | |
Problem: Shell command completion has duplicates. (Yegappan Lakshmanan)
Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes vim/vim#539, closes vim/vim#2733)
https://github.com/vim/vim/commit/62fe66f251263715968442e237742d9d3dfd5fa1
|
| | |
| |
| |
| |
| |
| | |
Problem: Floating point exception with "%= 0" and "/= 0".
Solution: Avoid dividing by zero. (Dominique Pelle, closes vim/vim#4058)
https://github.com/vim/vim/commit/e21c1580b7acb598a6e3c38565434fe5d0e2ad7a
|
| | |
| |
| |
| |
| |
| | |
Problem: get(func, dict, def) does not work properly.
Solution: Handle NULL dict better. (Takuya Fujiwara, closes vim/vim#4734)
https://github.com/vim/vim/commit/f91aac5e3e3b8b1633d84eac2687ebbd76d8133b
|
| | |
| |
| |
| |
| |
| | |
Problem: No mode char for terminal mapping from maparg().
Solution: Check for TERMINAL mode. (closes vim/vim#4735)
https://github.com/vim/vim/commit/14371ed69778107654e39268d0d90982e53ad6e0
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: :args output is not aligned.
Solution: Output a line break after the last item in a row.
https://github.com/vim/vim/commit/74da39373c90fcb390068903b5bbb93ce7ac16fa
vim-patch:8.1.1750: depending on the terminal width :version may miss a line break
Problem: Depending on the terminal width :version may miss a line break.
Solution: Add a line break when needed.
https://github.com/vim/vim/commit/8a5c29aee978345132ad7f318b8a84633c33905c
vim-patch:8.1.1760: extra line break for wrapping output of :args
Problem: Extra line break for wrapping output of :args.
Solution: Avoid the extra line break. (Daniel Hahler, closes vim/vim#4737)
https://github.com/vim/vim/commit/9800bfe0fc7596e8fee97172139f0777bac639fb
|
| |
|
| |
This just moves the test to where it is in Vim.
|
| |
|
|
| |
This reverts commit ce1b4f95fe684082cc9fb7e7e018e4f7c04338c4.
|
| |
|
|
|
|
|
| |
Problem: Accessing invalid memory with long argument name.
Solution: Use item_count instead of checking for a terminating NULL.
(Dominique Pelle, closes vim/vim#3444)
https://github.com/vim/vim/commit/e961cba3cb8281c47f1dc2c2bc031b07504f17d4
|
| |
|
|
|
|
| |
Problem: Crash with tricky search pattern. (Kuang-che Wu)
Solution: Check for runnning out of memory. (closes vim/vim#3950)
https://github.com/vim/vim/commit/15bbd6ec871a0efdd16256e1fccbaac0fd374cbd
|
| |
|
|
|
|
| |
Problem: Complicated regexp causes a crash. (Kuang-che Wu)
Solution: Limit the recursiveness of addstate(). (closes vim/vim#3941)
https://github.com/vim/vim/commit/5567ad48b66dff13670af52a48509059acc34dfe
|
| |
|
|
|
|
| |
Problem: ":dl" is seen as ":dlist" instead of ":delete".
Solution: Do not use cmdidxs2[] if the length is 1. (closes vim/vim#4721)
https://github.com/vim/vim/commit/94f82cbacf76767b5ac32f813e1d670501dbd0e6
|
| |
|
|
|
|
|
|
| |
Problem: Exepath() doesn't work for "bin/cat".
Solution: Check for any path separator. (Daniel Hahler, closes vim/vim#4724,
closes vim/vim#4710)
https://github.com/vim/vim/commit/d08b8c4c04db9433340df38d21f0e26878f28421
Fixes https://github.com/neovim/neovim/issues/10554.
|
| |
|
|
|
|
| |
Problem: Testing lambda with timer is slow.
Solution: Do not test timer accuracy, only that it works. (Daniel Hahler,
closes vim/vim#4723)
https://github.com/vim/vim/commit/9bc4dde45d45df732953491d0f2c3fd3b10a627e
|
| |
|
|
|
|
|
|
| |
Problem: :args command that outputs one line gives more prompt.
Solution: Only output line break if needed. (Daniel Hahler, closes vim/vim#4715)
https://github.com/vim/vim/commit/949f1989cba8bf7653316c2b1444c26f1536bfab
Closes https://github.com/neovim/neovim/pull/10147.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: ":args" output is hard to read.
Solution: Make columns with the names if the output is more than one line.
https://github.com/vim/vim/commit/5d69da462f584a3aefb3427b127334bf9af3a4b0
vim-patch:8.0.1740: warning for signed-unsigned incompatibility
Problem: Warning for signed-unsigned incompatibility.
Solution: Change type from "char *" to "char_u *". (John Marriott)
https://github.com/vim/vim/commit/405dadb63ea2b7aa4c8c659807506a35a8a9504c
Removes ported legacy test that was re-added later.
Ref: https://github.com/neovim/neovim/pull/10147#issuecomment-512609513
|
| |
|
|
|
|
|
| |
Problem: Tabline is not always redrawn when something that is used in
'tabline' changes.
Solution: Add ":redrawtabline" so that a plugin can at least cause the
redraw when needed.
https://github.com/vim/vim/commit/e12bab3144af8943937bd0ff4bc57f04e53037b3
|
| |
|
|
|
|
| |
Problem: Crash with very long %[] pattern. (Reza Mirzazade farkhani)
Solution: Check for reg_toolong. (closes vim/vim#4703)
https://github.com/vim/vim/commit/2a5b52758bb327b89d22660cc28c157ec29782e5
|
| |
|
|
|
| |
Problem: Sourcing a session sets v:errmsg.
Solution: Use "%argdel" instead of "argdel *". (Jason Franklin)
https://github.com/vim/vim/commit/555de4e3b2881b0d9a72242ecc2ba26b5c698c85
|
| |
|
|
|
|
| |
Problem: Preferred column is lost when setting 'cursorcolumn'.
Solution: Change option flag to P_RWINONLY. (Takayuki Kurosawa,
closes vim/vim#3806)
https://github.com/vim/vim/commit/177ab9e0262b1b3a6120bea655864ead487210e5
|
| |
|
|
|
|
| |
Problem: There is a SourcePre autocommand event but not a SourcePost.
Solution: Add the SourcePost autocommand event. (closes vim/vim#3739)
https://github.com/vim/vim/commit/2b6185287adf53343ed5f49e967ae402c64063e4
|
| |
|
|
|
|
| |
Problem: "wincmd p" does not work after using an autocmd window.
Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes vim/vim#3690)
https://github.com/vim/vim/commit/a42df5934bdc1178ed2ee8cb9c8686975b578497
|
| |
|
|
|
|
| |
Problem: Suspend test is flaky on some systems.
Solution: Wait for the shell prompt to show. (Yee Cheng Chin, closes vim/vim#4632)
https://github.com/vim/vim/commit/999224422633935eaa8b804ce3d1c2f9ca195d0a
|
| |
|
|
|
|
| |
Problem: Screendump tests can be flaky.
Solution: Add VerifyScreenDump to the pattern of flaky tests.
https://github.com/vim/vim/commit/447f6ce8bd42fe3adbdf97eff9a38a9bfef9eeed
|
| |
|
|
|
|
| |
Problem: Flaky tests often fail with a common error message.
Solution: Add a pattern to match an error message indicating a flaky test.
https://github.com/vim/vim/commit/dbc0d2163aa5e090d5a0c83aea448803ddbab664
|
| |
|
|
|
|
| |
Problem: Filtering does not work when listing marks.
Solution: Implement filtering marks. (Marcin Szamotulski, closes vim/vim#3895)
https://github.com/vim/vim/commit/ad6dc49a7564a99fca36c1928e3865787d3bd5b2
|
| |
|
|
|
|
| |
Problem: Filter command test may fail if helplang is not set.
Solution: Set 'helplang' for the test. (James McCoy, closes vim/vim#3591)
https://github.com/vim/vim/commit/bd9a0c611ce08f8dce033537bc2f110987b99802
|
| |
|
|
|
|
|
| |
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes vim/vim#2856)
https://github.com/vim/vim/commit/f86db78fed78541cefdb706e4779ce5ae9ca7820
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e
|
| | |
| |
| |
| |
| |
| | |
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
https://github.com/vim/vim/commit/15e248e37f3925d430f96e945d52d3dc423cdc83
|
| | |
| |
| |
| |
| | |
Problem: Assert_fails() does not fail inside try/catch.
Solution: Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639)
https://github.com/vim/vim/commit/7780e5c1c5485a979ab6e3914a43e17912e213a8
|
| | |
| |
| |
| | |
Previously it would be displayed across multiple lines (with the escaped
newlines), while this makes it display in a single line.
|
| | |
| |
| |
| |
| | |
Problem: Suspend test has duplicated lines.
Solution: Use a function.
https://github.com/vim/vim/commit/a8356bc1734195d130c6eeaf4858356ae3a3f722
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Terminal test fails when term_getansicolors() is missing.
Diff test fails without +rightleft. (Dominique Pelle)
Solution: Check if term_getansicolors() is supported. (closes vim/vim#4597)
https://github.com/vim/vim/commit/981d9dc8f3d7a470eb3be7ba60fe1c1f31e7f470
|
| |/
|
|
|
|
| |
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584)
https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
|
| |
|
| |
ref #6289
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "oldtests: win: keep set dir=/"
This reverts commit 714e0f8bf05cc6febcbcd8cbcbe5f119c37a14b0.
* test/old: set swap directory to non-existent drive
Appveyor uses Administrator user so it can write anywhere in C:\\.
Neovim creates a directory for the swap file
if the directory does not exist.
D:\\ is the backup/recovery drive so use F:\\ invoke error E303.
|
| |
|
|
|
|
|
|
| |
Problem: Search test can be flaky.
Solution: Use WaitFor() instead of a delay. Make it possible to pass a
funcref to WaitFor() to avoid the need for global variables.
(James McCoy, closes vim/vim#2282)
https://github.com/vim/vim/commit/13deab8d08145c1f6e2a3e82cb547bc7f87a3686
|
| |
|
|
|
|
|
| |
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes vim/vim#2198)
https://github.com/vim/vim/commit/2e51d9a0972080b087d566608472928d5b7b35d7
|
| |
|
|
|
|
|
| |
Problem: Filetype not detected for C++ header files without extension.
Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin,
closes vim/vim#4593)
https://github.com/vim/vim/commit/6a7af8e2dbcb768a768831d9e6355c855c215ebc
|
| |
|
|
|
|
| |
Problem: C syntax test still fails when using gvim.
Solution: Clear Normal cterm highlighting instead of setting it.
https://github.com/vim/vim/commit/6acadda8d60892ddf06449f1cc4286912b0c0c2b
|
| |\
| |
| | |
vim-patch:8.0.{1479,1480,1482},8.1.1055
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using feedkeys() does not work to test Insert mode completion.
(Lifepillar)
Solution: Do not check for typed keys when executing :normal or feedkeys().
Fix thesaurus completion not working when 'complete' is empty.
https://github.com/vim/vim/commit/02ae9b4a93deea4993d7abe20485f91f1cce5e36
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: CTRL-G U in Insert mode doesn't work to avoid splitting the undo
sequence for shift-left and shift-right.
Solution: Also check dont_sync_undo for shifted cursor keys. (Christian
Brabandt)
https://github.com/vim/vim/commit/75bf3d22f42684beecd977f3185e98045b5c33d9
|
| |\ \
| | |
| | | |
vim-patch:8.0.{10{39,53,55},1274}: cannot change a line in not current buffer
|