| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when calling searchcount() with a string.
Solution: Check the argument is a dict. (closes vim/vim#6192)
https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Searchcount().exact_match is 1 right after a match.
Solution: Use LT_POS() instead of LTOREQ_POS(). (closes vim/vim#6189)
https://github.com/vim/vim/commit/57f75a5a364ad4d8334fdf6b6b41420b48e08390
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Searchcount() test fails on slower systems.
Solution: Set a longer timeout.
https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Leaking memory when using searchcount().
Solution: Free the last used search pattern.
https://github.com/vim/vim/commit/109aece79d1b5f14f6a84ff2ac068cfffebeba80
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446)
https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df
Additional changes:
- Tests weren't passing because the test ran assuming the cursor was at
start of buffer but append() left the cursor at end of buffer .
So cursor is moved to start of buffer after append.
- searchcount() added to list of builtin functions.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes vim/vim#8190)
https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
|
|\ \ \
| | | |
| | | | |
[WIP] z-index!
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Recalling commands from history is not tested.
Solution: Add tests. (closes vim/vim#8194)
https://github.com/vim/vim/commit/71c6f7a665eb467054fbf319989d97c252af28d2
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot intercept a yank command.
Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al.,
closes vim/vim#2333)
https://github.com/vim/vim/commit/7e1652c63c96585b9e2235c195a3c322b1f11595
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash when leaving command line window triggers autocommand.
(houyunsong)
Solution: Make sure not to close the current window or buffer.
https://github.com/vim/vim/commit/8c6951fa2836a1ae3257770e7b927a9380439912
N/A patches for version.c:
vim-patch:8.2.2414: using freed memory when closing the cmdline window
Problem: Using freed memory when closing the cmdline window.
Solution: Check the window is still valid.
https://github.com/vim/vim/commit/b7e2670b6a1de02c772af5097ba24f2a15b26eec
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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: Autocmd test was failing on MS-Windows with GUI.
Solution: Remove stray feedkeys().
https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Strange test failure with MS-Windows.
Solution: Skip the system() call for now.
https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash with a weird combination of autocommands.
Solution: Increment b_nwindows when needed. (closes vim/vim#7674)
https://github.com/vim/vim/commit/797e63b9f2baa1853e7063aac478d663cd02f207
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 7214d0bc846179a862e8d3061d00270a6caa0d7b.
Cannot test patch v8.2.1059 without reverting this commit.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
https://github.com/vim/vim/commit/cf8441704d6e517bda1899f4afa82c6b4eecbaec
E813 error message does not mention 'popup' window
because Neovim floating window are regular windows, unlike Vim popups.
https://github.com/neovim/neovim/pull/14532#discussion_r631731829
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes vim/vim#6293)
https://github.com/vim/vim/commit/158ea175a99fc23eae1b0a5ee9a81cdd973854a6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Line() only works for the current window.
Solution: Add an optional argument for the window to use.
https://github.com/vim/vim/commit/8e0a8e7eb7c177807f44db6b76d8e52314248ab5
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
like a pattern (#12784)"
This reverts commit 4be0e92db01a502863ac4bb26dd0fee16d833145.
Unfortunately, that commit stalled the Windows builds on GHA and likely requires
other patches to work properly.
|
|\ \ \
| |_|/
|/| | |
API: Adding cterm support to nvim_set_hl
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix nvim_buf_set_lines
|
| | | | |
|
| | | | |
|
|/ / / |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sort test fails when locale is French Canadian.
Solution: Expect a different sort order. (Dominique Pellé, closes vim/vim#7609)
https://github.com/vim/vim/commit/cec77d4530ae51ee9ffe0ab57fa7a37cced2b181
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sort test fails when locale is Canadian English. (Neil H Watson)
Solution: Expect a different sort order. (closes vim/vim#7609)
https://github.com/vim/vim/commit/fefa6c347e2c7f01ed2b095084f4aa694ff72149
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: sort() with NULL string not tested.
Solution: Add a test. use v:collate. (Dominique Pellé, closes vim/vim#7247)
https://github.com/vim/vim/commit/35efa22ff2b98126363098db9304796b5624f97f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sort test fails on Mac.
Solution: Disable the sort test with locale on Mac.
https://github.com/vim/vim/commit/578f4cc7d0ce67101832b25cf77246fcd630e3c0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot sort using locale ordering.
Solution: Add a flag for :sort and sort() to use the locale. (Dominique
Pellé, closes vim/vim#7237)
https://github.com/vim/vim/commit/55e29611d20bca14fa5efc61385bc8a6b7acd9e2
|
| | |
| | |
| | |
| | | |
Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551)
https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Default redirection missing "ash" and "dash".
Solution: Recognize "ash" and "dash". (Natanael Copa, closes vim/vim#8180)
https://github.com/vim/vim/commit/56318369750066718b880afa69e7ae3843d0410b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: File extension .wrap not recognized.
Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177)
https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
after commit 92c6383cdca977("vim-patch:8.1.1425: win_execute() does not set window pointers properly"),
nvim_win_set_buf can use switch_win_noblock and restore_win_noblock.
It makes nvim_win_set_buf don't block autocmds so that it will be more
"without side-effects" as said in help text.
Signed-off-by: jing <lhchenjw@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: win_execute() unexpectedly returns number zero when failing.
Solution: Return an empty string. (closes vim/vim#7665)
https://github.com/vim/vim/commit/37487e16da7877129edee8d11b9b7f5c8df312c6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Crash when using win_execute() from a new tab.
Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512)
https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Ruler is not updated if win_execute() moves cursor.
Solution: Update the status line. (closes vim/vim#5022)
https://github.com/vim/vim/commit/345f28df5482cd35f5fa74b06443376379f113b0
|