Age | Commit message (Collapse) | Author |
|
Problem: Vim9: cannot ignore an item in assignment unpack.
Solution: Allow using an underscore.
|
|
|
|
Problem: Coverity warns for using NULL pointer.
Solution: Check for NULL in calling function.
|
|
Problem: Vim9: error for using underscore in nested function.
Solution: Do not consider "_" already defined. (closes #8096)
|
|
Problem: Vim9: test for error can be a bit flaky.
Solution: Increase the wait time a bit.
|
|
Problem: Vim9: memory leak when calling :def function fails.
Solution: Jump to failed_early instead of returning.
|
|
Problem: Vim9: not always an error for too many function arguments.
Solution: Check for getting too many arguments.
|
|
Problem: Check for duplicate arguments does not work.
Solution: Correct condition.
|
|
Problem: Vim9: missing part of the argument change.
Solution: Add missing changes.
|
|
Problem: Vim9: no way to explicitly ignore an argument.
Solution: Use the underscore as the name for an ignored argument.
|
|
Problem: Vim9: function state stuck when compiling with ":silent!".
Solution: Check for uf_def_status to be UF_COMPILING.
|
|
Problem: Vim9: when compiling a function fails it is cleared.
Solution: Keep the function lines, prevent execution with a different
status. (closes #8093)
|
|
Problem: Vim9: Partial call does not check right arguments.
Solution: Adjust the offset for whether the partial is before or after the
arguments. (closes #8091)
|
|
Problem: Vim9: lambda with varargs doesn't work.
Solution: Make "...name" work. Require type to be a list.
|
|
Problem: Vim9: a lambda accepts too many arguments at the script level.
Solution: Do not set uf_varargs in Vim9 script.
|
|
Problem: Extending a list with itself can give wrong result.
Solution: Remember the item before where the insertion happens and skip to
after the already inserted items. (closes #1112)
|
|
Problem: Status line not updated when local 'statusline' option set.
Solution: Check the 'statusline' option of each window.
|
|
Problem: Vim9: for loop over string is a bit slow.
Solution: Avoid using strlen().
|
|
Problem: Vim9: function reference found with prefix, not without.
Solution: Also find function reference without prefix.
|
|
Problem: Vim9: cannot use legacy script-local var from :def function.
Solution: Do not insist on using "s:" prefix. (closes #8076)
|
|
|
|
Problem: Detecting Lua version is not reliable.
Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
|
|
Problem: Prompt for s///c in Ex mode can be wrong.
Solution: Position the cursor before showing the prompt. (closes #8073)
|
|
Problem: Mac: SF symbols are not displayed properly.
Solution: Add custom range to list of double-width characters. (Yee Cheng
Chin, closes #8077)
|
|
Problem: Coverity complains about not restoring character.
Solution: Also restore the character in case of an error.
|
|
Problem: Vim9: wrong error message for referring to legacy script variable.
Solution: Do allow referring to a variable in legacy script without "s:" if
it exists at compile time. (closes #8076)
|
|
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes #2389)
|
|
Problem: Function test fails.
Solution: Adjust expected error number.
|
|
Problem: Confusing error message with white space before comma in the
arguments of a function declaration.
Solution: Give a specific error message. (closes #2235)
|
|
Problem: Vim9: message about compiling is wrong when using try/catch.
Solution: Store the compiling flag with the message. (closes #8071)
|
|
Problem: Vim9: concatenating to list in dict not tested.
Solution: Add a test. (issue #8068)
|
|
Problem: Assignment test fails.
Solution: Adjust error number.
|
|
Problem: Vim9: crash when using LHS with double index.
Solution: Handle lhs_dest which is "dest_expr". (closes #8068)
Fix confusing error message for missing dict item.
|
|
Problem: Vim9: cannot have a linebreak inside a lambda.
Solution: Compile the expression before the arguments.
|
|
Problem: GTK menu tooltip moves the cursor.
Solution: Position the cursor after displaying the tooltip. Do not show the
tooltip when editing the command line.
|
|
Problem: Vim9: appending to dict item doesn't work in a :def function.
Solution: Implement assignment with operator on indexed item.
|
|
Problem: Vim9: no explicit test for using a global function without the g:
prefix.
Solution: Add a test case.
|
|
Problem: GTK menu items don't show a tooltip.
Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik,
closes #8067, closes #7810)
|
|
Problem: The equivalent class regexp is missing some characters.
Solution: Update the list of equivalent characters. (Dominique Pellé,
closes #8029)
|
|
Problem: Vim9: tests fail without the channel feature. (Dominique Pellé)
Solution: Check for the channel feature. (closes #8063)
|
|
Problem: Filetype pattern ending in star is too far up.
Solution: Move down to where patterns ending in star belong. (closes #8065)
|
|
Problem: Folding code not sufficiently tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #8064)
|
|
Problem: Memory leak when adding to a blob fails.
Solution: Clear the second typval before returning.
|
|
Problem: "gj" in a closed fold does not move out of the fold. (Marco Hinz)
Solution: Add a check for being in a closed fold. (closes #8062)
|
|
Problem: Vim9: not all tests cover script and :def function.
Solution: Run tests in both if possible. Fix differences.
|
|
Problem: The GTK GUI has a gap next to the scrollbar.
Solution: Calculate the scrollbar padding for GTK. (closes #8027)
|
|
Problem: Test sometimes fails waiting for shell in terminal.
Solution: Use WaitForAssert() so we can see the actual job status. Use
Run_shell_in_terminal().
|
|
Problem: Adding a lot of completions can still be a bit slow.
Solution: Add the check for CP_FAST. (Ben Jackson)
|
|
Problem: Vim9: wrong line number reported for boolean operator.
Solution: Use the line number before skipping over line break.
(closes #8058)
|
|
Problem: Vim9: misleading reported line number for wrong type.
Solution: Remember and use the line number at the start. (closes #8059)
|