| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| | |
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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Some users don't want to diff with hidden buffers.
Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes vim/vim#2394)
https://github.com/vim/vim/commit/97ce419201421f65f4764549ed80307a7ef9c7a6
|
| | |_|/
|/| |
| | |
| | |
| | |
| | | |
Problem: "icase" of 'diffopt' is not used for highlighting differences.
Solution: Also use "icase". (Rick Howe)
https://github.com/vim/vim/commit/da22b8cc8b1b96fabd5a4c35c57b04a351340fb1
|
| | |/
|/|
| |
| |
| |
| |
| | |
Problem: Swap file warning for a file in a non-existing directory, if there
is another with the same file name. (Juergen Weigert)
Solution: When expanding the file name fails compare the file names.
https://github.com/vim/vim/commit/8c3169c58eef3e04f643fe9e045a97b81429e0cb
|
| |/
|
|
|
| |
Problem: % command not testded on vim/vim#ifdef and comment.
Solution: Add tests. (Dominique Pelle, closes vim/vim#2956)
https://github.com/vim/vim/commit/6b69e5c646faecf2a686bfe71dc17a2a1c6d344f
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Effect of ":tabmove N" is not clear.
Solution: Add a test that shows the behavior. (Christian Brabandt,
closes vim/vim#3288)
https://github.com/vim/vim/commit/7cc596547a582e7bc18d91312eb674906ebdc5c2
|
| | |
| |
| |
| |
| |
| | |
Problem: Tabpages insufficiently tested.
Solution: Add more test coverage. (Dominique Pelle, closes vim/vim#2934)
https://github.com/vim/vim/commit/dbe8869c41a3b3309207a434c17db295d358e873
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: There is no way to notice that the quickfix window contents has
changed.
Solution: Increment b:changedtick when updating the quickfix window.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/a8788f4d0b991f466b607c2c5bc6fd600bc78a97
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Minor issues related to quickfix.
Solution: Set the proper return status for all cases in setqflist() and at
test cases for this. Move the "adding" flag outside of
FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/86f100dc0922e83bead7bcd5fd2bb2abbf153f46
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | | |
Redirect errors from :make to error file.
Fix execption error in test_compiler.vim on Windows.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test for :compiler command fails on MS-Windows.
Solution: Ignore difference in path.
https://github.com/vim/vim/commit/d19b234154476401a6ad8e690f9705419095f44e
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test for :compiler command sometimes fails.
Solution: Be less strict about the error message. (Dominique Pelle)
https://github.com/vim/vim/commit/54651f74948650bc68d6ac5b20376f2f985e80c5
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: The :compiler command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2930)
https://github.com/vim/vim/commit/10561fe0a37efd611ccb1517b37de12d2e37af0f
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for "o" and "O" in Visual block mode.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2932)
https://github.com/vim/vim/commit/2e94976abd1cd6b94db38d4f2a1cfd71808b8100
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: No test for winrestcmd().
Solution: Add a test. (Dominique Pelle, closes vim/vim#2894)
https://github.com/vim/vim/commit/72cf47a279f7261abf4ae6c9c3ee54024ee87a12
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When making a vertical split the mode message isn't always
updated, "VISUAL" remains. (Alexei Averchenko)
Solution: Only reset clear_cmdline when filling all columns of the last
screen line. (Tom M. closes vim/vim#2611)
https://github.com/vim/vim/commit/5bab555c2f1b3b86d57e4adeb86d908eff477fc9
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Acessing freed memory after window command in auto command.
(gy741)
Solution: Adjust the pointer in the parent frame. (Christian Brabandt,
closes vim/vim#2467)
https://github.com/vim/vim/commit/6f361c991221e96d5068c77b854967d997b1529b
|