| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
|
|
|
| |
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com>
Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com>
Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: rwxd <rwxd@pm.me>
Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when switching tabpage while in the cmdline window.
Solution: Disallow switching tabpage when in the cmdline window.
https://github.com/vim/vim/commit/0f6e28f686dbb59ab3b562408ab9b2234797b9b1
Ensure cmdline window doesn't stop us from closing tabs with EXITFREE.
mem_free_all -> win_free_all -> tabpage_close -> ... -> goto_tabpage_tp
-> CHECK_CMDWIN can cause an infinite loop if Nvim is exited without using
standard methods such as :qa! and friends (e.g: killed via a signal).
This issue had caused the ASAN CI's functionaltests to timeout.
Cherry-pick Test_cmdwin_tabpage from v8.2.4463.
https://github.com/vim/vim/commit/38b85cb4d7216705058708bacbc25ab90cd61595
This bug was already fixed in Nvim. Note that g<Tab> inside cmdwin is already
tested for in tabnewentered_spec.lua anyway.
E492 is thrown after E11 when using ":norm" in assert_fails for some reason
(except after v8.2.1919, which isn't ported yet).
As v8.2.1183 isn't ported yet, so we cannot assert E11 directly.
Modify the test to check for E11 and E492 seperately; when v8.2.1183 is ported,
the assertion for E492 will fail and the changes can be reverted to match
upstream.
Remove redundant CHECK_CMDWIN from goto_tabpage; it's handled with text_locked()
and text_locked_msg() above:
vim-patch:8.2.4434: duplicate check for cmdline window
Problem: Duplicate check for cmdline window.
Solution: Remove the second check. (Sean Dewar, closes vim/vim#9816)
https://github.com/vim/vim/commit/16b51d26fe2cc3afb09afd439069220dea74581d
|
| |
|
|
|
|
|
|
|
|
| |
command
Problem: fullcommand() gives the wrong name if there is a buffer-local user
command. (Naohiro Ono)
Solution: Use a separate function to get the user command name.
(closes vim/vim#8840)
https://github.com/vim/vim/commit/80c88eac5a81dd9f1a96fc80cb8aab6c84fe7b86
|
| |
|
|
|
|
| |
Problem: Crash when passing null string to fullcommand().
Solution: Check for NULL pointer. (closes vim/vim#8256)
https://github.com/vim/vim/commit/4c8e8c6e19b75d632b042aa0ba0a2ab769b2162e
|
| |
|
|
|
|
| |
Problem: Not easy to get the full command name from a shortened one.
Solution: Add fullcommand(). (Martin Tournoij, closes vim/vim#7777)
https://github.com/vim/vim/commit/038e09ee7645731de0296d255aabb17603276443
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
https://github.com/vim/vim/commit/196b4664432f932625cfb6371dc42c24efe6c203
server2client requires +clientserver, which hasn't been ported yet.
The eval.txt docs and test_clientserver.vim tests for server2client already exist, so include those
changes.
test_bufline.vim: Test for setbufline requires v8.1.1189 (which was reverted in #10848).
|
| |
|
|
|
|
|
|
| |
Problem: getcompletion() always passes zero as position to custom
completion function.
Solution: Pass the pattern length. (closes vim/vim#9173)
https://github.com/vim/vim/commit/4785fe02bba14c4e0aede0fa425ca790a1cb98d7
Co-authored-by: ii14 <ii14@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
| |
* vim-patch:8.2.3550: completion() does not work properly
Problem: completion() does not work properly.
Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
closes vim/vim#9016)
https://github.com/vim/vim/commit/ae38a9db7770b38889fbf06908cc69d42b463a73
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds method call support for all functions in the patch, but it cannot
be fully ported due to missing tests for:
- getcwd(): requires chdir() and Test_chdir_func() from v8.1.1291.
Note that the method call tests for getreg() and getregtype() were
removed in v8.2.1547, which has already been ported, but doesn't seem to
have been replaced with a new test...
This patch also makes getchangelist()'s argument optional (defaults to
the current buffer).
eval.txt includes a typo for gettabwinvar(), which is fixed in
v8.1.1952.
|
| |\
| |
| | |
vim-patch:8.2.{3286,3289,3293,3298,3313,3321,3328,3330,3331,3337,3354,3355,3357,3360,3369,3375}
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: User function completion fails with dict function.
Solution: Do not stop sequencing through the list if user functions when
encountering an empty name. (Naohiro Ono, closes vim/vim#8765,
closes vim/vim#8774)
https://github.com/vim/vim/commit/5aec755b678cfd434b8ea2158d06992f33e1ff80
|
| | |
| |
| |
| |
| |
| | |
Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
Solution: Skip empty strings returned by get_user_func_name(). (closes vim/vim#8753)
https://github.com/vim/vim/commit/069f90852f1444cac50491c10dfbd339a3f9e0c8
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: MS-Windows: completing environment variables with % is wrong.
Solution: Only complete environment variables with $. (Albert Liu,
closes vim/vim#8791)
https://github.com/vim/vim/commit/6024c0427ce1196344439997d5e41a6f8546368c
The change itself in set_one_cmd_context() is N/A (it was never included
in Neovim to begin with).
N/A patches for version.c:
vim-patch:8.2.3379: crash when using NULL job
Problem: Crash when using NULL job.
Solution: Copy static string into buffer. (issue vim/vim#8260)
https://github.com/vim/vim/commit/271906bc067a8f25422016665001d2e44cf618e2
|
| |
|
|
|
|
| |
Problem: Recalling commands from history is not tested.
Solution: Add tests. (closes vim/vim#8194)
https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
|
| |
|
|
|
|
| |
Problem: Opening cmdline window gives error in BufLeave autocommand.
Solution: Reset cmdwin_type when triggering the autocommand.
https://github.com/vim/vim/commit/b63f3ca66db20f7b135aae706d36be538f91f8cc
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
|
| |
|
|
|
|
|
|
|
|
| |
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:".
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: Command completion not working after ++arg.
Solution: Move skipping up. (Christian Brabandt, closes vim/vim#6382)
https://github.com/vim/vim/commit/743d0620203388bf87dc611cea544b485e4b9f85
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Problem: Cannot recognize a terminal in a popup window.
Solution: Add the win_gettype() function.
https://github.com/vim/vim/commit/00f3b4e007af07870168bf044cecc9d544483953
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Problem: Map completion test fails in GUI.
Solution: Skip the test that fails.
https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
|
| |
|
|
|
|
| |
Problem: Mapping completion contains dead code.
Solution: Remove the code.
https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
|
| |
|
|
|
|
| |
Problem: Mapping completion test fails.
Solution: Fix expected output.
https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
|
| |
|
|
|
|
| |
Problem: Not all mapping completion is tested.
Solution: Add a few more mapping completion tests.
https://github.com/vim/vim/commit/1776a28e9c7fd0236927f14e9df807e524b30721
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: User completion test can fail on MS-Windows.
Solution: Allow for other names befor "Administrator".
https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: No test for completing user name and language.
Solution: Add tests. (Dominique Pelle, closes #2978)
https://github.com/vim/vim/commit/5f8f2d378a4f6d7db12806f3e35ec6f7fc6bd1f3
|
| |
|
|
|
|
| |
Problem: Insufficient testing for wildmenu completion.
Solution: Extend the test case. (Dominique Pelle, closes vim/vim#4182)
https://github.com/vim/vim/commit/37db642083398da7d04ed45767cc46daf40bf72b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
| |
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
https://github.com/vim/vim/commit/2cb9f0253228478ec27265ff40f59c629874d695
|
| |
|
|
|
| |
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
|