| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Vim9: cannot use a funcref for a closure twice.
Solution: Instead of putting the funcref on the stack use a growarray on the
execution context.
|
|
|
|
|
| |
Problem: Stuck when win_execute() for a popup causes an error.
Solution: Disable the filter callback on error. (issue #6999)
|
|
|
|
|
| |
Problem: Vim9: cannot use += to append to empty NULL list.
Solution: Copy the list instead of extending it. (closes #6998)
|
|
|
|
|
| |
Problem: Vim9: cannot use member of unknown type.
Solution: When type is unknown us "any". (closes #6997)
|
|
|
|
|
| |
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
|
|
|
|
|
|
|
| |
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000) Add the "winid" argument to
getcurpos().
|
|
|
|
|
|
| |
Problem: Fuzzy matching only works on strings.
Solution: Support passing a dict. Add matchfuzzypos() to also get the match
positions. (Yegappan Lakshmanan, closes #6947)
|
|
|
|
|
| |
Problem: Not all Pascal files are recognized.
Solution: Add filetype patterns. (Doug Kearns)
|
|
|
|
|
| |
Problem: Vim9: assignment tests spread out.
Solution: Create new test file for assignment tests.
|
|
|
|
|
| |
Problem: Vim9: Variable argument name cannot start with underscore.
Solution: Use eval_isnamec1(). (closes #6988)
|
|
|
|
|
|
| |
Problem: Vim9: cannot assign a lambda to a variable of type function.
Solution: Allow for assigning a partial to a variable of type function.
(Naruhiko Nishino, closes #6996)
|
|
|
|
|
|
| |
Problem: Vim9: memory leak with heredoc that isn't executed. (Dominique
Pellé)
Solution: Don't clear the list items. (closes #6991)
|
|
|
|
|
| |
Problem: Vim9: no error if comma is missing in between arguments.
Solution: Give an error message.
|
|
|
|
|
|
| |
Problem: Vim9: :def function disallows "firstline" and "lastline" argument
names for no good reason.
Solution: Don't check the arguments for a :def function. (closes #6986)
|
|
|
|
|
|
| |
Problem: Text properties corrupted with substitute command. (Filipe
Brandenburger)
Solution: Get the changed line again after using u_savesub(). (closes #6984)
|
|
|
|
|
|
| |
Problem: Vim9: list of list type can be wrong.
Solution: Use VAR_UNKNOWN for empty list. Recognize VAR_UNKNOWN when
looking for a common type. (closes #6979)
|
|
|
|
|
| |
Problem: Vim9: error message for function has unpritable characters.
Solution: use printable_func_name(). (closes #6965)
|
|
|
|
|
| |
Problem: Small inconsitency in highlight test.
Solution: Use one argument for :execute. (Antony Scriven, #6975)
|
|
|
|
|
| |
Problem: Vim9: crash after running into the "Multiple closures" error.
Solution: When a function fails still update any closures. (closes #6973)
|
|
|
|
|
| |
Problem: "verbose hi Name" reports incorrect info after ":hi clear".
Solution: Store the script context. (Antony Scriven, closes #6975)
|
|
|
|
|
| |
Problem: Vim9: crash in for loop when autoload script has an error.
Solution: Reset suppress_errthrow. Check for NULL list. (closes #6967)
|
|
|
|
|
|
| |
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes #6970, closes #4405)
|
|
|
|
|
| |
Problem: Crash when using undo after deleting folded lines.
Solution: Check for NULL pointer. (closes #6968)
|
|
|
|
|
| |
Problem: Vim9: sort("i") does not work.
Solution: Don't try getting a number for a string argument. (closes #6958)
|
|
|
|
|
| |
Problem: Vim9: try/catch causes wrong value to be returned.
Solution: Reset tcd_return. (closes #6964)
|
|
|
|
|
| |
Problem: Cannot lock a variable in legacy Vim script like in Vim9.
Solution: Make ":lockvar 0" work.
|
|
|
|
|
| |
Problem: Inconsistent capitalization of error messages.
Solution: Always start with a capital.
|
|
|
|
|
| |
Problem: Vim9: crash when using varargs type "any".
Solution: Check if uf_va_type is &t_any. (closes #6957)
|
|
|
|
|
|
| |
Problem: "hi def" does not work for cleared highlight.
Solution: Check the "sg_cleared" flag. (Maxim Kim, closes #6956,
closes #4405)
|
|
|
|
|
|
| |
Problem: Vim9: list<any> is not accepted where list<number> is expected.
Solution: Add functions to allocate and free a type_T, use it in
ISN_CHECKTYPE. (closes #6959)
|
|
|
|
|
| |
Problem: Text properties not adjusted for "I" in Visual block mode.
Solution: Call inserted_bytes().
|
|
|
|
|
|
| |
Problem: 'colorcolumn' doesn't show in indent.
Solution: Also draw the column when draw_state is WL_BRI or WL_SBR.
(Alexey Demin, closes #6948, closes #6619)
|
|
|
|
|
| |
Problem: Increment/decrement removes text property.
Solution: Insert the new number before deleting the old one. (closes #6962)
|
|
|
|
|
| |
Problem: Vim9: "const!" not sufficiently tested.
Solution: Add a few more test cases. Fix type checking.
|
|
|
|
|
| |
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
|
|
|
|
|
| |
Problem: "gF" does not use line number after file in Visual mode.
Solution: Look for ":123" after the Visual area. (closes #6952)
|
|
|
|
|
|
| |
Problem: Vim9: const works in an unexpected way.
Solution: ":const" only disallows changing the variable, not the value.
Make "list[0] = 9" work at the script level.
|
|
|
|
|
| |
Problem: Vim9: unnessary :call commands in tests.
Solution: Remove the commands. (issue #6936)
|
|
|
|
|
| |
Problem: Vim9: line number for compare error is wrong.
Solution: Set SOURCING_LNUM. (closes #6936)
|
|
|
|
|
| |
Problem: Vim9: ":*" is not recognized as a range.
Solution: Move recognizing "*" into skip_range(). (closes #6838)
|
|
|
|
|
| |
Problem: Crash when using ":set" after ":ownsyntax".
Solution: Make sure 'spelloptions' is not NULL. (closes #6950)
|
|
|
|
|
| |
Problem: Memory access errors when calling setloclist() in an autocommand.
Solution: Give an error if the list was changed unexpectedly. (closes #6946)
|
|
|
|
|
|
| |
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
|
|
|
|
|
| |
Problem: Vim9: internal error when using variable that was not set.
Solution: Give a meaningful error. (closes #6937)
|
|
|
|
|
|
| |
Problem: complete_info() selected index has an invalid value. (Ben Jackson)
Solution: Set the index when there is only one match. (closes #6945)
Add test for complete_info().
|
|
|
|
|
| |
Problem: Vim9: stray error for missing white space.
Solution: Do not skip over white space after member. (closes #6817)
|
|
|
|
|
| |
Problem: Vim9: not accepting 0 or 1 as bool when type is any.
Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
|
|
|
|
|
|
| |
Problem: Local function name cannot shadow a global function name.
Solution: Ignore global functions when checking a script-local or scoped
function name. (closes #6926)
|
|
|
|
|
|
| |
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes #6940)
|
|
|
|
|
| |
Problem: Cannot do fuzzy string matching.
Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
|