aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.1143: may pass weird strings to file name expansionJan Edmund Lazo2020-01-26
| | | | | | Problem: May pass weird strings to file name expansion. Solution: Check for matching characters. Disallow control characters. https://github.com/vim/vim/commit/8f130eda4747e4a4d68353cdb650f359fd01469b
* vim-patch:8.1.2245: third character of 'listchars' tab shows in wrong placeJan Edmund Lazo2020-01-24
| | | | | | | Problem: Third character of 'listchars' tab shows in wrong place when 'breakindent' is set. Solution: Set c_final to NUL. (Naruhiko Nishino, closes vim/vim#5165) https://github.com/vim/vim/commit/2f7b7b1e123d505637d21e0df28eb9e92667479c
* vim-patch:8.2.0147: block Visual mode operators not correct when 'linebreak' setJan Edmund Lazo2020-01-24
| | | | | | Problem: Block Visual mode operators not correct when 'linebreak' set. Solution: Set w_p_lbr to lbr_saved more often. (Ken Takata, closes vim/vim#5524) https://github.com/vim/vim/commit/03c3bd9fd094c1aede2e8fe3ad8fd25b9f033053
* vim-patch:8.2.0146: wrong indent when 'showbreak' and 'breakindent' are setJan Edmund Lazo2020-01-23
| | | | | | | Problem: Wrong indent when 'showbreak' and 'breakindent' are set and 'briopt' includes "sbr". Solution: Reset "need_showbreak" where needed. (Ken Takata, closes vim/vim#5523) https://github.com/vim/vim/commit/dfede9a70b3136988a8f262742101ad5cb98f46d
* vim-patch:8.2.0141: no swift filetype detection (#11747)Jan Edmund Lazo2020-01-23
| | | | | Problem: No swift filetype detection. Solution: Add swift, swiftgyb and sil. (Emir Sarı, closes vim/vim#5517) https://github.com/vim/vim/commit/0d76683e094c6cac2e879601aff3acf1163cbe0b
* Merge #11735 ':tabs : show # for previous tabpage'Justin M. Keyes2020-01-19
|\
| * tabpage: :tabs indicates previous tabpage's curwinWe're Yet2020-01-19
| |
* | Merge #11737 from janlazo/vim-8.1.2421Justin M. Keyes2020-01-19
|\ \ | | | | | | vim-patch:8.1.{2031,2421}
| * | vim-patch:8.1.2421: test88 is old styleJan Edmund Lazo2020-01-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Test88 is old style. Solution: Turn into a new style test. (Yegappan Lakshmanan, closes vim/vim#5347) https://github.com/vim/vim/commit/213ed008bbcd9fe0d3329b17f5f4af0169e448ff 'test_conceal.vim' requires +conceal and +terminal so it is N/A.
* | | Merge pull request #11736 from bfredl/tencBjörn Linse2020-01-19
|\ \ \ | |/ / |/| | restore old 'termencoding' behavior
| * | restore old 'termencoding' behaviorBjörn Linse2020-01-19
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially reverts #11647. Replaces #11662 The old implementation was removed without clear motivation. The "term option" hackaround added in its place is neither shorter nor simpler. The new behavior breaks even init.vim that expliticly check against it: if exists('&termencoding') set termencoding=utf-8 endif There was nothing wrong with the 0.4.x behavior. Empty &tenc has indicated that the &enc value should be used for all the history of Nvim. Ignoring setting the option is the expected behavior for Vim versions that does not support the option (and Nvim is such a version) 'tenc' was also irrelevant to the Test_unicode python3 test. The reason this has to be disabled is that neovim can't change internal 'encoding'
* | vim-patch:8.2.0123: complete_info() does not work when CompleteDone is triggeredJan Edmund Lazo2020-01-17
| | | | | | | | | | | | Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info. https://github.com/vim/vim/commit/17e04781f26c24769e202351c194ee252927eee1
* | vim-patch:8.1.1139: no test for what is fixed in patch 8.1.0716Jan Edmund Lazo2020-01-17
| | | | | | | | | | | | Problem: No test for what is fixed in patch 8.1.0716. Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#3797) https://github.com/vim/vim/commit/9845f36aa6ba28e0aa388bb635d4bb8ab56f1a47
* | vim-patch:8.1.0716: get warning message when 'completefunc' returns nothingJan Edmund Lazo2020-01-17
| | | | | | | | | | | | | | Problem: Get warning message when 'completefunc' returns nothing. Solution: Allow for returning v:none to suppress the warning message. (Yasuhiro Matsumoto, closes vim/vim#3789) https://github.com/vim/vim/commit/cee9bc2e3dc5c16a9d2a8d0e23aa0d5fdefa3a4a
* | vim-patch:8.2.0120: virtcol() does not check arguments to be validJan Edmund Lazo2020-01-17
| | | | | | | | | | | | | | | | Problem: virtcol() does not check arguments to be valid, which may lead to a crash. Solution: Check the column to be valid. Do not decrement MAXCOL. (closes vim/vim#5480) https://github.com/vim/vim/commit/b3d33d8570bc49a7f90990572d7f9630a1bfae02
* | vim-patch:8.2.0112: illegal memory access when using 'cindent'Jan Edmund Lazo2020-01-17
|/ | | | | | Problem: Illegal memory access when using 'cindent'. Solution: Check for NUL byte. (Dominique Pelle, closes vim/vim#5470) https://github.com/vim/vim/commit/02ad46394e8f887b60fda994f8a5da2ac1937b23
* vim-patch:8.1.1309: test for Normal highlight fails on MS-Windows GUIJan Edmund Lazo2020-01-06
| | | | | | Problem: Test for Normal highlight fails on MS-Windows GUI. Solution: Skip the test for MS-Windows GUI. https://github.com/vim/vim/commit/6b528fa062a5ac6bb5d8bd3abc26f32c65691d00
* vim-patch:8.1.1308: the Normal highlight is not defined when compiled with GUIJan Edmund Lazo2020-01-06
| | | | | | Problem: The Normal highlight is not defined when compiled with GUI. Solution: Always define Normal. (Christian Brabandt, closes vim/vim#4072) https://github.com/vim/vim/commit/f90b6e03a983b62b66564fc449e32724d6456769
* vim-patch:8.1.1579: dict and list could be GC'ed while displaying errorJan Edmund Lazo2020-01-05
| | | | | | | | | Problem: Dict and list could be GC'ed while displaying error in a timer. (Yasuhiro Matsumoto) Solution: Block garbage collection when executing a timer. Add test_garbagecollect_soon(). Add "no_wait_return" to test_override(). (closes vim/vim#4571) https://github.com/vim/vim/commit/adc6714aac20f5462a0ecec50ab4806b2f3ab0db
* vim-patch:8.1.0851: feedkeys() with "L" does not work properlyJan Edmund Lazo2020-01-05
| | | | | | | Problem: feedkeys() with "L" does not work properly. Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, closes vim/vim#3885) https://github.com/vim/vim/commit/8d4ce56a19ed14d13332f94ad592fff2d9a715d5
* vim-patch:8.1.0844: when timer fails test will hang foreverJan Edmund Lazo2020-01-03
| | | | | | Problem: When timer fails test will hang forever. Solution: Use reltime() to limit waiting time. (Ozaki Kiichi, closes vim/vim#3878) https://github.com/vim/vim/commit/50948e4ac24314d5a70404bbc592ffc28755ad9f
* vim-patch:8.1.0842: getchar_zero test fails on MS-WindowsJan Edmund Lazo2020-01-03
| | | | | | Problem: getchar_zero test fails on MS-Windows. Solution: Disable the test for now. https://github.com/vim/vim/commit/cb908a813cebf7fb4608ff43fc3d258cf2768809
* vim-patch:8.1.0840: getchar(0) never returns a character in the terminalJan Edmund Lazo2020-01-03
| | | | | | Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once. https://github.com/vim/vim/commit/12dfc9eef14fe74c46145aa9e6cba9666f1bcd40
* vim-patch:8.0.1817: a timer may change v:count unexpectedlyJan Edmund Lazo2020-01-03
| | | | | | | Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes vim/vim#2897) https://github.com/vim/vim/commit/b0f42ba60d9e6d101d103421ba0c351811615c15
* vim-patch:8.2.0079: test still fails on MS-Windows #11663Jan Edmund Lazo2020-01-03
| | | | | Problem: Python 3 unicode test still fails on MS-Windows. Solution: Do not set 'encoding' to "euc-tw" on MS-Windows. https://github.com/vim/vim/commit/7fc4785ea19306b7e94beb61f226cf40c32b1aba
* option: restore termencoding (readonly) #11662Jan Edmund Lazo2020-01-02
| | | | 'termencoding' option was removed in abaabd1d03fd723630f6addeadee9928faa4cdde but some plugins check its value.
* vim-patch:8.2.0076: Python 3 unicode test fails on MS-WindowsJan Edmund Lazo2020-01-01
| | | | | | Problem: Python 3 unicode test fails on MS-Windows. Solution: Do not set 'encoding' to "debug" on MS-Windows. https://github.com/vim/vim/commit/955f4e6f36ea009b90803d12a62108c94f446778
* vim-patch:8.2.0075: Python 3 unicode test still sometimes failsJan Edmund Lazo2020-01-01
| | | | | | Problem: Python 3 unicode test still sometimes fails. Solution: Skip the test when 'termencoding' is not empty. https://github.com/vim/vim/commit/2466aea508f22d44099d54ed6d15c0a1d90f8d6e
* vim-patch:8.2.0074: Python 3 unicode test someitmes failsJan Edmund Lazo2020-01-01
| | | | | | Problem: Python 3 unicode test someitmes fails. Solution: Make 'termencoding' empty. Correct number of error message. https://github.com/vim/vim/commit/4b7cdca23035eacf6cd0e30b90546cf32f7efe9e
* vim-patch:8.2.0070: crash when using Python 3 with "debug" encodingJan Edmund Lazo2020-01-01
| | | | | | Problem: Crash when using Python 3 with "debug" encoding. (Dominique Pelle) Solution: Use "euc-jp" whenever enc_dbcs is set. https://github.com/vim/vim/commit/d518f952f0812778758b25139308bcf45df6988c
* vim-patch:8.2.0068: crash when using Python 3 with "utf32" encodingJan Edmund Lazo2019-12-31
| | | | | | Problem: Crash when using Python 3 with "utf32" encoding. (Dominique Pelle) Solution: Use "utf-8" whenever enc_utf8 is set. (closes vim/vim#5423) https://github.com/vim/vim/commit/556684ff71e044a642879d759373a7ebc5047fad
* vim-patch:8.1.1346: error for Python exception does not show useful infoJan Edmund Lazo2019-12-31
| | | | | | | Problem: Error for Python exception does not show useful info. Solution: Show the last line instead of the first one. (Ben Jackson, closes vim/vim#4381) https://github.com/vim/vim/commit/7f3a28490abb7c495239fc438825e3d1aaafa76d
* vim-patch:8.1.1741: cleared/added match highlighting not updated in other windowJan Edmund Lazo2019-12-30
| | | | | | | Problem: Cleared/added match highlighting not updated in other window. (Andi Massimino) Solution: Mark the right window for refresh. https://github.com/vim/vim/commit/4ef18dcc2e3a6a9aea2dc90bbdb742c3c9231394
* vim-patch:8.1.1739: deleted match highlighting not updated in other windowJan Edmund Lazo2019-12-30
| | | | | | | Problem: Deleted match highlighting not updated in other window. Solution: Mark the window for refresh. (closes vim/vim#4720) Also fix that ambi-width check clears with wrong attributes. https://github.com/vim/vim/commit/06029a857a3d4d90b3162090506c1e00dc84c60b
* Merge #11632 from janlazo/vim-8.1.2087Justin M. Keyes2019-12-30
|\ | | | | vim-patch:8.1.2087,8.2.0058
| * vim-patch:8.2.0058: running tests changes ~/.viminfoJan Edmund Lazo2019-12-29
| | | | | | | | | | | | Problem: Running tests changes ~/.viminfo. Solution: Make 'viminfo' empty when summarizing tests results. (closes vim/vim#5414) https://github.com/vim/vim/commit/eb698d0b3295675f184ad4b62034e064cded4ade
| * vim-patch:8.1.2087: cannot easily select one test function to executeJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | Problem: Cannot easily select one test function to execute. Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi, closes vim/vim#2695) https://github.com/vim/vim/commit/a7f6c3cf071bb6267e0bd2eb3d27ca240381ba87
* | vim-patch:8.0.1540: popup menu positioning fails with longer stringJan Edmund Lazo2019-12-29
| | | | | | | | | | | | | | Problem: Popup menu positioning fails with longer string. Solution: Only align with right side of window when width is less than 'pumwidth' (closes vim/vim#2661) https://github.com/vim/vim/commit/2b10bcbfc1c025bf7e6358326ee70105e7d30e96
* | vim-patch:8.1.0554: popup menu overlaps with preview windowJan Edmund Lazo2019-12-29
|/ | | | | | | | Problem: Popup menu overlaps with preview window. Solution: Adjust the height computation. (Hirohito Higashi, closes vim/vim#3414) https://github.com/vim/vim/commit/614ab8aa00346724bfc27980d25985d482269b75 Cherry-picked "row -> pum_win_row" rename changes from patch 8.1.0062.
* vim-patch:8.2.0030: "gF" does not work on output of "verbose command"Jan Edmund Lazo2019-12-22
| | | | | | Problem: "gF" does not work on output of "verbose command". Solution: Recognize " line " and translations. (closes vim/vim#5391) https://github.com/vim/vim/commit/64e74c9cc7d5aab215cf72d9bdd3aac32e128191
* vim-patch:8.0.1767: with 'incsearch' text may jump up and downJan Edmund Lazo2019-12-22
| | | | | | | Problem: With 'incsearch' text may jump up and down. () Solution: Besides w_botline also save and restore w_empty_rows. (closes # 2530) https://github.com/vim/vim/commit/9d34d90210ba52ebaf45973282e5921f5af364c7
* tests: sync Test_undojoin_redo from Vim #11589Daniel Hahler2019-12-22
| | | This was not added in e0e482589 with Vim patch 8.0.0205.
* vim-patch:8.2.0024: filetype Rego not recognizedJan Edmund Lazo2019-12-20
| | | | | | Problem: Filetype Rego not recognized. Solution: Add *.rego. (Matt Dunford, closes vim/vim#5376) https://github.com/vim/vim/commit/a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6
* vim-patch:8.2.0019: cannot number of lines of another bufferJan Edmund Lazo2019-12-20
| | | | | | | Problem: Cannot number of lines of another buffer. Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto, closes vim/vim#5370) https://github.com/vim/vim/commit/a9e9679de3ef082ee29868ab404283dfc53258f2
* test/old: skip Test_screenpos for nowJan Edmund Lazo2019-12-18
| | | | It fails in CI.
* vim-patch:8.2.0018: :join does not add white space where it shouldJan Edmund Lazo2019-12-18
| | | | | | Problem: :join does not add white space where it should. (Zdenek Dohnal) Solution: Handle joining multiple lines propely. https://github.com/vim/vim/commit/91b65e49440e77222a65b6f868507453239f409b
* vim-patch:8.2.0015: not all modeline variants are testedJan Edmund Lazo2019-12-17
| | | | | | Problem: Not all modeline variants are tested. Solution: Add modeline tests. (Dominique Pelle, closes vim/vim#5369) https://github.com/vim/vim/commit/e74331db4b1b6a64fbbc188ff9bc472a478b9a4e
* vim-patch:8.2.0012: some undo functionality is not testedJan Edmund Lazo2019-12-16
| | | | | | Problem: Some undo functionality is not tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5364) https://github.com/vim/vim/commit/559b9c68fe550f3af63d42e0838622aab1ceb1b3
* vim-patch:8.2.0010: test64 is old styleJan Edmund Lazo2019-12-16
| | | | | | Problem: Test64 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5363) https://github.com/vim/vim/commit/f9cb05c14753d984f002c0c090688f8510147e6b
* vim-patch:8.2.0008: test72 is old styleJan Edmund Lazo2019-12-16
| | | | | | Problem: Test72 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5362) https://github.com/vim/vim/commit/3e2d1c8cd61ca073e680f3b221ce887e05ba39cf