| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
|
|
|
|
|
|
| |
Problem: Vim9: assignment not recognized if declaration was skipped.
Solution: Also recognized an assignment if the variable does not exist.
(closes #8108)
|
|
|
|
|
| |
Problem: Vim9: type of loop variable is not used.
Solution: Parse and check the variable type. (closes #8107)
|
|
|
|
|
| |
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
|
|
|
|
|
| |
Problem: Vim9: memory leak with blob range error.
Solution: Jump to end instead of returning.
|
|
|
|
|
| |
Problem: Compiler warning for unused argument.
Solution: Remove the argument.
|
|
|
|
|
| |
Problem: Test failure.
Solution: Add change to Vim9 compilation error message.
|
|
|
|
|
|
| |
Problem: Vim9: not all blob operations work.
Solution: Run more tests also with Vim9 script and :def functions. Fix what
doesn't work.
|
|
|
|
|
| |
Problem: Memory leak when default function argument is allocated.
Solution: Free the expression result.
|
|
|
|
|
| |
Problem: Vim9: cannot use type in for loop unpack at script level.
Solution: Advance over the type name.
|
|
|
|
|
| |
Problem: Vim9: function line truncated when compiling.
Solution: Copy the line before processing it. (closes #8101)
|
|
|
|
|
|
| |
Problem: Using "syn include" does not work properly.
Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
closes #8104)
|
|
|
|
|
| |
Problem: Vim9: no error for changing a for loop variable.
Solution: Make the loop variable read-only. (issue #8102)
|
|
|
|
|
| |
Problem: Vim9: for loop infers type of loop variable.
Solution: Do not get the member type. (closes #8102)
|
|
|
|
|
| |
Problem: Vim9: wrong line number for autoload function with wrong name.
Solution: Set and restore SOURCING_LNUM. (closes #8100)
|
|
|
|
|
| |
Problem: Vim9: blob tests for legacy and Vim9 script are separate.
Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
|
|
|
|
|
| |
Problem: Vim9: blob index and slice not implemented yet.
Solution: Implement blob index and slice.
|
|
|
|
|
|
| |
Problem: Vim9: no error for using a number in a condition.
Solution: Also use ISN_COND2BOOL if the type is t_number_bool.
(closes #7644)
|
|
|
|
|
|
| |
Problem: :sleep! does not always hide the cursor.
Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097,
closes #7998)
|
|
|
|
|
| |
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)
|