Age | Commit message (Collapse) | Author |
|
Problem: User defined functions can't be a closure.
Solution: Add the "closure" argument. Allow using :unlet on a bound
variable. (Yasuhiro Matsumoto, Ken Takata)
|
|
Problem: Closures are not supported.
Solution: Capture variables in lambdas from the outer scope. (Yasuhiro
Matsumoto, Ken Takata)
|
|
Problem: Deleting an augroup that still has autocmds does not give a
warning. The next defined augroup takes its place.
Solution: Give a warning and prevent the index being used for another group
name.
|
|
Problem: Loading defaults.vim with -C argument.
Solution: Don't load the defaults script with -C argument. Test sourcing
the defaults script. Set 'display' to "truncate".
|
|
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
|
|
Problem: getcompletion(.., 'dir') returns a match with trailing "*" when
there are no matches. (Chdiza)
Solution: Return an empty list when there are no matches. Add a trailing
slash to directories. (Yegappan Lakshmanan) Add tests for no
matches. (closes #947)
|
|
Problem: When there is an CmdUndefined autocmd then the error for a missing
command is E464 instead of E492. (Manuel Ortega)
Solution: Don't let the pointer be NULL.
|
|
Problem: Netbeans test is flaky.
Solution: Wait for the cursor to be positioned.
|
|
Problem: Can't have "augroup END" right after ":au!".
Solution: Check for the bar character before the command argument.
|
|
Problem: "cgn" and "dgn" do not work correctly with a single character
match and the replacement includes the searched pattern. (John
Beckett)
Solution: If the match is found in the wrong column try in the next column.
Turn the test into new style. (Christian Brabandt)
|
|
Problem: Text object tests are old style.
Solution: Turn them into new style tests. (James McCoy, closes #941)
|
|
Problem: Lambda functions show up with completion.
Solution: Don't show lambda functions. (Ken Takata)
|
|
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
|
|
Problem: Netbeans test fails once in a while. Leaving log file behind.
Solution: Add it to the list of flaky tests. Disable logfile.
|
|
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
|
|
Problem: Keymap test fails with normal features.
Solution: Bail out if the keymap feature is not supported.
|
|
Problem: Digraph code test coverage is still low.
Solution: Add more tests. (Christian Brabandt)
|
|
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
|
|
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
|
|
Problem: New digraph test makes testing hang.
Solution: Don't set "nocp".
|
|
Problem: Not much test coverage for digraphs.
Solution: Add a new style digraph test. (Christian Brabandt)
|
|
Problem: Line numbers in the error list are not always adjusted.
Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
|
|
Problem: Netbeans test fails on non-Unix systems.
Solution: Only do the permission check on Unix systems.
|
|
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
|
|
Problem: Syntax error when dict has '>' key.
Solution: Check for endchar. (Ken Takata)
|
|
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
|
|
Problem: rgb.txt is read for every color name.
Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
|
|
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
|
|
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
|
|
Problem: getcompletion() not well tested.
Solution: Add more testing.
|
|
Problem: qf_init_ext() is too big.
Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
|
|
Problem: When using ":vimgrep" may end up with duplicate buffers.
Solution: When adding an error list entry pass the buffer number if possible.
|
|
Problem: There is no way to get a list of the error lists.
Solution: Add ":chistory" and ":lhistory".
|
|
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
|
|
Problem: Netbeans file authentication not tested.
Solution: Add a test.
|
|
Problem: The Netbeans integration is not tested.
Solution: Add a first Netbeans test.
|
|
Problem: 'cscopequickfix' option does not accept new value "a".
Solution: Adjust list of command characters. (Ken Takata)
|
|
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
'textwidth' to a non-zero value. (Oyvind A. Holm)
Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
value. (partly by Christian Brabandt, closes #912)
|
|
Problem: printf() does not work with 64 bit numbers.
Solution: use the "L" length modifier. (Ken Takata)
|
|
Problem: When a file gets a name when writing it 'acd' is not effective.
(Dan Church)
Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
#777, closes #803) Add test_autochdir() to enable 'acd' before
"starting" is reset.
|
|
Problem: Using "noinsert" in 'completeopt' does not insert match.
Solution: Set compl_enter_selects. (Shougo, closes #875)
|
|
Problem: Using "noinsert" in 'completeopt' breaks redo.
Solution: Set compl_curr_match. (Shougo, closes #874)
|
|
Problem: Test for getcompletion() does not pass on all systems.
Solution: Only test what is supported.
|
|
Problem: It is not easy to get a list of command arguments.
Solution: Add getcompletion(). (Yegappan Lakshmanan)
|
|
Problem: There is a :cbottom command but no :lbottom command.
Solution: Add :lbottom. (Yegappan Lakshmanan)
|
|
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
|
|
Problem: Running the tests leaves a viminfo file behind.
Solution: Make the viminfo option empty.
|
|
Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
Solution: First check that the current buffer is the right one. (Hirohito
Higashi)
|
|
Problem: Crash when passing number to filter() or map().
Solution: Convert to a string. (Ozaki Kiichi)
|
|
Problem: evalcmd() doesn't work recursively.
Solution: Use redir_evalcmd instead of redir_vname.
|