| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| | |
Problem: Test for failing drag-n-drop command no longer fails.
Solution: Check for the "dnd" feature.
https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b
|
| | |
| |
| |
| |
| |
| | |
Problem: The :drop command is not always available.
Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes vim/vim#2639)
https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948
|
| | |
| |
| |
| |
| |
| | |
Problem: Test for getwininfo() fails in GUI.
Solution: Account for missing tabline.
https://github.com/vim/vim/commit/44a693a1bdfe987edb649677c94c214f94b2aada
|
| | |
| |
| |
| |
| |
| | |
Problem: Not easy to figure out the window layout.
Solution: Add "wincol" and "winrow" to what getwininfo() returns.
https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
|
| | |
| |
| |
| |
| |
| | |
Problem: There is no easy way to get the window position.
Solution: Add win_screenpos().
https://github.com/vim/vim/commit/22044dc31788d9f1c2da7725269884d9923b4795
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for expanding backticks.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2479)
https://github.com/vim/vim/commit/ae6f8651251013bafef9de1aed09069deaae8122
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: cannot get the text under the cursor like v:beval_text
Solution: Add <cexpr>.
https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for getcmdwintype().
Solution: Add a test. (Dominique Pelle, closes vim/vim#3068)
https://github.com/vim/vim/commit/81612b7a7dc50a6c0da9f42fa48f1f576a4ad616
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for setcmdpos().
Solution: Add a test. (Dominique Pelle, closes vim/vim#2901)
https://github.com/vim/vim/commit/ff3be4fe1e2e723de48b826cb992c798e296c41e
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No completion for argument list commands.
Solution: Add arglist completion. (Yegappan Lakshmanan, closes vim/vim#2706)
https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |/
| |
| |
| |
| |
| | |
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943)
https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: "cit" on an empty HTML tag changes the whole tag.
Solution: Only adjust the area in Visual mode. (Andy Massimino,
closes vim/vim#3332)
https://github.com/vim/vim/commit/b476cb7d8d1a8c02409f110dea8b166aa9334e18
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Accessing invalid memory with "it". (Dominique Pelle)
Solution: Avoid going over the end of the line. (Christian Brabandt,
closes vim/vim#2532)
https://github.com/vim/vim/commit/82846a00ac0c135946c93c48c1657018a5c96b11
|
| | |
| |
| |
| |
| |
| | |
Problem: Using "gn" may select wrong text when wrapping.
Solution: Avoid wrapping when searching forward. (Christian Brabandt)
https://github.com/vim/vim/commit/bdb657924d73c98b0ab28411749571e893b699a9
|
| | |
| |
| |
| |
| |
| | |
Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
Solution: Adjust for searching backward. (Christian Brabandt)
https://github.com/vim/vim/commit/22ab547dc281092d6a9d397db712a11733c38e97
|
| |/
|
|
|
|
|
|
| |
Problem: ml_get error with :psearch in buffer without a name. (Dominique
Pelle)
Solution: Use the buffer number instead of the file name. Check the cursor
position.
https://github.com/vim/vim/commit/c31f9ae4f1976544522313b182957793063ee02c
|
| |\ |
|
| | |
| |
| |
| | |
Tests in 'test/functional/core/job_spec.lua' depend on this behavior.
|
| | |
| |
| |
| |
| |
| | |
Problem: Not enough testing for getftype().
Solution: Add a test. (Dominique Pelle, closes vim/vim#3300)
https://github.com/vim/vim/commit/1598f9937a18c056d7b713dc254325c8f8456c8f
|
| | |
| |
| |
| |
| |
| | |
Problem: Trimming white space is not that easy.
Solution: Add the trim() function. (Bukn, closes vim/vim#1280)
https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Buffer not updated with 'autoread' set if file was deleted.
(Michael Naumann)
Solution: Don't set the timestamp to zero. (closes vim/vim#3165)
https://github.com/vim/vim/commit/386bc82a3f82f70bad75aaad74dba57a176b5840
Sleep 2 seconds for autoread (https://github.com/neovim/neovim/pull/7592).
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: A TextChanged autocmd triggers when it is defined after creating a
buffer.
Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight,
closes vim/vim#2742)
https://github.com/vim/vim/commit/8c64a36e40b8746404f7151abe6849393396af10
|
| | |
| |
| |
| |
| |
| | |
Problem: Accessing freed memory in :cbuffer.
Solution: Get quickfix list after executing autocmds. (closes vim/vim#2470)
https://github.com/vim/vim/commit/aaf6e43b7a99cedb89d73ba749a46f7a0f16bbb6
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Buffer overflow in :tags command.
Solution: Use vim_snprintf(). (Dominique Pelle, closes vim/vim#2471, closes vim/vim#2475)
Add a test.
https://github.com/vim/vim/commit/132f75255ecea17ff621f71236568c5d8d8e0163
|
| | |
| |
| |
| |
| |
| | |
Problem: Emacs tags no longer work. (zdohnal)
Solution: Do not skip over end of line.
https://github.com/vim/vim/commit/0d2073773218736e368786f0db7024bd9b9e7912
|
| | |
| |
| |
| |
| |
| | |
Problem: Writing to freed memory in autocmd.
Solution: Make a copy of the tag line. (Dominique Pelle, closes vim/vim#2245)
https://github.com/vim/vim/commit/8d84ff1a3c8cfe59399d3f675ec080066582fdb6
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2230)
https://github.com/vim/vim/commit/53f0c962394dc6bc66d5b0762af9434e672d1b25
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using setline() in TextChangedI splits undo.
Solution: Use another solution for undo not working properly.
https://github.com/vim/vim/commit/9fa9506853516c82851baec643aa47458cb8b3bc
This deviates from Vim in the handling of the CursorHoldI event. In
Vim, any buffer changes are merged into the insert. In Neovim,
CursorHoldI is handled via the multiqueue, and the point at which
the cursor hold is implemented (in input.c) doesn't know enough about it.
Making all queued events merge into the insert seems more wronger since
changes by other asynchronous events really should be separately
undoable.
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason
Felice)
Solution: Don't save lines for undo when already saved. (closes vim/vim#3291)
https://github.com/vim/vim/commit/91d2e783b41ca900bc603b3cb5e083c8a4a33170
|
| | |
| |
| |
| |
| |
| | |
Problem: Pattern with \& following nothing gives an error.
Solution: Emit an empty node when needed.
https://github.com/vim/vim/commit/890dd05492d88d48eee1dda7f7a1811d027ce7ca
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for fix of undefined behavior.
Solution: Add a test. (closes vim/vim#2255)
https://github.com/vim/vim/commit/2973daafe1732963b8924cb9df53c608804d66b3
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for what 8.0.1227 fixes.
Solution: Add a test that triggers the problem. (Christian Brabandt)
https://github.com/vim/vim/commit/f45938cc20ed6992e5215ffe41b73b528c78be9c
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Set undodir to Vim's default value.
Fix pathsep of expected undofile path for Windows.
Comment out invalid test case for Neovim.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for the undofile() function.
Solution: Add test. (Dominique Pelle, closes vim/vim#2958)
https://github.com/vim/vim/commit/e5fa11186fde4a19e505eba403d3af8c61d11304
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Illegal memory access after undo. (Dominique Pelle)
Solution: Avoid the column becomes negative. (Christian Brabandt,
closes vim/vim#2533)
https://github.com/vim/vim/commit/95dbcbea6d85a5b79d9617ab3863458fdf0217a0
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: seq_cur of undotree() wrong after undo.
Solution: Get the actual sequence number instead of decrementing the current
one. (Ozaki Kiichi, closes vim/vim#2319)
https://github.com/vim/vim/commit/80eaddd3a0bc47cb14168964678420cfe03a2502
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: No test for pathshorten().
Solution: Add a test. (Dominique Pelle, closes vim/vim#3295)
https://github.com/vim/vim/commit/bfde0b482d25db43e9fc5a35c771b859b1eb8828
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: inputlist() is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3240)
https://github.com/vim/vim/commit/947b39e761b8a95cc1bd37ad0c2c30552238809a
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: No test for strwidth().
Solution: Add a test. (Dominique Pelle, closes vim/vim#2931)
https://github.com/vim/vim/commit/42ab17b8e32352210c4e273a4a4161a287d2c159
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Accessing invalid memory with overlong byte sequence.
Solution: Check for NUL character. (test by Dominique Pelle, closes vim/vim#2485)
https://github.com/vim/vim/commit/e6640ad44e2186bd3642b972115496d347cd1fdd
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Hang when using count() with an empty string.
Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465)
https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: match() and matchend() are not tested.
Solution: Add tests. (Ozaki Kiichi, closes vim/vim#2088)
https://github.com/vim/vim/commit/1190cf68e27a123cf9f6fb57897782a3b9f7b810
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Matchstrpos() without a match returns too many items.
Solution: Also remove the second item when the position is beyond the end of
the string. (Hirohito Higashi) Use an enum for the type.
https://github.com/vim/vim/commit/8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452
|