aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.2877: insufficient tests for popup menu rightleftJan Edmund Lazo2021-06-05
| | | | | | Problem: Insufficient tests for popup menu rightleft. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#8235) https://github.com/vim/vim/commit/1e615669c0f1f4125001b2c01c30b00d8c68035e
* vim-patch:8.2.2916: operators are not fully testedJan Edmund Lazo2021-05-31
| | | | | | Problem: Operators are not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8290) https://github.com/vim/vim/commit/2ac7184d34cd01e2b76bd1f704fd6a4b4af10239
* vim-patch:8.1.2400: test39 is old styleJan Edmund Lazo2021-05-31
| | | | | | | Problem: Test39 is old style. Solution: Convert the test cases into new style. (Yegappan Lakshmanan, closes vim/vim#5324) https://github.com/vim/vim/commit/1f3e7d3bf0aa1e015a591ce8f7ee7ab56589b452
* vim-patch:8.2.2914: cannot paste a block without adding paddingJan Edmund Lazo2021-05-31
| | | | | | | | | Problem: Cannot paste a block without adding padding. Solution: Add "zp" and "zP" which paste without adding padding. (Christian Brabandt, closes vim/vim#8289) https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a Cherry-pick Test_normal_z_error() from patch v8.2.0369.
* vim-patch:8.2.2911: pattern "\%V" does not match all of block selectionJan Edmund Lazo2021-05-31
| | | | | | Problem: Pattern "\%V" does not match all of block selection. (Rick Howe) Solution: Use the value of vi_curswant. (closes vim/vim#8285) https://github.com/vim/vim/commit/e71c0ebe2cee4a4916c49e206733200299e4c065
* vim-patch:8.2.2900: QuitPre is triggered before :wq writes the fileJan Edmund Lazo2021-05-29
| | | | | | | Problem: QuitPre is triggered before :wq writes the file, which is different from other commands. Solution: Trigger QuitPre after writing the file. (closes vim/vim#8279) https://github.com/vim/vim/commit/1174b018a6d705ddb8c04f3d21f78ae760aa0856
* vim-patch:8.2.2278: falling back to old regexp engine can some patternsJan Edmund Lazo2021-05-26
| | | | | | | Problem: Falling back to old regexp engine can some patterns. Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used. (Christian Brabandt, closes vim/vim#7572) https://github.com/vim/vim/commit/66c50c565321d4d49d8d5620912e5e8fe4825644
* vim-patch:8.2.2885: searching for \%'> does not match linewise end of lineJan Edmund Lazo2021-05-26
| | | | | | Problem: searching for \%'> does not match linewise end of line. (Tim Chase) Solution: Match end of line if column is MAXCOL. (closes vim/vim#8238) https://github.com/vim/vim/commit/872bee557e5f8ab0e4a523a6a845868a2801b17e
* vim-patch:8.2.2884: not enough cscope code is covered by testsJan Edmund Lazo2021-05-24
| | | | | | Problem: Not enough cscope code is covered by tests. Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8246) https://github.com/vim/vim/commit/1e469c72ee2914fcffbcd49258036acdabd6f500
* vim-patch:8.2.0511: Cscope code not fully testedJan Edmund Lazo2021-05-24
| | | | | | Problem: Cscope code not fully tested. Solution: Add more test cases. (Dominique Pelle, closes vim/vim#5886) https://github.com/vim/vim/commit/d7ffc0ba8ccb039dd19b255368302d9bfe0e010b
* test/old: partial port of patch v8.2.1.0183Jan Edmund Lazo2021-05-24
| | | | Prep for patch v8.2.0511.
* vim-patch:8.2.1689: 'colorcolumn' doesn't show in indentJan Edmund Lazo2021-05-24
| | | | | | | Problem: 'colorcolumn' doesn't show in indent. Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. (Alexey Demin, closes vim/vim#6948, closes vim/vim#6619) https://github.com/vim/vim/commit/ad5e5631c5dc93a50bbe637be254c5e9968848ea
* vim-patch:8.2.1957: diff and cursorcolumn highlighting don't mixJan Edmund Lazo2021-05-24
| | | | | | | Problem: Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes vim/vim#7258, closes vim/vim#7260) https://github.com/vim/vim/commit/fabc3ca896751277f18a3a68e5661179728db3ad
* vim-patch:8.2.2880: unified diff fails if actually usedJan Edmund Lazo2021-05-24
| | | | | | | Problem: Unified diff fails if actually used. Solution: Invoke :diffupdate in the test. Fix the check for working external diff. (Ghjuvan Lacambre, Christian Brabandt, closes vim/vim#8197) https://github.com/vim/vim/commit/ad5c178a191cf2cf37a27c2a789d7afda3879831
* vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* vim-patch:8.2.2875: cancelling inputlist() after a digit does not return zeroJan Edmund Lazo2021-05-21
| | | | | | Problem: Cancelling inputlist() after a digit does not return zero. Solution: Always return zero when cancelling. (closes vim/vim#8231) https://github.com/vim/vim/commit/5cf94577cf2045fec87344d7d89422fe6dfce62f
* vim-patch:8.2.0946: cannot use "q" to cancel a number promptJan Edmund Lazo2021-05-21
| | | | | | Problem: Cannot use "q" to cancel a number prompt. Solution: Recognize "q" instead of ignoring it. https://github.com/vim/vim/commit/eebd555733491cb55b9f30fe28772c0fd0ebacf7
* vim-patch:8.2.1591: using winheight('.') in tests works but is wrongJan Edmund Lazo2021-05-21
| | | | | | Problem: Using winheight('.') in tests works but is wrong. Solution: Use winheight(0). (issue vim/vim#6863) https://github.com/vim/vim/commit/c05d1c043a25c7a52dbf0a740d3f715a9d2691f7
* vim-patch:8.1.2339: insufficient testing for quickfixJan Edmund Lazo2021-05-21
| | | | | | | | | | Problem: Insufficient testing for quickfix. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#5261) https://github.com/vim/vim/commit/70077dd1ca63636afaf07acf22519981e3a8e4b7 TODO: Debug the following off-by-one error: call assert_equal(repeat('m', 1024), l[0].module)
* vim-patch:8.1.2320: insufficient test coverage for quickfixJan Edmund Lazo2021-05-21
| | | | | | | Problem: Insufficient test coverage for quickfix. Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, closes vim/vim#5238) https://github.com/vim/vim/commit/f9ae154c512683ea7b933f870b0268232fd7ad38
* Merge remote-tracking branch 'origin/master' into qftfkevinhwang912021-05-20
|\
| * vim-patch:8.2.2869: using unified diff is not testedJan Edmund Lazo2021-05-19
| | | | | | | | | | | | Problem: Using unified diff is not tested. Solution: Test all cases also with unified diff. (issue vim/vim#8197) https://github.com/vim/vim/commit/485b62710004431a16feb4eb861365d082304a08
* | vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | | | | | | | | Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
* | vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location listkevinhwang912021-05-20
| | | | | | | | | | | | | | Problem: 'quickfixtextfunc' does not get window ID of location list. Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, closes vim/vim#6222) https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
* | vim-patch:8.2.0869: it is not possible to customize the quickfix window contentskevinhwang912021-05-20
|/ | | | | | Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
* Merge pull request #14406 from shadmansaleh/vim-8.2.0877Jan Edmund Lazo2021-05-15
|\ | | | | vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
| * vim-patch:8.2.0896: crash when calling searchcount() with a stringshadmansaleh2021-05-09
| | | | | | | | | | | | Problem: Crash when calling searchcount() with a string. Solution: Check the argument is a dict. (closes vim/vim#6192) https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
| * vim-patch:8.2.0887: searchcount().exact_match is 1 right after a matchshadmansaleh2021-05-09
| | | | | | | | | | | | Problem: Searchcount().exact_match is 1 right after a match. Solution: Use LT_POS() instead of LTOREQ_POS(). (closes vim/vim#6189) https://github.com/vim/vim/commit/57f75a5a364ad4d8334fdf6b6b41420b48e08390
| * vim-patch:8.2.0884: searchcount() test fails on slower systemsshadmansaleh2021-05-09
| | | | | | | | | | | | Problem: Searchcount() test fails on slower systems. Solution: Set a longer timeout. https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd
| * vim-patch:8.2.0877: cannot get the search statisticsshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446) https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df Additional changes: - Tests weren't passing because the test ran assuming the cursor was at start of buffer but append() left the cursor at end of buffer . So cursor is moved to start of buffer after append. - searchcount() added to list of builtin functions.
* | vim-patch:8.2.2854: custom statusline cannot contain % items (#14558)Shadman2021-05-15
| | | | | | | | | | Problem: Custom statusline cannot contain % items. Solution: Add "%{% expr %}". (closes vim/vim#8190) https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
* | vim-patch:8.2.2850: recalling commands from history is not testedJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Recalling commands from history is not tested. Solution: Add tests. (closes vim/vim#8194) https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
* | vim-patch:8.2.2473: crash when leaving command line window triggers autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when leaving command line window triggers autocommand. (houyunsong) Solution: Make sure not to close the current window or buffer. https://github.com/vim/vim/commit/8c6951fa2836a1ae3257770e7b927a9380439912 N/A patches for version.c: vim-patch:8.2.2414: using freed memory when closing the cmdline window Problem: Using freed memory when closing the cmdline window. Solution: Check the window is still valid. https://github.com/vim/vim/commit/b7e2670b6a1de02c772af5097ba24f2a15b26eec
* | vim-patch:8.2.2433: opening cmdline window gives error in BufLeave autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Opening cmdline window gives error in BufLeave autocommand. Solution: Reset cmdwin_type when triggering the autocommand. https://github.com/vim/vim/commit/b63f3ca66db20f7b135aae706d36be538f91f8cc
* | vim-patch:8.2.2419: autocmd test was failing on MS-Windows with GUIJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Autocmd test was failing on MS-Windows with GUI. Solution: Remove stray feedkeys(). https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef
* | vim-patch:8.2.2359: strange test failure with MS-WindowsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Strange test failure with MS-Windows. Solution: Skip the system() call for now. https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
* | vim-patch:8.2.2354: crash with a weird combination of autocommandsJan Edmund Lazo2021-05-13
| | | | | | | | | | | | Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes vim/vim#7674) https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207
* | vim-patch:8.2.1059: crash when using :tabonly in an autocommandJan Edmund Lazo2021-05-13
| | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed. https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec E813 error message does not mention 'popup' window because Neovim floating window are regular windows, unlike Vim popups. https://github.com/neovim/neovim/pull/14532#discussion_r631731829
* | vim-patch:8.2.1000: get error when leaving Ex mode with :visualJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter autocommand was used. Solution: Reset ex_pressedreturn. (closes vim/vim#6293) https://github.com/vim/vim/commit/158ea175a99fc23eae1b0a5ee9a81cdd973854a6
* | vim-patch:8.2.0023: command line editing not sufficiently testedJan Edmund Lazo2021-05-12
| | | | | | | | | | | | | | | | | | Problem: Command line editing not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#5374) https://github.com/vim/vim/commit/59cb041d0a56d8555857da7e063ec61504ee1fa7 Ported to commit test_ex_mode.vim for later patches. Test fails because feedkeys() filters out modifier keys on output.
* | Revert "vim-patch:8.1.1378: delete() can not handle a file name that looks ↵Marco Hinz2021-05-12
| | | | | | | | | | | | | | | | | | like a pattern (#12784)" This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145. Unfortunately, that commit stalled the Windows builds on GHA and likely requires other patches to work properly.
* | Merge pull request #14403 from seandewar/vim-8.2.1933Jan Edmund Lazo2021-05-09
|\ \ | |/ |/| vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
| * vim-patch:8.2.2287: sort test fails when locale is French CanadianSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails when locale is French Canadian. Solution: Expect a different sort order. (Dominique Pellé, closes vim/vim#7609) https://github.com/vim/vim/commit/cec77d4530ae51ee9ffe0ab57fa7a37cced2b181
| * vim-patch:8.2.2286: sort test fails when locale is Canadian EnglishSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails when locale is Canadian English. (Neil H Watson) Solution: Expect a different sort order. (closes vim/vim#7609) https://github.com/vim/vim/commit/fefa6c347e2c7f01ed2b095084f4aa694ff72149
| * vim-patch:8.2.1946: sort() with NULL string not testedSean Dewar2021-04-20
| | | | | | | | | | | | Problem: sort() with NULL string not tested. Solution: Add a test. use v:collate. (Dominique Pellé, closes vim/vim#7247) https://github.com/vim/vim/commit/35efa22ff2b98126363098db9304796b5624f97f
| * vim-patch:8.2.1935: sort test fails on MacSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Sort test fails on Mac. Solution: Disable the sort test with locale on Mac. https://github.com/vim/vim/commit/578f4cc7d0ce67101832b25cf77246fcd630e3c0
| * vim-patch:8.2.1933: cannot sort using locale orderingSean Dewar2021-04-20
| | | | | | | | | | | | | | Problem: Cannot sort using locale ordering. Solution: Add a flag for :sort and sort() to use the locale. (Dominique Pellé, closes vim/vim#7237) https://github.com/vim/vim/commit/55e29611d20bca14fa5efc61385bc8a6b7acd9e2
| * eval: port v:collateSean Dewar2021-04-20
| | | | | | | | Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
| * vim-patch:8.2.0174: various commands not completely testedSean Dewar2021-04-20
| | | | | | | | | | | | Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551) https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
* | vim-patch:8.2.2838: file extension .wrap not recognizedJan Edmund Lazo2021-05-08
| | | | | | | | | | | | Problem: File extension .wrap not recognized. Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177) https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809