| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method. Make the window
command test faster.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
|
|
|
|
|
| |
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
|
|
|
|
|
|
| |
Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel
Hahler)
Solution: Use GetVimCommand(). (closes #4806)
|
|
|
|
|
| |
Problem: Tests use hand coded feature and option checks.
Solution: Use the commands from check.vim in more tests.
|
|
|
|
|
|
| |
Problem: Script line numbers are not exactly right.
Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi,
closes #4611, closes #4511)
|
|
|
|
|
|
| |
Problem: On error garbage collection may free memory in use.
Solution: Reset may_garbage_collect when evaluating expression mapping.
Add tests. (Ozaki Kiichi, closes #4579)
|
|
|
|
|
|
| |
Problem: Crash when using closures.
Solution: Set reference in varlist of funccal when running the garbage
collector. (Ozaki Kiichi, closes #4554, closes #4547)
|
|
|
|
|
| |
Problem: Error when editing test file.
Solution: Remove part of modeline.
|
|
|
|
|
| |
Problem: No way to check the reference count of objects.
Solution: Add test_refcount(). (Ozaki Kiichi, closes #4124)
|
|
|
|
|
| |
Problem: Floating point exception with "%= 0" and "/= 0".
Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058)
|
|
|
|
|
| |
Problem: Incomplete set of assignment operators.
Solution: Add /=, *= and %=. (Ozaki Kiichi, closes #3931)
|
|
|
|
|
| |
Problem: Test files still use function!.
Solution: Remove the exclamation mark. Fix overwriting a function.
|
|
|
|
|
| |
Problem: Various small problems in test files.
Solution: Include small changes.
|
|
|
|
|
| |
Problem: Still old style tests.
Solution: Convert two tests to new style. (Yegappan Lakshmanan)
|
|
|
|
|
|
| |
Problem: Memory access error when command follows :endfunction. (Nikolai
Pavlov)
Solution: Make memory handling in :function straightforward. (closes #1793)
|
|
|
|
|
| |
Problem: Giving an error message only when 'verbose' set is unexpected.
Solution: Give a warning message instead.
|
|
|
|
|
| |
Problem: Cannot use ! after some user commands.
Solution: Properly check for existing command. (Higashi Higashi)
|
|
|
|
|
| |
Problem: Not easy to make sure a function does not exist.
Solution: Add ! as an optional argument to :delfunc.
|
|
|
|
|
|
| |
Problem: Text found after :endfunction is silently ignored.
Solution: Give a warning if 'verbose' is set. When | or \n are used,
execute the text as a command.
|
|
|
|
|
|
| |
Problem: float2nr() is not exactly right.
Solution: Make float2nr() more accurate. Turn test64 into a new style test.
(Hirohito Higashi, closes #1688)
|
|
|
|
|
| |
Problem: Undefined behavior when using backslash after empty line.
Solution: Check for an empty line. (Dominique Pelle, closes #1631)
|
|
|
|
|
| |
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
|
|
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
|