aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | | vim-patch:8.0.0121Daniel Hahler2017-01-13
| | | | | | | | | | | | | | | | | | | | | Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) Solution: Add the P_RWINONLY flag. (closes vim/vim#1297) https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
* | | vim-patch:7.4.2100James McCoy2017-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "cgn" and "dgn" do not work correctly with a single character match and the replacement includes the searched pattern. (John Beckett) Solution: If the match is found in the wrong column try in the next column. Turn the test into new style. (Christian Brabandt) https://github.com/vim/vim/commit/6835dc61aebca2b602d85a9d63c449ace58683b4 Closes #5796
* | | vim-patch:7.4.2008James McCoy2017-01-10
|/ / | | | | | | | | | | | | | | Problem: evalcmd() has a confusing name. Solution: Rename to execute(). Make silent optional. Support a list of commands. https://github.com/vim/vim/commit/79815f1ec77406f2f21a618c053e5793b597db7a
* | Merge pull request #5893 from lonerover/vim-7.4.2127James McCoy2017-01-06
|\ \ | | | | | | vim-patch:7.4.2127
| * | vim-patch:7.4.2127rover2017-01-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The short form of ":noswapfile" is ":noswap" instead of ":now". (Kent Sibilev) Solution: Only require three characters. Add a test for the short forms. https://github.com/vim/vim/commit/3bcfca3ab4db415d0e750e00204dd25a91fcee77
* | | Merge pull request #5892 from lonerover/vim-7.4.2103James McCoy2017-01-06
|\ \ \ | | | | | | | | vim-patch: 7.4.2103
| * | | vim-patch:7.4.2103lonerover2017-01-05
| |/ / | | | | | | | | | | | | | | | | | | Problem: Can't have "augroup END" right after ":au!". Solution: Check for the bar character before the command argument. https://github.com/vim/vim/commit/e99e84497b89e5f91df519790802770920ecf4fe
* / / vim-patch:7.4.2110 (#5880)lonerover2017-01-05
|/ / | | | | | | | | | | | | Problem: When there is an CmdUndefined autocmd then the error for a missing command is E464 instead of E492. (Manuel Ortega) Solution: Don't let the pointer be NULL. https://github.com/vim/vim/commit/eac784eced501c54d2c99e18a1af96cd996f3a6c
* | Merge #5872 justinmk/test_autochdirJustin M. Keyes2017-01-04
|\ \
| * | refactor: Remove VimL function `test_autochdir()`Justin M. Keyes2017-01-04
| | | | | | | | | | | | | | | | | | | | | - Eliminate global test_autochdir. - Eliminate VimL function test_autochdir() - Use a lua test instead. Fails correctly after reverting 0c4347997954 / vim-patch:7.4.2015.
| * | vim-patch:6f1d9aShougo Matsushita2017-01-02
| | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
| * | vim-patch:7.4.2015Shougo Matsushita2017-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When a file gets a name when writing it 'acd' is not effective. (Dan Church) Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes vim/vim#777, closes vim/vim#803) Add test_autochdir() to enable 'acd' before "starting" is reset. https://github.com/vim/vim/commit/5c71994f4ee5f87d4cce990dbc9684c70b1e108b
* | | vim-patch:7.4.1847lonerover2017-01-03
|/ / | | | | | | | | | | | | | | | | Problem: Getting an item from a NULL dict crashes. Setting a register to a NULL list crashes. (Nikolai Pavlov, issue vim/vim#768) Comparing a NULL dict with a NULL dict fails. Solution: Properly check for NULL. https://github.com/vim/vim/commit/13ddc5c35921efa69e980284117b6db6465e019c
* | Merge pull request #5613 from jamessan/vim-7.4.2183James McCoy2017-01-01
|\ \ | | | | | | vim-patch:7.4.2183,7.4.2194,7.4.2201,7.4.2204,0952131,7.4.2215,7.4.2225,7.4.2226,7.4.2272,7.4.2273,7.4.2277,7.4.2294
| * | vim-patch:7.4.2294James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Sign test fails on MS-Windows when using the distributed zip archives. Solution: Create dummy files instead of relying on files in the pixmaps directory. https://github.com/vim/vim/commit/64cefedfc834aa4dac54ae5f91ccbc04e2d56bc5
| * | vim-patch:7.4.2273James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | Problem: getwininfo() and getbufinfo() are inefficient. Solution: Do not make a copy of all window/buffer-local options. Make it possible to get them with gettabwinvar() or getbufvar(). https://github.com/vim/vim/commit/3056735ae8a366aa7fcb51872520895251858637
| * | vim-patch:7.4.2226James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The field names used by getbufinfo(), gettabinfo() and getwininfo() are not consistent. Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/339288377072f66ec88e21903e75a82d23ffbf4f
| * | vim-patch:7.4.2225James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | Problem: Crash when placing a sign in a deleted buffer. Solution: Check for missing buffer name. (Dominique Pelle). Add a test. https://github.com/vim/vim/commit/bfd096d02087a10e8e2f4bdfb74e0435506fa8bb
| * | vim-patch:7.4.2215James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It's not easy to find out if a window is a quickfix or location list window. Solution: Add "loclist" and "quickfix" entries to the dict returnec by getwininfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/386600f0cbcb8add099c723cf84634f46df2f788
| * | vim-patch:7.4.2204James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
| * | vim-patch:7.4.2194James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | Problem: Sign tests don't cover enough. Solution: Add more test cases. (Dominique Pelle) https://github.com/vim/vim/commit/446a973ce3ce4988607292c0e6345db788f12c7b
| * | vim-patch:7.4.2183James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | Problem: Sign tests are old style. Solution: Turn them into new style tests. (Dominique Pelle) https://github.com/vim/vim/commit/09de17536dd84e43aed7a575183e320e8d980b68
| * | vim-patch:7.4.2149James McCoy2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If a test leaves a window open a following test may fail. Solution: Always close extra windows after running a test. https://github.com/vim/vim/commit/7cba71d7e3576639679b6a3aedeeb1ac07f7f2f5 Apply the runtest.vim changes that were missing from 4431975210b58c6b0403ee50172bad3c8729bbb2
* | | vim-patch:7.4.1785Michael Ennen2016-12-31
| | | | | | | | | | | | | | | | | | | | | Problem: Regexp test fails on windows. Solution: set 'isprint' to the right value for testing. https://github.com/vim/vim/commit/490465bda6ab66f78041709cc02f48a25486a3e5
* | | vim-patch:7.4.1783Michael Ennen2016-12-31
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The old regexp engine doesn't handle character classes correctly. (Manuel Ortega) Solution: Use regmbc() instead of regc(). Add a test. https://github.com/vim/vim/commit/af98a49dd0ef1661b4998f118151fddbf6e4df75
* | | vim-patch:7.4.1970 (#5850)lonerover2016-12-31
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo Karkat) Solution: Don't adjust marks when replacing the empty line in an empty buffer. (closes vim/vim#892) https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
* | | vim-patch:7.4.1940 (#5849)lonerover2016-12-31
|/ / | | | | | | | | | | Problem: "gd" hangs in some situations. (Eric Biggers) Solution: Remove the SEARCH_START flag when looping. Add a test. https://github.com/vim/vim/commit/23c60f21b07b04351d846e6fbf4f4abd9aa09345
* | vim-patch:7.4.1837 (#5834)lonerover2016-12-27
| | | | | | | | | | | | | | Problem: The BufUnload event is triggered twice, when :bunload is used with set to or . Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi) https://github.com/vim/vim/commit/c67e89213476b5f4756d92208b57ce9ef4a4cf24
* | vim-patch:7.4.2010James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: There is a :cbottom command but no :lbottom command. Solution: Add :lbottom. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/537ef08408c50e0c4104d57f74993b3b0ed9560d
* | vim-patch:7.4.1997James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Cannot easily scroll the quickfix window. Solution: Add ":cbottom". https://github.com/vim/vim/commit/dcb170018642ec144cd87d9d9fe076575b8d1263
* | vim-patch:7.4.1984James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Not all quickfix features are tested. Solution: Add a few more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/0fcc7c6dd1902b71e0e7d0a35ddabafef6455a83
* | vim-patch:7.4.1980James McCoy2016-12-27
| | | | | | | | | | | | | | | | | | Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add to two location lists asynchronously. Solution: Keep the previously parsed data when appropriate. (mostly by Yegappan Lakshmanan) https://github.com/vim/vim/commit/361c8f0e517e41f1f1d34dae328044406fde80ac
* | vim-patch:7.4.1953James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Not all parts of the quickfix code are tested. Solution: Add more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/049cba9e9760152b5695399a991dc61cea9ba143
* | vim-patch:7.4.1950James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Quickfix long lines test not executed for buffer. Solution: Call the function to test long lines. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/f50df3925b7c909d1cda4c868d8c7ba38189aabe
* | vim-patch:7.4.1949James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Minor problems with the quickfix code. Solution: Fix the problems. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/38df43bd13a2498cc96b3ddd9a20dd75126bd171
* | vim-patch:7.4.1941James McCoy2016-12-27
| | | | | | | | | | | | | | | | Problem: Not all quickfix tests are also done with the location lists. Solution: Test more quickfix code. Use user commands instead of "exe". (Yegappan Lakshmanan) https://github.com/vim/vim/commit/3ef5bf7d459d6b8a21aaefc80f65448f5a7aa59f
* | vim-patch:7.4.1937James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: No test for directory stack in quickfix. Solution: Add a test. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/ab47c61f46f0797308217cd3c045472cb0ec3195
* | vim-patch:7.4.1912James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: No test for using setqflist() on an older quickfix list. Solution: Add a couple of tests. https://github.com/vim/vim/commit/1cee693b310e1494115a1677fac064941092e1bb
* | vim-patch:7.4.1841James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: The code to reallocate the buffer used for quickfix is repeated. Solution: Move the code to a function. (Yegappan Lakshmanan, closes vim/vim#831) https://github.com/vim/vim/commit/2b2b8ae5ab37b04584633c469265d85825166905
* | vim-patch:7.4.1802James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: Quickfix doesn't handle long lines well, they are split. Solution: Drop characters after a limit. (Anton Lindqvist) https://github.com/vim/vim/commit/6be8c8e165204b8aa4eeb8a52be87a58d8b41b9e
* | vim-patch:7.4.1768James McCoy2016-12-27
| | | | | | | | | | | | | | | | Problem: Arguments of setqflist() are not checked properly. Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi, closes vim/vim#661) https://github.com/vim/vim/commit/d106e5ba7f10f0d2a14eaefe5d78405044416cb9
* | vim-patch:7.4.1752James McCoy2016-12-27
| | | | | | | | | | | | | | Problem: When adding to the quickfix list the current position is reset. Solution: Do not reset the position when not needed. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/c1808d5822ed9534ef7f0fe509b15bee92a5cc28
* | test: quickfix: Move upstream vim quickfix test to src/nvim/testdirJames McCoy2016-12-27
| | | | | | | | | | Massaging the upstream patches for this test into the lua tests are too cumbersome and slow down patching.
* | vim-patch:7.4.1816 (#5833)lonerover2016-12-26
| | | | | | | | | | | | Problem: Looping over a null list throws an error. Solution: Skip over the for loop. https://github.com/vim/vim/commit/d8585eded6359f1d7e1981e96ae775efd077c638
* | vim-patch:0 completion-related patches #5745 #5829Shougo Matsushita2016-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0058 Problem: Positioning of the popup menu is not good. Solution: Position it better. (Hirohito Higashi) https://github.com/vim/vim/commit/91e44a3305ef6bf2d43496c351dcff0a45c6bfb8 vim-patch:8.0.0099 Problem: Popup menu always appears above the cursor when it is in the lower half of the screen. (Matt Gardner) Solution: Compute the available space better. (Hirohito Higashi, closes vim/vim#1241) https://github.com/vim/vim/commit/73095288da839f7c738a49baa109773e76106806 vim-patch:8.0.0127 Problem: Cancelling completion still inserts text when formatting is done for 'textwidth'. (lacygoill) Solution: Don't format when CTRL-E was typed. (Hirohito Higashi, closes vim/vim#1312) https://github.com/vim/vim/commit/73fd4988866c3adc15b5d093efdf5e8cf70d093d vim-patch:7.4.2188 Problem: Completion does not work properly with some plugins. Solution: Revert the part related to typing CTRL-E. (closes vim/vim#972) https://github.com/vim/vim/commit/c9fb77c69244870a97384152f20845665c19fe39 vim-patch:7.4.2146 Problem: Not enough testing for popup menu. CTRL-E does not always work properly. Solution: Add more tests. When using CTRL-E check if the popup menu is visible. (Christian Brabandt) https://github.com/vim/vim/commit/472472898ab71ac80a86fedc37f8eb91461788dd vim-patch:7.4.2147 Problem: test_alot fails. Solution: Close window. https://github.com/vim/vim/commit/abb71fbd399772d467aaa7b34b958b0f975c7e65 vim-patch:7.4.2149 Problem: If a test leaves a window open a following test may fail. Solution: Always close extra windows after running a test. https://github.com/vim/vim/commit/7cba71d7e3576639679b6a3aedeeb1ac07f7f2f5 vim-patch:7.4.2321 Problem: When a test is commented out we forget about it. Solution: Let a test throw an exception with "Skipped" and list skipped test functions. (Christian Brabandt) https://github.com/vim/vim/commit/dac1947bb366ef43cd6da95acc730554e76d8b84 vim-patch:7.4.2331 Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode does not work after entering an expression on the command line. Solution: Don't use "ccline" when not actually using a command line. (test by Hirohito Higashi) https://github.com/vim/vim/commit/33a80eeb859a78ba93432da6fa585786cfd77249 vim-patch:8.0.0008 Problem: Popup complete test is disabled. Solution: Enable the test and change the assert. (Hirohito Higashi) https://github.com/vim/vim/commit/9e02cfa226b2577ec867b544a1a450a428a19880 vim-patch:8.0.0047 Problem: Crash when using the preview window from an unnamed buffer. (lifepillar) Solution: Do not clear the wrong buffer. (closes vim/vim#1200) https://github.com/vim/vim/commit/50e5376926dc2ec4a26a7a16f8f0f3213c4afdf0 vim-patch:8.0.0053 Problem: No test for what 8.0.0047 fixes. Solution: Add a test. (Hirohito Higashi) https://github.com/vim/vim/commit/60ef3e81f4a54d9f7ee617d57021f0811ec8ada5
* | vim-patch:7.4.2126lonerover2016-12-23
| | | | | | | | | | | | | | Problem: No tests for :diffget and :diffput Solution: Add tests. https://github.com/vim/vim/commit/90d121fa3637b423169c64528efe84a1e67060c9
* | vim-patch:7.4.2124lonerover2016-12-23
| | | | | | | | | | | | | | Problem: diffmode test leaves files behind, breaking another test. Solution: Delete the files. https://github.com/vim/vim/commit/623cf88f9c5ad49cce8e846af29a1bb9346c7481
* | vim-patch:7.4.2123lonerover2016-12-22
| | | | | | | | | | | | | | Problem: No new style test for diff mode. Solution: Add a test. Check that folds are in sync. https://github.com/vim/vim/commit/42093c0ec52e6ff29e80aae65ac6a744c7de79bb
* | Make partials work with jobs, timers, and dictwatchers.Björn Linse2016-12-12
| |
* | vim-patch:7.4.1875Michael Ennen2016-12-12
| | | | | | | | | | | | | | | | Problem: Comparing functions and partials doesn't work well. Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the partial. https://github.com/vim/vim/commit/8e759ba8651428995b338b66c615367259f79766