aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cmdline.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.2.2341: expresison command line completion incomplete after "g:"Jan Edmund Lazo2021-03-12
| | | | | | | | | | Problem: Expresison command line completion shows variables but not functions after "g:". (Gary Johnson) Solution: Prefix "g:" when needed to a global function. https://github.com/vim/vim/commit/1bb4de5302ba038b9c59e845b6d735e87d5681d0 Port most of patch v8.2.0335 to complete script-local functions if the name starts with "s:".
* vim-patch:8.2.0925: getcompletion() does not return command line argumentsJan Edmund Lazo2021-02-14
| | | | | | Problem: Getcompletion() does not return command line arguments. Solution: Add the "cmdline" option. (Shougo, closes vim/vim#1140) https://github.com/vim/vim/commit/1f1fd44ef796dd909ff5f3e5288b3fd79294dc71
* vim-patch:8.2.2234: command line wildmenu test often fails with Unix GUIJan Edmund Lazo2020-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command line wildmenu test often fails with Unix GUI. Solution: Skip the test where it is expected to fail. https://github.com/vim/vim/commit/3e112acc220dcacb58d77edca71910a532fffd0f Include modeline fix for ASAN build. N/A patches for version.c: vim-patch:8.2.1785: compiler warning for strcp() out of bounds Problem: Compiler warning for strcp() out of bounds. (Christian Brabandt) Solution: use memmove() instead. https://github.com/vim/vim/commit/3f974ff45e0ea4b85fea7d8768f005d8a2c7941e vim-patch:8.2.2235: build failure with some Ruby versions Problem: Build failure with some Ruby versions. Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes vim/vim#7564) https://github.com/vim/vim/commit/dace9f785fca6cc802b2fb7f11a5ee4fab896432 vim-patch:8.2.2237: CI on Mac fails in sed command Problem: CI on Mac fails in sed command. Solution: Set LC_ALL to "C". (Ozaki Kiichi, closes vim/vim#7565) https://github.com/vim/vim/commit/ed1e4c9a70aaa7de56bac23e75a846e874a32a56 vim-patch:8.2.2241: Build with Ruby and clang may fail Problem: Build with Ruby and clang may fail. Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes vim/vim#7566) https://github.com/vim/vim/commit/864a28b6a6ae4f1a56e230be26bc6d13e3f8b3d9
* vim-patch:8.2.1580: wildmenu does not work properlyJan Edmund Lazo2020-12-26
| | | | | | | Problem: Wildmenu does not work properly. Solution: Do not call may_do_incsearch_highlighting() if completion is in progress. https://github.com/vim/vim/commit/a60053b8f4cc7e135ba9496a8f4855d26aee09e7
* vim-patch:8.2.1121: command completion not working after ++argJan Edmund Lazo2020-12-26
| | | | | | Problem: Command completion not working after ++arg. Solution: Move skipping up. (Christian Brabandt, closes vim/vim#6382) https://github.com/vim/vim/commit/743d0620203388bf87dc611cea544b485e4b9f85
* vim-patch:8.2.1007: completion doesn't work after ":r ++arg !"Jan Edmund Lazo2020-12-26
| | | | | | | Problem: Completion doesn't work after ":r ++arg !". Solution: Skip over "++arg". (Christian Brabandt, closes vim/vim#6275, closes vim/vim#6258) https://github.com/vim/vim/commit/c8cb883015619cfe6db931ac2d6e15b0be5c56ed
* vim-patch:8.1.2227: layout wrong if 'lines' changes while cmdline window is openJan Edmund Lazo2020-12-26
| | | | | | | Problem: Layout wrong if 'lines' changes while cmdline window is open. Solution: Do not restore the window layout if 'lines' changed. (closes vim/vim#5130) https://github.com/vim/vim/commit/1c329c04be2e95a3589a53f2978926e91b450cca
* vim-patch:8.2.2221: if <Down> is mapped on the command line 'wildchar' is ↵Jan Edmund Lazo2020-12-26
| | | | | | | | inserted Problem: If <Down> is mapped on the command line 'wildchar' is inserted. Solution: Set KeyTyped when using 'wildchar'. (closes vim/vim#7552) https://github.com/vim/vim/commit/b0ac4ea5e1c5f0ff4e951978c32ccfffe46916f8
* vim-patch:8.2.2206: :exe command line completion only works for first argumentJan Edmund Lazo2020-12-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :exe command line completion only works for first argument. Solution: Skip over text if more is following. (closes vim/vim#7546) https://github.com/vim/vim/commit/4941b5effd7f6a26583a949c92ee50276a3b43f9 Port "IS_WHITE_OR_NUL" macro from patch v8.2.0562 as "ascii_iswhite_or_nul()" inline function. N/A patches for version.c: vim-patch:8.2.0782: cannot build with Lua on MS-Windows Problem: Cannot build with Lua on MS-Windows. Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata) https://github.com/vim/vim/commit/df1643a6a7886b9363c2a98438e61cbe1c803d41 vim-patch:8.2.0856: CTRL-S stops output Problem: CTRL-S stops output. Solution: Invert the IXON flag. (closes vim/vim#6166) https://github.com/vim/vim/commit/928eec649b8af389de0fdb7aba2034d27df3e058 vim-patch:8.2.1212: cannot build with Lua 5.4 Problem: Cannot build with Lua 5.4. Solution: Use luaL_typeerror instead defining it. (closes vim/vim#6454) https://github.com/vim/vim/commit/5551b131daef3a621a28dcbbe118920f5b9fabe6 vim-patch:8.2.2211: MS-Windows: can't load Python dll if not in the path Problem: MS-Windows: can't load Python dll if not in the path. Solution: Use the InstallPath registry entry. (Kelvin Lee, closes vim/vim#7540) https://github.com/vim/vim/commit/b2f9e0e2c537bcde16dab3b62687a17e17849ce1
* vim-patch:8.2.0051: command line completion test skippedJan Edmund Lazo2020-12-25
| | | | | | | | Problem: Command line completion test skipped. (Christian Brabandt) Solution: Invert condition. https://github.com/vim/vim/commit/731a799bb926c6f424dbfb63430cf631ca7e132a Cherry-pick Test_cmdline_complete_bang() from patch v8.2.0049.
* vim-patch:8.2.0257: cannot recognize a terminal in a popup windowJan Edmund Lazo2020-11-25
| | | | | | Problem: Cannot recognize a terminal in a popup window. Solution: Add the win_gettype() function. https://github.com/vim/vim/commit/00f3b4e007af07870168bf044cecc9d544483953
* vim-patch:8.1.2390: test94 is old style, fix 7.4.441 not testedJan Edmund Lazo2020-11-25
| | | | | | | Problem: Test94 is old style, fix 7.4.441 not tested. Solution: Turn test94 into a new style test. Add tests for the fix in patch 7.4.441. (Yegappan Lakshmanan, closes vim/vim#5316) https://github.com/vim/vim/commit/309976ec1f033c68480bbc8cc363db5b5ea944f9
* vim-patch:8.2.0131: command line is not cleared when switching tabsJan Edmund Lazo2020-10-29
| | | | | | | | Problem: Command line is not cleared when switching tabs and the command line height differs. Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino, closes vim/vim#5495) https://github.com/vim/vim/commit/479950f6c9aee4806f28a2b2fe5471e18a034cff
* vim-patch:8.2.0841: 'verbose' value 16 causes duplicate outputJan Edmund Lazo2020-10-03
| | | | | | | Problem: 'verbose' value 16 causes duplicate output. Solution: Combine levels 15 and 16 into one message. (Christian Brabandt, closes vim/vim#6153) https://github.com/vim/vim/commit/823654bc06c847af20967d41db32d592aba416cb
* vim-patch:8.1.2143: cannot see each command even when 'verbose' is setJan Edmund Lazo2020-10-02
| | | | | | | | | | Problem: Cannot see each command even when 'verbose' is set. Solution: List each command when 'verbose' is at least 16. https://github.com/vim/vim/commit/4facea310c2788c88f021b262658b847381a50a8 Cherry-pick Test_tselect() from patch 8.1.2141. It requires screendump so it won't run. I cannot port it to a lua screen test.
* vim-patch:8.2.0905: test coverage could be betterJan Edmund Lazo2020-06-04
| | | | | | Problem: Test coverage could be better. Solution: Add a couple of tests. (Dominique Pelle, closes vim/vim#6202) https://github.com/vim/vim/commit/e0c3c3d6cbb6f356058f28ecbdf3438411222083
* vim-patch:8.2.0648: semicolon search does not work in first lineJan Edmund Lazo2020-05-03
| | | | | | | Problem: Semicolon search does not work in first line. Solution: Allow the cursor to be in line zero. (Christian Brabandt, closes vim/vim#5996) https://github.com/vim/vim/commit/0e71704b77a9891ccae9f5a9c7429e933078f232
* vim-patch:8.1.2225: the "last used" info of a buffer is under usedRob Pilling2020-04-21
| | | | | | | Problem: The "last used" info of a buffer is under used. Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used field. (Andi Massimino, closes vim/vim#4722) https://github.com/vim/vim/commit/52410575be50d5c40bbe6380159df48cfc382ceb
* vim-patch:8.1.2385: open cmdline window with feedkeys() #11516Jan Edmund Lazo2019-12-04
| | | | | | Problem: Opening cmdline window with feedkeys() does not work. (Yegappan Lakshmanan) Solution: Recognize K_CMDWIN also when ex_normal_busy is set. https://github.com/vim/vim/commit/85db5475982e166ec5bb1c8c9a5c8bf062d49ed1
* vim-patch:8.1.2017: cannot execute commands after closing cmdline window #11479Daniel Hahler2019-11-29
| | | | | | | Problem: Cannot execute commands after closing the cmdline window. Solution: Also trigger BufEnter and WinEnter. (closes vim/vim#4762) https://github.com/vim/vim/commit/96e38a86a710fb6daec4550ac1667f019dc3a40e Fixes https://github.com/neovim/neovim/issues/11279.
* vim-patch:8.1.1268: map completion test fails in GUIJan Edmund Lazo2019-11-26
| | | | | | Problem: Map completion test fails in GUI. Solution: Skip the test that fails. https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
* vim-patch:8.1.1254: mapping completion contains dead codeJan Edmund Lazo2019-11-26
| | | | | | Problem: Mapping completion contains dead code. Solution: Remove the code. https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
* vim-patch:8.1.1253: mapping completion test failsJan Edmund Lazo2019-11-26
| | | | | | Problem: Mapping completion test fails. Solution: Fix expected output. https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
* vim-patch:8.1.1252: not all mapping completion is testedJan Edmund Lazo2019-11-26
| | | | | | Problem: Not all mapping completion is tested. Solution: Add a few more mapping completion tests. https://github.com/vim/vim/commit/1776a28e9c7fd0236927f14e9df807e524b30721
* vim-patch:8.1.2348: :const cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | | Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes vim/vim#5269) Also fix completion after :const. https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
* vim-patch:8.1.0836: user completion test can fail on MS-WindowsJan Edmund Lazo2019-11-25
| | | | | | Problem: User completion test can fail on MS-Windows. Solution: Allow for other names befor "Administrator". https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94
* vim-patch:8.1.0223: completing shell command finds sub-directories in $PATHJan Edmund Lazo2019-11-25
| | | | | | Problem: Completing shell command finds sub-directories in $PATH. Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin) https://github.com/vim/vim/commit/6ab9e429da18f4d784222a9f7dfafb7c0218b7eb
* vim-patch 8.1.0085: no test for completing user name and languageerw72019-10-13
| | | | | | Problem: No test for completing user name and language. Solution: Add tests. (Dominique Pelle, closes #2978) https://github.com/vim/vim/commit/5f8f2d378a4f6d7db12806f3e35ec6f7fc6bd1f3
* vim-patch:8.1.1063: insufficient testing for wildmenu completionJan Edmund Lazo2019-09-03
| | | | | | Problem: Insufficient testing for wildmenu completion. Solution: Extend the test case. (Dominique Pelle, closes vim/vim#4182) https://github.com/vim/vim/commit/37db642083398da7d04ed45767cc46daf40bf72b
* tests: use runtime from build for doc/tags with :help (#10479)Daniel Hahler2019-08-28
| | | | | | | | | | | | This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* 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.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.1546: in some tests 'tags' is set but not restoredDaniel Hahler2019-06-16
| | | | | | Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) Solution: Restore 'tags'. (closes vim/vim#4535) https://github.com/vim/vim/commit/0331faf71200a274377e1569fcda4f00c9cf3e2a
* vim-patch:8.1.0668: no test for overstrike mode in the command lineJan Edmund Lazo2019-02-17
| | | | | | Problem: No test for overstrike mode in the command line. Solution: Add a test. (Dominique Pelle, closes vim/vim#3742) https://github.com/vim/vim/commit/c0676bab92bd6488e17d05a4a70dfff993ef524e
* vim-patch:8.0.1672: error during completion causes command to be cancelledJan Edmund Lazo2018-10-13
| | | | | | Problem: Error during completion causes command to be cancelled. Solution: Reset did_emsg before waiting for another character. (Tom M.) https://github.com/vim/vim/commit/72532d354e699f1cceec34c0b08e1de4d3ea9641
* vim-patch:8.0.1787: cannot insert the whole cursor lineJan Edmund Lazo2018-08-16
| | | | | | Problem: Cannot insert the whole cursor line. Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857) https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
* vim-patch:8.1.0101: no test for getcmdwintype()Jan Edmund Lazo2018-08-16
| | | | | | Problem: No test for getcmdwintype(). Solution: Add a test. (Dominique Pelle, closes vim/vim#3068) https://github.com/vim/vim/commit/81612b7a7dc50a6c0da9f42fa48f1f576a4ad616
* vim-patch:8.0.1816: no test for setcmdpos()Jan Edmund Lazo2018-08-16
| | | | | | Problem: No test for setcmdpos(). Solution: Add a test. (Dominique Pelle, closes vim/vim#2901) https://github.com/vim/vim/commit/ff3be4fe1e2e723de48b826cb992c798e296c41e
* vim-patch:8.0.1649: no completion for argument list commandsJan Edmund Lazo2018-08-16
| | | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes vim/vim#2706) https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d
* vim-patch:8.0.1231: expanding file name drops dashJan Edmund Lazo2018-08-16
| | | | | | Problem: Expanding file name drops dash. (stucki) Solution: Use the right position. (Christian Brabandt, closes vim/vim#2184) https://github.com/vim/vim/commit/c312b8b87a589ed8452dbf0f555f05ff86d04692
* vim-patch:8.0.0878: no completion for :mapclearJan Edmund Lazo2018-08-16
| | | | | | Problem: No completion for :mapclear. Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943) https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
* vim-patch:8.0.0547: extra line break in verbosefileJan Edmund Lazo2018-06-18
| | | | | | | Problem: Extra line break in verbosefile when using ":echomsg". (Ingo Karkat) Solution: Don't call msg_start(). (closes vim/vim#1618) https://github.com/vim/vim/commit/52604f2454e5369f861d3ce34764f74a0999c773
* vim-patch:8.0.0525: completion for user command argument not tested (#8506)Jan Edmund Lazo2018-06-09
| | | | | Solution: Completion for user command argument not tested. Problem: Add a test. https://github.com/vim/vim/commit/a33ddbbd04ca9b81cba6114708f42b8e26293b99
* vim-patch:8.0.0562: not enough test coverage for syntax commandsJan Edmund Lazo2018-06-02
| | | | | | Problem: Not enough test coverage for syntax commands. Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#1624) https://github.com/vim/vim/commit/ea588154d00aec288e48b344b2685e46bea99cd6
* oldtests: use expand() to fix pathsepJan Edmund Lazo2018-04-12
| | | | Fix failing oldtests because of noshellslash.
* vim-patch:8.0.0513: fix getting name of cleared highlight group (#8103)KunMing Xie2018-03-08
| | | | | | | Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) Solution: Only skip over cleared names for completion. (closes vim/vim#1592) Also fix that a cleared group causes duplicate completions. https://github.com/vim/vim/commit/c96272e30e2b81e5e0c8418f09d9db4e2fcd5d73
* vim-patch:8.0.0220: highlight completion misses some values #8013ckelsel2018-03-04
| | | | | | | | Problem: Completion for :match does not show "none" and other missing highlight names. Solution: Skip over cleared entries before checking the index to be at the end. https://github.com/vim/vim/commit/15eedf1d621d980cb40f50cc6a78a09ab94388c7
* vim-patch:8.0.0323: one second pause when running cmdline test (#8015)Danish Prakash2018-02-16
| | | | | | Problem: When running the command line tests there is a one second wait. Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/31eb139b8877439d06db0ca57692dfe35fec3f0c
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f