| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
Problem: <amatch> is expanded like a file name for DirChangedPre.
Solution: Do not expand <amatch>. (closes vim/vim#9742) Also for the User event.
https://github.com/vim/vim/commit/f6246f51e3d85a982a899b4a8fd9045a5e23016f
|
|\ \
| | |
| | | |
feat(events): add DirChangedPre
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In Nvim, like DirChanged, this also triggers when switching windows.
This marks Vim patch 8.2.4335 as ported.
vim-patch:8.2.4335: no autocommand event triggered before changing directory
Problem: No autocommand event triggered before changing directory. (Ronnie
Magatti)
Solution: Add DirChangedPre. (closes vim/vim#9721)
https://github.com/vim/vim/commit/28e8f73ae2d90009fd62cd60f97c2643ba44de68
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{3820,3823}: "vrc" does not replace composing characters
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: "vrc" does not replace composing characters, while "rc" does.
Solution: Check the byte length including composing characters.
(closes vim/vim#9351)
https://github.com/vim/vim/commit/8ee6028de3daa9af9e5f90fa9e583ff407bee04f
vim-patch:8.2.3823: test for visual replace is in wrong function
Problem: Test for visual replace is in wrong function.
Solution: Move it to another function.
https://github.com/vim/vim/commit/6ecf58b0d7d9b8fbba780d19d2e6c0f227df715b
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: ml_get error when exchanging windows in Visual mode.
Solution: Correct end of Visual area when entering another buffer.
https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{3073,4120,4151,4152}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Block insert with double wide character fails.
Solution: Adjust the expected output.
https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Reading beyond the end of a line.
Solution: For block insert only use the offset for correcting the length.
https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Block insert goes over the end of the line.
Solution: Handle invalid byte better. Fix inserting the wrong text.
https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: When cursor is move for block append wrong text is inserted.
Solution: Calculate an offset. (Christian Brabandt, closes vim/vim#8433,
closes vim/vim#8288)
https://github.com/vim/vim/commit/4067bd3604215b48e4b4201e28f9e401b08418e4
|
| | | |
| | | |
| | | |
| | | | |
https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e
|
| | | |
| | | |
| | | |
| | | | |
https://github.com/vim/vim/commit/3e72dcad8b752a42b6eaf71213e3f5d534175256
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Omit Test_AAA_start_visual_mode_with_count comment change as it hasn't been
ported yet.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes vim/vim#9579)
https://github.com/vim/vim/commit/8196e94a8b72ed8618605cb66615571313097d78
Cherry-pick some test changes from patch 8.1.1826.
|
| |
| |
| |
| |
| |
| | |
Problem: Autoread test is a bit flaky.
Solution: Wait a brief moment before overwriting the file.
https://github.com/vim/vim/commit/944eeb44fb6e9d6d28474a1348d27c07873892f9
|
| |
| |
| |
| |
| |
| | |
Problem: Autoread test with nano second time sometimes fails.
Solution: Mark the test as being flaky.
https://github.com/vim/vim/commit/eaa006dae3d5730e3b6dead27905444998b2cf8e
|
| |
| |
| |
| |
| |
| | |
Problem: Timestamp test fails on some systems.
Solution: Sleep for a short while.
https://github.com/vim/vim/commit/accf4ed352c07ffe59022377c42d36e12dd6d461
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Changes are only detected with one second accuracy.
Solution: Use the nanosecond time if possible. (Leah Neukirchen,
closes vim/vim#8873, closes vim/vim#8875)
https://github.com/vim/vim/commit/0a7984af5601323fae7b3398f05a48087db7b767
In Nvim Test_checktime_fast() is also flaky. Add a delay to avoid that.
|
| |
| |
| |
| |
| | |
test_cdo.vim is copied from Vim v8.1.1483.
test_packadd.vim is copied from Vim v8.2.0174.
|
| | |
|
|\ \
| | |
| | | |
vim-patch:8.2.{4359,4362,4363,4364}: crash when repeatedly using :retab
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: crash when repeatedly using :retab.
Solution: Bail out when the line is getting too long.
https://github.com/vim/vim/commit/6e28703a8e41f775f64e442c5d11ce1ff599aa3f
Cherry-pick e_resulting_text_too_long from v8.2.3492; put it in globals.h as
it will eventually be used in other files.
Add a modeline to test_retab.vim
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Option context is not copied when splitting a window. (Daniel
Hahler)
Solution: Copy the option context, so that ":verbose set" works.
(closes vim/vim#5066)
https://github.com/vim/vim/commit/cfb381421f8be7d6cb4e7dac5b827b23467d3e53
vim-patch:8.2.3804: script context not set when copying 'swf' and 'ts'
Problem: Script context not set when copying 'swf' and 'ts'.
Solution: Use COPY_OPT_SCTX with the right argument. (closes vim/vim#9347)
https://github.com/vim/vim/commit/6206877c511c636cbeb2a2b911451af316b62d00
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.2342: "char" functions may return wrong column in Insert mode
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: "char" functions return the wront column in Insert mode when the
cursor is beyond the end of the line.
Solution: Compute the column correctly. (Yegappan Lakshmanan, closes vim/vim#7669)
https://github.com/vim/vim/commit/9145846b6aa411e3ab5c0d145b37808654352877
|
|\ \ \ \
| |_|/ /
|/| | | |
vim-patch:8.2.4352: ReScript files are not recognized
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: ReScript files are not recognized.
Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes vim/vim#9752)
https://github.com/vim/vim/commit/0c3cc2fec31521b0697edc406f85b7a43e979860
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
Problem: Window size wrong if 'ea' is off and 'splitright' is on and
splitting then closing a window.
Solution: Put abandoned window space in the right place. (Mark Waggoner)
https://github.com/vim/vim/commit/edd327cc070d9a05c12e88bc5c43a1e2a3086ae6
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Search test fails.
Solution: Remove failure tests for calls that no longer fail.
https://github.com/vim/vim/commit/48af321a3382008dc642362d3f54bb6a61ff36e4
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes vim/vim#861)
https://github.com/vim/vim/commit/adc17a5f9d207fd1623fd923457a46efc9214777
Enable skip arg usage in autoload/freebasic.vim
evalarg_T doesn't really matter because it's deleted in v8.2.0918 (and
reincarnated for Vim9 script in v8.2.1047), but I found out too late :P Anyway:
- Port evalarg_T into eval.h and use const char * and Callback fields
- Use EVALARG_INIT to initialize
- Return bool over OK/FAIL from evalarg functions
- Remove check from evalarg_clean as callback_free ignores None callbacks anyway
- Move eva_buf field into evalarg_get as a local (not sure what reason it has
being in the struct)
N/A patches for version.c:
vim-patch:8.2.4355: unnecessary call to check_colorcolumn()
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes vim/vim#9748)
https://github.com/vim/vim/commit/0f7ff851cb721bb3c07261adbf82b591229f530d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: When editing a buffer 'colorcolumn' may not work.
Solution: Set the buffer before copying option values. Call
check_colorcolumn() after copying window options.
https://github.com/vim/vim/commit/010ee9657acf1a9f799079d718998c94e50ccadc
|
|/ |
|
|\
| |
| | |
vim-patch:8.1.2221,8.2.4336: filtering for :disp and :scriptnames
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
Solution: Call message_filtered(). (closes vim/vim#9720)
https://github.com/vim/vim/commit/769f5895ebfd10535a0ad978f071da8f20178fc6
Cherry-pick a modeline from Vim patch 8.2.1432.
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot filter :disp output.
Solution: Support filtereing :disp output. (Andi Massimino, closes vim/vim#5117)
https://github.com/vim/vim/commit/8fc42964363087025a27e8c80276c706536fc4e3
|
|/ |
|
|\
| |
| | |
vim-patch:8.2.4329: no support for end line number and column in 'errorformat'
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No support for end line number and column in 'errorformat'.
Solution: Add %e and %k. (closes vim/vim#9624)
https://github.com/vim/vim/commit/e023d499378942a6c3a3855cbe461ec2cb570f63
Use "\t" to represent a Tab as it looks better.
|
|\ \
| | |
| | | |
vim-patch:8.2.{4242,4315}: put in Visual mode cannot be repeated
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Put in Visual mode not fully tested.
Solution: Add a few more test cases. (closes vim/vim#9708)
https://github.com/vim/vim/commit/6bf821e8abe1da24e5d0624f032d7eda745756e8
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes vim/vim#9591)
https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab
Cherry-pick get_y_previous() and set_y_previous() from patch 8.1.1736.
Nvim has removed y_current, so code related to it is N/A.
|
| |
| |
| |
| |
| |
| | |
Problem: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b
|
| |
| |
| |
| |
| |
| | |
Problem: Write file test fails on MS-Windows.
Solution: Force edit after setting 'fileformat'.
https://github.com/vim/vim/commit/bd318559cf8dea210e943100536011473f25bf68
|
| |
| |
| |
| |
| |
| |
| | |
Problem: First write after setting 'eol' does not have NL added. (Tomáš
Janoušek)
Solution: Only use b_no_eol_lnum when doing a binary write. (closes vim/vim#7535)
https://github.com/vim/vim/commit/b3c8b1d25414f2e24ad03551cdf125b3e2c142b1
|
|/
|
|
|
|
|
|
| |
Problem: Test 42 is still old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#6561)
https://github.com/vim/vim/commit/b61ef01cce2afd70fbfa2805336a26643109dfb7
Including the Xtest2 -> Xfile2 change from Vim patch 8.2.1498.
|
|\
| |
| | |
vim-patch:8.2.0197: some Ex commands not sufficiently tested
|
| |
| |
| |
| |
| |
| | |
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5565)
https://github.com/vim/vim/commit/ea3db914c0fa35797ad73f6d5bb3a4288d690065
|
|\ \
| | |
| | | |
vim-patch:8.2.{0882,1051,1083}: port `reduce()` function
|