| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
|
|
|
|
|
|
|
| |
Problem: Code coverage could be improved.
Solution: Add a few more tests. (Dominique Pellé, closes vim/vim#7957)
https://github.com/vim/vim/commit/6fd367a97c8653a2d734a38252c7d68d4b2ebaa7
Test case in test_viminfo.vim is applicable.
|
|
|
|
|
|
|
|
|
|
| |
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6300)
https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d
Omit test_iminsert.vim: the commit that created this file was N/A.
Omit test_viminfo.vim: the added tests are N/A.
|
|
|
|
|
|
| |
Problem: Insufficient tests for src/buffer.c.
Solution: Add more tests. Move comments related tests to a separate file.
(Yegappan Lakshmanan, closes vim/vim#6325)
https://github.com/vim/vim/commit/b7e2483655d9b68df0c7349918027d800051a28a
|
|
|
|
|
|
| |
Problem: After text formatting the cursor may be in an invalid position.
Solution: Correct the cursor position after formatting.
https://github.com/vim/vim/commit/78d52883e10d71f23ab72a3d8b9733b00da8c9ad
|
|
|
|
|
|
|
|
|
|
| |
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5871)
https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d
Cherry-pick test_clientserver.vim change from patch 8.1.1826.
Cherry-pick a comment from patch 8.2.0301.
Omit test_viminfo.vim.
|
|
|
|
|
|
|
|
| |
Problem: Insert mode completion not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6041)
https://github.com/vim/vim/commit/f9ab52e155dc13f59b654d754041fe78e17b9074
Cherry-pick test_ins_complete.vim changes from patches 8.2.{0522,0615}.
|
|
|
|
|
|
|
|
|
| |
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: 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.
|
|
|
|
|
|
|
|
| |
comment (#18717)
Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
comment.
Solution: Pass the OPENLINE_FORMAT flag.
https://github.com/vim/vim/commit/7e667788150be617aeac42b0d668618ac33ab9da
|
|
|
|
|
| |
Problem: No text formatting for // comment after a statement.
Solution: format a comment when the 'c' flag is in 'formatoptions'.
https://github.com/vim/vim/commit/48a8a833033e10fc1eba96f2fc8dd19c2408eddf
|
|
|
|
|
|
|
|
| |
(#18463)
Problem: Some users do not want a line comment always inserted.
Solution: Add the '/' flag to 'formatoptions' to not repeat the comment
leader after a statement when using "o".
https://github.com/vim/vim/commit/2bf875f881f7c6f6900bc0eb2a93a552db894109
|
|
|
|
|
| |
Problem: // in JavaScript string recognized as comment.
Solution: Only check for linecomment if 'cindent' is set. (closes vim/vim#10151)
https://github.com/vim/vim/commit/1655619717ff109ea8bf1002883636d5af345e48
|
|\
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Problem: "o" and "O" copying comment not sufficiently tested.
Solution: Add a test case. (closes vim/vim#9718)
https://github.com/vim/vim/commit/51ab7c7d0da08aac796acff22a6c075dac579e76
Fix a mistake when porting Vim patch 8.2.3934
|
|
|
|
|
|
| |
Problem: Line comment start is also found in a string.
Solution: Skip line comments in a string.
https://github.com/vim/vim/commit/ba26367fea3b63df49d274f3d5cca0af38402add
|
|
|
|
|
|
| |
Problem: CTRL-U in Insert mode does not fix the indent.
Solution: Fix the indent when 'cindent' is set.
https://github.com/vim/vim/commit/5d20fbf2e79b96a39abbdadc486b656cdcc67ed6
|
|
|
|
|
|
| |
Problem: Repeating line comment is undesired for "O" command.
Solution: Do not copy line comment leader for "O". (closes vim/vim#9426)
https://github.com/vim/vim/commit/5ea5f373729589acb38ce3f3ca338e8a6d398bdc
|
|
|
|
|
|
|
| |
Problem: C line comment not formatted properly.
Solution: If a line comment follows after "#if" the next line is not the end
of a paragraph.
https://github.com/vim/vim/commit/264d3ddac0f9474816c20a0e92014d6f7f4b08ac
|
|
|
|
|
|
|
| |
Problem: No proper formatting of a C line comment after a statement.
Solution: Find the start of the line comment, insert the comment leader and
indent the comment properly.
https://github.com/vim/vim/commit/6e371ecb27227ff8fedd8561d0f3880a17576848
|
|
|
|
|
|
| |
Problem: Auto formatting after "cw" leaves cursor in wrong spot.
Solution: Do not auto-format after the delete. (closes vim/vim#8789)
https://github.com/vim/vim/commit/6b36d2a16d7931bac82ef8b5654c68ac456b24bf
|
|
|
|
|
|
| |
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes vim/vim#8053) Add assert_nobeep().
https://github.com/vim/vim/commit/5b8cabfef7c3707f3e53e13844d90e5a217e1e84
|
|
|
|
|
|
| |
Problem: Auto format doesn't work when deleting text.
Solution: Make "x" trigger auto format. (closes vim/vim#7504)
https://github.com/vim/vim/commit/d0a1dee3f197d41434df4cf0271066b6aeb690fc
|
|
|
|
|
|
|
|
| |
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 for wrapmargin fails if terminal is not 80 columns.
Solution: Vertical split the window. (Ken Takata, closes vim/vim#5554)
https://github.com/vim/vim/commit/0c3064b39b4cd4f22fe1eab5438fe691d7cc80d1
|
|
|
|
|
|
|
|
| |
Problem: Crash when using :center in autocommand.
Solution: Bail out early for an empty line. (Dominique pelle, closes vim/vim#5095)
https://github.com/vim/vim/commit/396b7c78c0fd9cd07528963b18c27398491df40d
Cherry-pick 'src/testdir/check.vim' changes from patch 8.1.1544.
|
|
|
|
|
|
| |
Problem: Test name used twice, option not restored properly.
Solution: Rename function, restore option with "&".
https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683
|
|
|
|
|
|
| |
Problem: Test69 and test95 are old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5365)
https://github.com/vim/vim/commit/afc13bd8271819c7871ff2ae2cfebb22190a0d39
|
|
|
|
|
| |
Problem: Cannot avoid breaking after a single space.
Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder)
https://github.com/vim/vim/commit/c3c3158756ae074052b0db2a3e3a7ba192df5330
|
|
|
|
|
| |
Problem: Cursor in the wrong column after auto-formatting.
Solution: Check for deleting more spaces than adding. (closes vim/vim#3748)
https://github.com/vim/vim/commit/e1e714ef0d1f4bb8b1712795e9106e3b4ff4c7bd
|
|
|
|
|
|
|
|
|
| |
Problem: Still too many old style tests.
Solution: Turn a few tests into new style. (Yegappan Lakshmanan,
closes vim/vim#2509)
https://github.com/vim/vim/commit/cada78975eebc47f9b12de1a471639b5afd9ad2f
Exclude test_shortpathname.vim.
nvim does not support 8.3 filenames on Windows.
|
|
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2326)
https://github.com/vim/vim/commit/209d3874c19d73b209e7d223cf05ea22e183f408
|