| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Problem: Some Normal mode commands not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#7073)
https://github.com/vim/vim/commit/d1ad99b65470d3e754f6a0588a6b0dc2214a1eab
Cherry-pick test_registers.vim change from patch 8.2.0644.
|
| |
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7059)
https://github.com/vim/vim/commit/8a9bc95eaec53f4e0c951ff8f2686ae5113a5709
Cherry-pick Test_normal_gdollar_cmd() change from patch 8.2.0540.
|
| |
|
|
|
|
| |
Problem: Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution: Set redraw_mode and use it. (closes vim/vim#10581)
https://github.com/vim/vim/commit/7a1d32809bb5c1527314000983e75125d79192e0
|
| |
|
|
|
|
|
|
| |
val" (#19670)
Problem: No error if an option is given an invalid value with
":let &opt = val".
Solution: Give the error. (closes vim/vim#9864)
https://github.com/vim/vim/commit/8ccbbeb620dcc73154de29c51100fe815cefe109
|
| |
|
|
|
|
|
| |
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes vim/vim#9638)
https://github.com/vim/vim/commit/b0ad2d92fd19e673ddbbc66742bae3f71778efde
|
| |
|
|
|
|
|
|
| |
Problem: When splitting a window the changelist position moves.
Solution: Set the changelist index a bit later. (closes vim/vim#10493)
https://github.com/vim/vim/commit/e6f13b473cf2c270e4eab214e09be9825320c11b
Cherry-pick Test_nv_hat_count() change from patch 8.2.1593.
|
| |
|
|
|
|
|
|
|
| |
Problem: Not enough testing for movement commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6313)
https://github.com/vim/vim/commit/bdd2c290d3cda69e0046c42f0c651f60bc510a16
Cherry-pick test_functions.vim changes from patch 8.2.0183.
Cherry-pick Test_normal18_z_fold() change from patch 8.2.0540.
|
| |
|
|
|
|
|
|
|
| |
Problem: Search code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5999)
https://github.com/vim/vim/commit/224a5f17c6ec9e98322a4c6792ce4f9bb31a4cce
Cherry-pick test_charsearch.vim change from patch 8.2.0448.
Cherry-pick test_search.vim changes from patch 8.2.0619.
|
| |
|
|
|
|
|
| |
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
https://github.com/vim/vim/commit/4033c55eca575777718c0701e26635a0cc47d907
|
| |
|
|
|
|
|
|
| |
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855)
https://github.com/vim/vim/commit/ca68ae13114619df3e4c195b41ad0575516f5ff6
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5751)
https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc
Cherry-pick a fix from patch 8.2.3162.
Omit test_iminsert.vim as previous patches to that file are N/A, and
Nvim doesn't support iminsert=2 either, so that test isn't useful.
|
| |
|
|
|
|
|
|
|
|
| |
vim-patch:9.0.0043: insufficient testing for bracket commands
Problem: Insufficient testing for bracket commands.
Solution: Add a few more tests. (closes vim/vim#10668)
https://github.com/vim/vim/commit/cf34434b5e840dda4a21cd9c0bee24e3e43a674d
Cherry-pick a change from patch 8.2.0369.
|
| |
|
|
|
|
| |
Problem: Testing wrong operator.
Solution: Test "g@" instead of "r_". (Naohiro Ono, closes vim/vim#9463)
https://github.com/vim/vim/commit/5c75eed758fbeb39825834d51f3ee4e08f137af3
|
| |
|
|
|
|
|
|
| |
Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
may be changed. (Naohiro Ono)
Solution: Save and restore the information for redoing the Visual area.
(closes vim/vim#9455)
https://github.com/vim/vim/commit/b3bd1d39e68e2d697c014b9f85482c2c12a3f909
|
| |
|
|
|
|
|
|
| |
Problem: Count for 'operatorfunc' in Visual mode is not redone.
Solution: Add the count to the redo buffer. (closes vim/vim#9174)
https://github.com/vim/vim/commit/2228cd72cf7c6f326e4e41179e88d37595ca4abc
Cherry-pick a line from patch 8.2.0522.
|
| |
|
|
|
|
| |
Problem: "g$" causes scroll if half a double width char is visible.
Solution: Advance to the last fully visible character. (closes vim/vim#8254)
https://github.com/vim/vim/commit/74ede80aeb272ac81d41a256057c4f250372dd00
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Some Normal mode commands not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5746)
https://github.com/vim/vim/commit/f5f1e10d0d39890298cdf27f664d466c8872b87e
Omit Test_edit_forbidden(): change reverted in patch 8.2.0369.
Cherry-pick Test_normal_yank_with_excmd() from patch 8.2.0293.
Skip Test_normal_cursorhold_with_count().
Cherry-pick Test_star_register() from patch 8.2.0270.
|
| |
|
|
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5645)
https://github.com/vim/vim/commit/f0cee1971f5258ce61f8a4e6a04d35c1e625bb01
Cherry-pick Test_bunload_with_offset() from patch 8.2.0243
|
| |
|
|
|
|
|
| |
Neovim already removed `evim` (or any similar flags). The 'insertmode'
option is a weird remnant, so get rid of it.
The 'insertmode' option is replaced with a script that closely emulates
the option. This script is documented at :help 'insertmode'
|
| |
|
|
|
|
|
|
|
|
| |
(#17983)
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes vim/vim#10070)
https://github.com/vim/vim/commit/ce416b453a849c837f9f6ffc91dd4792d84e1bfd
Cherry-pick a comment from patch 8.2.0363.
|
| |\
| |
| | |
vim-patch:8.1.{1846,1955},8.2.0156
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel
Hahler)
Solution: Use GetVimCommand(). (closes vim/vim#4806)
https://github.com/vim/vim/commit/93344c2d707d9953f351c944e6a237c9916f69a3
Cherry-pick a change to test_profile.vim from patch 8.1.1544.
Cherry-pick a change to test_vimscript.vim from patch 8.1.1826.
Some of the args are no-op in Nvim, and `-i NONE` and `--headless` are
already added by `GetVimCommand()`. I'll try to match the order of args
in upstream, substituting `--not-a-term` with `--headless`.
|
| |/
|
|
|
|
|
|
|
| |
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes vim/vim#9202)
https://github.com/vim/vim/commit/03725c5795ae5b8c14da4a39cd0ce723c6dd4304
Put E1247 in globals.h as E1240 is also there.
Do not make getdigits() abort.
|
| | |
|
| |
|
|
|
|
| |
Problem: gj does not move properly with a wide character.
Solution: Move one to the right. (Christian Brabandt, closes vim/vim#8702)
https://github.com/vim/vim/commit/aaec1d4fb12efb82b87ad322e95994de77b1a833
|
| |
|
|
|
|
|
| |
Open external 'keywordprg' commands in a :terminal in a new tab. <Esc> is
mapped to stop the job and close the buffer.
Closes #2995
Closes #2761
|
| |
|
|
|
|
| |
Problem: There is :spellwrong and :spellgood but not :spellrare.
Solution: Add :spellrare. (Martin Tournoij, closes vim/vim#4291)
https://github.com/vim/vim/commit/08cc374dabd2a02785129fa1c0100f7745c244ad
|
| |
|
|
|
|
| |
Problem: Operators are not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8290)
https://github.com/vim/vim/commit/2ac7184d34cd01e2b76bd1f704fd6a4b4af10239
|
| |
|
|
|
|
|
|
|
| |
Problem: Cannot paste a block without adding padding.
Solution: Add "zp" and "zP" which paste without adding padding. (Christian
Brabandt, closes vim/vim#8289)
https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a
Cherry-pick Test_normal_z_error() from patch v8.2.0369.
|
| |
|
|
|
|
|
|
| |
Problem: Formatoptions not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6031)
https://github.com/vim/vim/commit/2eaeaf3c317a5145fb0bc926411561d50883019b
Cherry-pick Test_fo_a_w() from patch v8.2.0482.
|
| |
|
|
|
|
|
|
|
| |
Problem: Test with "man" fails on FreeBSD.
Solution: Use "-P" instead of "--pager".
https://github.com/vim/vim/commit/c7d2a57b3a076f6ecb16f93c0b09280c4b3b4175
Cherry-picked "has('bsd')" from vim-patch:8.1.0846.
Cherry-picked test_normal.vim fix from vim-patch:8.1.2358
|
| |
|
|
|
| |
Problem: Not easy to move to the middle of a text line.
Solution: Add the gM command. (Yasuhiro Matsumoto, closes vim/vim#2070)
https://github.com/vim/vim/commit/8b530c1ff91f07cf6b0289a536992b7dfbc86598
|
| |\
| |
| | |
vim-patch:8.1.{1585,1625,1723,1729}
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412
|
| |/
|
|
|
| |
Problem: "gk" and "gj" do not work correctly in number column.
Solution: Allow for a negative "curswant". (Zach Wegner, closes vim/vim#4969)
https://github.com/vim/vim/commit/ceba3dd5187788e09f65bd41b07b40f6f9aab953
|
| |
|
|
|
|
| |
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400)
https://github.com/vim/vim/commit/c79745a82faeb5a6058e915ca49a4c69fa60ea01
|
| | |
|
| |
|
|
|
|
|
| |
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
|
| |
|
|
|
|
| |
Problem: Count of g$ not used correctly when text is not wrapped.
Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729, closes vim/vim#4566)
https://github.com/vim/vim/commit/d5c8234517c18fa059b78f59eb96c35eda323dae
|
| |
|
|
|
|
| |
Problem: "gk" moves to start of line instead of upwards.
Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969)
https://github.com/vim/vim/commit/03ac52fc025790c474030ea556cec799400aa046
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: When user tries to exit with CTRL-C message is confusing.
Solution: Only mention ":qa!" when there is a changed buffer. (closes vim/vim#4163)
https://github.com/vim/vim/commit/a84a3dd6635fcd2e07f510cba6a999585dcc381a
vim-patch:8.1.1052: test for CTRL-C message sometimes fails
Problem: test for CTRL-C message sometimes fails
Solution: Make sure there are no changed buffers.
https://github.com/vim/vim/commit/553e5a5c568e7d175b65b0472cd6d9843b25f4c8
vim-patch:8.1.1053: warning for missing return statement
Problem: Warning for missing return statement. (Dominique Pelle)
Solution: Add return statement.
https://github.com/vim/vim/commit/d6c3f1fa2b5e1dd7dc87cf608d72b84ad696b58f
|
| |
|
|
| |
It works now.
|
| |
|
|
|
|
| |
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes vim/vim#4308)
https://github.com/vim/vim/commit/c6b37db1ba704455daa8f9e78bc1c2492fb81f40
|
| |
|
|
|
| |
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
|
| |
|
|
|
| |
Problem: The "g CTRL-G" command isn't tested much.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3369)
https://github.com/vim/vim/commit/0529583ff144e2cb8fb57fe61a86997310bd7727
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
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: No test for expanding backticks.
Solution: Add a test. (Dominique Pelle, closes vim/vim#2479)
https://github.com/vim/vim/commit/ae6f8651251013bafef9de1aed09069deaae8122
|