| Commit message (Collapse) | Author | Age |
| ... | |
| | |
|
| |
|
|
|
| |
Problem: Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution: Do not reset did_ai when text follows. (closes vim/vim#4119)
https://github.com/vim/vim/commit/2ba4238818ca5ea52334de3037ef3729584cebf5
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Error when defining a Lambda with index of a function result.
Solution: When not evaluating an expression and skipping a function call,
set the return value to VAR_UNKNOWN.
https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
|
| |
|
|
|
| |
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: "gf" does not always work when URL has a port number. (Jakob
Schöttl)
Solution: When a URL is recognized also accept ":". (closes vim/vim#4082)
https://github.com/vim/vim/commit/cbef8e1aa1f260ffde16491b1678eae53a36cf68
|
| |
|
|
|
|
| |
Problem: Relative cursor position is not calculated correctly.
Solution: Always set topline, also when window is one line only.
(Robert Webb) Add more info to getwininfo() for testing.
https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
|
| |
|
|
|
|
|
|
| |
Problem: Profile log may be truncated halfway a character.
Solution: Find the start of the character. (Ozaki Kiichi, closes vim/vim#2385)
https://github.com/vim/vim/commit/ac112f01a6930c9d15cf0360b657373699916bfd
nvim does not support "--clean" yet but "-es" should suffice for the test.
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: The hlsearch test fails on fast systems.
Solution: Make the search pattern slower. Fix that the old regexp engine
doesn't timeout properly.
https://github.com/vim/vim/commit/0946326580e6f034fe2c88d041407ea0fde980ab
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: The new regexp engine does not give an error for using a back
reference where it is not allowed. (Dominique Pelle)
Solution: Check the back reference like the old engine. (closes vim/vim#1774)
https://github.com/vim/vim/commit/1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e
|
| | |
| |
| |
| |
| |
| | |
Problem: There is no test for 'hlsearch' timing out.
Solution: Add a test.
https://github.com/vim/vim/commit/5b1affefd0e96154517ec6f71300086ae6d22d24
|
| | | |
|
| | |
| |
| |
| | |
Value of "&shell" does not affect "shellescape()".
|
| | |
| |
| |
| |
| |
| | |
Problem: Text objects in not sufficiently tested.
Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3795)
https://github.com/vim/vim/commit/81b1ba4be57b4bfd7e53a6709b4f98758612ef5f
|
| |/
|
|
|
|
| |
Problem: getcurpos() unexpectedly changes "curswant".
Solution: Save and restore "curswant". (closes vim/vim#4069)
https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
|
| |
|
|
|
|
| |
Problem: Old regexp engine may use invalid buffer for 'iskeyword' or
uninitialized buffer pointer. (Kuang-che Wu)
Solution: Set rex.reg_buf when compiling the pattern. (closes vim/vim#3972)
https://github.com/vim/vim/commit/8bfd9469cef536f171e6666f9d9217192e09d161
|
| |
|
|
|
|
| |
Problem: Not all errors of marks and findfile()/finddir() are tested.
Solution: Add more test coverage. (Dominique Pelle)
https://github.com/vim/vim/commit/71b13e92ae580038b8aecbb783296c577ca2ba5a
|
| |
|
|
|
|
| |
Problem: Substitute command inssuficiently tested.
Solution: Add more test coverage. (Dominique Pelle)
https://github.com/vim/vim/commit/d77aa4d22e943998c337d5a603622ac5cf2928cb
|
| |
|
|
|
|
|
|
| |
closes #9640
Problem: Failure for selecting quoted text object moves cursor.
Solution: Restore the Visual selection on failure. (Christian Brabandt,
closes vim/vim#4024)
https://github.com/vim/vim/commit/55d3bdbbe2bfc7a78b4aa17763788dbddf87cab0
|
| |
|
|
|
|
|
|
| |
Problem: Pattern with syntax error gives threee error messages. (Kuang-che
Wu)
Solution: Remove outdated internal error. Don't fall back to other engine
after an error.
https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
|
| |
|
|
|
|
| |
Problem: Search test fails.
Solution: Wait a bit longer for the 'ambiwidth' redraw.
https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
|
| |
|
|
|
|
| |
Problem: Illegal memory access when using 'incsearch'.
Solution: Reset highlight_match when changing text. (closes vim/vim#4022)
https://github.com/vim/vim/commit/4a7d2d3b407ed695450bb7f43166e2f2722a6836
|
| |
|
|
|
|
| |
Problem: Crash with large number in regexp. (Kuang-che Wu)
Solution: Check for long becoming negative int. (closes #)
https://github.com/vim/vim/commit/ab350f89f9646e07aefe16a32ba3ddb847496b4a
|
| |
|
|
|
| |
Problem: extend() insufficiently tested.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#4040)
https://github.com/vim/vim/commit/58d63a0a2364e1f06a80550f9f5038145b339171
|
| |
|
|
|
|
|
| |
(#9644)
Problem: Mode() does not indicate using CTRL-O from Insert mode.
Solution: Add "niI", "niR" and "niV" to mode() result. (closes vim/vim#3000)
https://github.com/vim/vim/commit/612cc3888b136e80485132d9f997ed457dbc5501
|
| |
|
|
|
|
| |
Problem: Sorting large numbers is not tested and does not work properly.
Solution: Add test. Fix comparing lines with and without a number.
(Dominique Pelle, closes vim/vim#4017)
https://github.com/vim/vim/commit/a25e3d06956f1bc11c68fe60149acce2d8547092
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for 'incsearch' highlighting with :s.
Solution: Add a screendump test.
https://github.com/vim/vim/commit/164251ff805e89a3d9a850a77e3139e28908f44a
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for 'ambiwidth' detection.
Solution: Add a test.
https://github.com/vim/vim/commit/24839edc54e985ed88d063513226922a6f5b7554
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for overstrike mode in the command line.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3742)
https://github.com/vim/vim/commit/c0676bab92bd6488e17d05a4a70dfff993ef524e
|
| | |
| |
| |
| |
| |
| | |
Problem: No test for :wnext, :wNext and :wprevious.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3963)
https://github.com/vim/vim/commit/e93e5a504f481bd0dad9c504d5fcf0e5f0dfc6e6
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete collation element. (Dominique Pelle,
closes vim/vim#3985)
https://github.com/vim/vim/commit/f1b57ab2ab18032d19f64bff7d22f3adb3fe93f7
|
| | |
| |
| |
| |
| |
| | |
Problem: Invalid memory access in search pattern. (Kuang-che Wu)
Solution: Check for incomplete equivalence class. (closes vim/vim#3970)
https://github.com/vim/vim/commit/985079c514e9ab85598b7bca019c77d3e42526f5
|
| |/
|
|
|
|
|
| |
Problem: Internal error when using pattern with NL in the range.
Solution: Use an actual newline for the range. (closes vim/vim#3989) Also fix
error message. (Dominique Pelle)
https://github.com/vim/vim/commit/a5483448cba6997517003a22a8029f0de1007d0e
|
| |
|
|
|
| |
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f
|
| |
|
|
|
|
|
|
|
| |
Problem: Session file has problem with single quote in file name. (Jon
Crowe)
Solution: Use a double quoted string. Add a test.
https://github.com/vim/vim/commit/ad36a3588d32985ee27bd11aa97e5195ef623158
Fixes https://github.com/neovim/neovim/issues/9618
|
| |
|
|
|
| |
Problem: findfile() and finddir() are not properly tested.
Solution: Extend the test and add more. (Dominique Pelle, closes vim/vim#3880)
https://github.com/vim/vim/commit/ed71ed37bcd44bcbfcf59beee1248799de3315ec
|
| |
|
|
|
|
| |
Problem: Running tests may pollute shell history. (Manuel Ortega)
Solution: Make $HISTFILE empty.
https://github.com/vim/vim/commit/6a8691d483914606213a24356a9124fa41c93b69
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes vim/vim#3810)
https://github.com/vim/vim/commit/83a52171ba00b2b9fd2d1d22a07e38fc9fc69c1e
|
| | |
| |
| |
| |
| |
| | |
Problem: Menu test fails on MS-Windows using gvim.
Solution: First delete the English menus.
https://github.com/vim/vim/commit/a1c8ecfda90c0e0e519762ae0521d7f6e297c32e
|
| | |
| |
| |
| |
| |
| | |
Problem: Menu test fails on MS-Windows.
Solution: Use a menu entry with only ASCII characters.
https://github.com/vim/vim/commit/5558d19432120696409c007c64d5ba52eed42670
|
| |/
|
|
|
|
| |
Problem: We can't change the case in menu entries, it breaks translations.
Solution: Ignore case when looking up a menu translation.
https://github.com/vim/vim/commit/11dd8c1201033dd74e2ea665ba277425b4b965b0
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Vim version of Test_help_tagjump() tests for `:help sm?le` here. That
command got removed from Nvim, so the test was changed to check against `:help
sp?it` instead.
The new test already handled the case that on Win `:h split` would jump to the
entry for split() and on all other systems to the entry for :split.
Then this commit happened:
bb3aa824b lua/stdlib: vim.inspect, string functions
Since then `:h split` would jump to split() for macOS as well! I'm not sure why.
Anyway, instead of adding another check for has('mac'), we change the test once
more to be more akin to the original test. Instead of testing for :smile, which
is exclusive to Vim, we check against :checkhealth, which is exclusive to Nvim.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: When 'rnu' is set folded lines are not displayed correctly.
(Vitaly Yashin)
Solution: When only redrawing line numbers do draw folded lines.
(closes vim/vim#3484)
https://github.com/vim/vim/commit/7701f308565fdc7b5096a6597d9c3b63de0bbcec
---
Explanation:
Before this patch, relative line numbers would update on a cursor
movement and overwrite fold highlighting in the line number columns.
Other operations can cause the fold highlighting to overwrite the line
number styles. Together, this causes the highlighting in the line number
columns to flicker back and forth while editing.
Test case: create `t.vim` with these contents:
set fdm=marker rnu foldcolumn=2
call setline(1, ["{{{1", "nline 1", "{{{1", "line 2"])
and then call `nvim -u NORC -S t.vim` and press `j`; observe that the fold
highlighting disappears.
|