aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1251: test completion of mapping keys #10691Jan Edmund Lazo2019-08-05
| | | | | Problem: No test for completion of mapping keys. Solution: Add a test. Also clean up the code. https://github.com/vim/vim/commit/2cb9f0253228478ec27265ff40f59c629874d695
* vim-patch:8.1.1796: :argdo is not testedJan Edmund Lazo2019-08-03
| | | | | | Problem: :argdo is not tested Solution: Add a test. https://github.com/vim/vim/commit/72e1b39111389001a20fbe8aa344ce2fe0a7e1a4
* vim-patch:8.1.1775: error message may be empty in filetype testJan Edmund Lazo2019-08-02
| | | | | | Problem: Error message may be empty in filetype test. Solution: Use v:exception instead. (Daniel Hahler, closs vim/vim#4744) https://github.com/vim/vim/commit/eee9f65b2a213e9031f172d9d3b22adad6cb985d
* vim-patch:8.1.1762: some filetype rules are in the wrong placeJan Edmund Lazo2019-08-02
| | | | | | Problem: Some filetype rules are in the wrong place. Solution: Move to the right place. Add a few more tests. https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac
* vim-patch:8.1.1761: filetype "vuejs" causes problems for some usersJan Edmund Lazo2019-08-02
| | | | | | Problem: Filetype "vuejs" causes problems for some users. Solution: Rename to "vue". https://github.com/vim/vim/commit/4248111497ab78f45d3d48576740949778a1e76b
* vim-patch:8.1.1187: cannot recognize PipfileJan Edmund Lazo2019-08-02
| | | | | | Problem: Cannot recognize Pipfile. Solution: Use existing filetypes. (Charles Ross, closes vim/vim#4280) https://github.com/vim/vim/commit/3a4c53ba51c01b8fea68972453a71c55cf32edbe
* tests: runnvim.vim: do not call jobstop() (#10659)Daniel Hahler2019-07-30
| | | | | | | | | | | It should be done for timeouts only (-1, not != -1), but the job is stopped via `:bwipeout!` already also in that case. Fixes E900 with timing out tests: "test_xxx.tlog" "test_xxx.tlog" [New] 183L, 13375C written Error detected while processing function Main: line 37: E900: Invalid channel id================================================================================
* tests: use Vim's version for patch 8.1.0005Daniel Hahler2019-07-30
| | | | | Not sure what happened in daca22f5b / #8821, but Vim used assert_match / no expand in vim/vim@d19b23415 (8.1.0005) already.
* py: flake8 fixesDaniel Hahler2019-07-29
|
* Merge #10645 from janlazo/vim-8.1.0999Justin M. Keyes2019-07-29
|\ | | | | vim-patch:8.1.{1005,1041,1049,1052,1053,1086,1394}
| * vim-patch:8.1.1049: when user tries to exit with CTRL-C message is confusingJan Edmund Lazo2019-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When user tries to exit with CTRL-C message is confusing. Solution: Only mention ":qa!" when there is a changed buffer. (closes vim/vim#4163) https://github.com/vim/vim/commit/a84a3dd6635fcd2e07f510cba6a999585dcc381a vim-patch:8.1.1052: test for CTRL-C message sometimes fails Problem: test for CTRL-C message sometimes fails Solution: Make sure there are no changed buffers. https://github.com/vim/vim/commit/553e5a5c568e7d175b65b0472cd6d9843b25f4c8 vim-patch:8.1.1053: warning for missing return statement Problem: Warning for missing return statement. (Dominique Pelle) Solution: Add return statement. https://github.com/vim/vim/commit/d6c3f1fa2b5e1dd7dc87cf608d72b84ad696b58f
| * vim-patch:8.1.1041: test for Arabic no longer neededJan Edmund Lazo2019-07-28
| | | | | | | | | | | | Problem: Test for Arabic no longer needed. Solution: Remove the test for something that was intentionally left out. https://github.com/vim/vim/commit/295e3ba31f76818f195c654df506c88cb65f9289
| * vim-patch:8.1.1394: not restoring t_F2 in registers testJan Edmund Lazo2019-07-28
| | | | | | | | | | | | 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
| * vim-patch:8.1.1005: test fails because t_F2 is not setJan Edmund Lazo2019-07-28
| | | | | | | | | | | | Problem: Test fails because t_F2 is not set. Solution: Add try-catch. https://github.com/vim/vim/commit/55d81cd2a15d93dba89b2ff1c988d82789919b6b
* | Merge #10615 'vim-patch:8.1.0053'Justin M. Keyes2019-07-29
|\ \ | |/ |/| fix #10604
| * vim-patch:8.1.0053 use typval_T in the caller of call_vim_functioncangscop2019-07-28
| | | | | | | | | | | | Problem: unreliable types for complete function arguments Solution: fix argument type for functions w/ unreliable type conversion(Ozaki Kiichi) vim/vim#2993
* | vim-patch:8.1.1138: add CompleteChanged #10644Justin M. Keyes2019-07-29
| | | | | | | | | | | | (This was originally a Neovim patch, but this commit merges some changes from the Vim patch.) https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
* | vim-patch:8.1.0017: shell command completion has duplicates #10616erw72019-07-29
| | | | | | | | | | 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
* | vim-patch:8.1.0990: floating point exception with "%= 0" and "/= 0"Jan Edmund Lazo2019-07-28
| | | | | | | | | | | | 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
* | vim-patch:8.1.1765: get(func, dict, def) does not work properlyJan Edmund Lazo2019-07-28
| | | | | | | | | | | | 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
* | vim-patch:8.1.1759: no mode char for terminal mapping from maparg()notomo2019-07-28
| | | | | | | | | | | | 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
* | vim-patch:8.1.1748: :args output is not aligned (#10625)Daniel Hahler2019-07-27
|/ | | | | | | | | | | | | | | | | 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
* tests: test_arglist.vim: align with Vim [ci skip] (#10612)Daniel Hahler2019-07-27
| | | This just moves the test to where it is in Vim.
* Revert "vim-patch:8.1.0430: Xargadd file left behind after running test"Jan Edmund Lazo2019-07-26
| | | | This reverts commit ce1b4f95fe684082cc9fb7e7e018e4f7c04338c4.
* vim-patch:8.1.0404: accessing invalid memory with long argument nameJan Edmund Lazo2019-07-26
| | | | | | | 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
* vim-patch:8.1.0910: crash with tricky search patternJan Edmund Lazo2019-07-25
| | | | | | 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
* vim-patch:8.1.0905: complicated regexp causes a crashJan Edmund Lazo2019-07-25
| | | | | | 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
* vim-patch:8.1.1746: ":dl" is seen as ":dlist" instead of ":delete"Jan Edmund Lazo2019-07-24
| | | | | | 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
* vim-patch:8.1.1740: exepath() doesn't work for "bin/cat" (#10556)Daniel Hahler2019-07-24
| | | | | | | | 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.
* vim-patch:8.1.1738: testing lambda with timer is slow (#10590)Daniel Hahler2019-07-24
| | | | | | 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
* vim-patch:8.1.1737: :args command that outputs one line gives more promptDaniel Hahler2019-07-24
| | | | | | | | 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.
* vim-patch:8.0.1738: ":args" output is hard to readDaniel Hahler2019-07-24
| | | | | | | | | | | | | | | 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
* vim-patch:8.1.0706: introduce :redrawtabline #10570Jan Edmund Lazo2019-07-22
| | | | | | | 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
* vim-patch:8.1.1720: crash with very long %[] patternJan Edmund Lazo2019-07-20
| | | | | | 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
* vim-patch:8.1.0789: session sets v:errmsg #10553Jan Edmund Lazo2019-07-20
| | | | | Problem: Sourcing a session sets v:errmsg. Solution: Use "%argdel" instead of "argdel *". (Jason Franklin) https://github.com/vim/vim/commit/555de4e3b2881b0d9a72242ecc2ba26b5c698c85
* vim-patch:8.1.0754: preferred column when setting 'cursorcolumn' #10549Jan Edmund Lazo2019-07-20
| | | | | | 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
* vim-patch:8.1.0729: there is a SourcePre autocommand event but not a SourcePostJan Edmund Lazo2019-07-17
| | | | | | 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
* vim-patch:8.1.0630: "wincmd p" does not work after using an autocmd windowJan Edmund Lazo2019-07-15
| | | | | | 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
* vim-patch:8.1.1651: suspend test is flaky on some systemsJan Edmund Lazo2019-07-15
| | | | | | 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
* vim-patch:8.1.0533: screendump tests can be flakyJan Edmund Lazo2019-07-15
| | | | | | Problem: Screendump tests can be flaky. Solution: Add VerifyScreenDump to the pattern of flaky tests. https://github.com/vim/vim/commit/447f6ce8bd42fe3adbdf97eff9a38a9bfef9eeed
* vim-patch:8.1.0531: flaky tests often fail with a common error messageJan Edmund Lazo2019-07-15
| | | | | | 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
* vim-patch:8.1.1221: filtering does not work when listing marksJan Edmund Lazo2019-07-15
| | | | | | 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
* vim-patch:8.1.0505: filter command test may fail if helplang is not setJan Edmund Lazo2019-07-15
| | | | | | 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
* vim-patch:8.1.0495: :filter only supports some commandsJan Edmund Lazo2019-07-15
| | | | | | | 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
* Merge #10435 from Shougo/vim-8.1.1610Justin M. Keyes2019-07-13
|\
| * vim-patch:8.1.1611: bufadd() reuses existing buffer without a nameShougo Matsushita2019-07-06
| | | | | | | | | | | | 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
| * vim-patch:8.1.1610: there is no way to add or load a buffer without side effectsShougo Matsushita2019-07-06
| | | | | | | | | | | | 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
* | vim-patch:8.1.1660: assert_fails() inside try/catch #10472Daniel Hahler2019-07-13
| | | | | | | | | | 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
* | oldtest: more compact output with "clean" target (#10477)Daniel Hahler2019-07-12
| | | | | | | | Previously it would be displayed across multiple lines (with the escaped newlines), while this makes it display in a single line.
* | vim-patch:8.1.1173: suspend test has duplicated lines (#10466)Daniel Hahler2019-07-11
| | | | | | | | | | Problem: Suspend test has duplicated lines. Solution: Use a function. https://github.com/vim/vim/commit/a8356bc1734195d130c6eeaf4858356ae3a3f722