| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: return type of maparg() not adjusted for fourth argument.
Solution: Check if fourth argument is present. (closes #6645)
|
|
|
|
|
|
| |
Problem: Vim9: no error for unexpectedly returning a value.
Solution: Only set the return type for lambda's. Make using function type
in a function reference work.
|
|
|
|
|
| |
Problem: Vim9: no error if declaring a funcref with a lower case letter.
Solution: Check the name after the type is inferred. Fix confusing name.
|
|
|
|
|
| |
Problem: Vim9: compiling a function interferes with command modifiers.
Solution: Save and restore command modifiers. (closes #6658)
|
|
|
|
|
| |
Problem: Insufficient testing for script debugging.
Solution: Add more tests. (Ben Jackson)
|
|
|
|
|
|
| |
Problem: Vim9: error line number incorrect after skipping over comment
lines.
Solution: Insert empty lines for skipped lines.
|
|
|
|
|
| |
Problem: Vim9: no error for shadowing a script function.
Solution: Check for already defined items. (closes #6652)
|
|
|
|
|
| |
Problem: Vim9: type error after storing an option value.
Solution: Drop the type after a STOREOPT instruction. (closes #6632)
|
|
|
|
|
| |
Problem: File missing from the distribution.
Solution: Add script_util.vim to the list of distributes files.
|
|
|
|
|
| |
Problem: Vim9: += only works for numbers.
Solution: Use += as concatenate for a list. (closes #6646)
|
|
|
|
|
| |
Problem: Vim9: cannot assign to single letter variable with type.
Solution: Exclude the colon from the variable name. (closes #6647)
|
|
|
|
|
|
|
| |
Problem: Backslash not removed afer space in option with space in
'isfname'.
Solution: Do remove backslash before space, also when it is in 'isfname'.
(Yasuhiro Matsumoto, closes #6651)
|
|
|
|
|
| |
Problem: No testing on ARM.
Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
|
|
|
|
|
|
| |
Problem: No ATTENTION prompt for :vimgrep first match file.
Solution: When there is an existing swap file do not keep the dummy buffer.
(closes #6649)
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert test cases to new style. (Yegappan Lakshmanan,
closes #6638)
|
|
|
|
|
| |
Problem: Vim9: using :import in filetype plugin gives an error.
Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
|
|
|
|
|
| |
Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
|
|
|
|
|
| |
Problem: Vim9: return type of getreg() is always a string.
Solution: Use list of strings when there are three arguments. (closes #6633)
|
|
|
|
|
| |
Problem: Curly braces expression ending in " }" does not work.
Solution: Skip over white space when checking for "}". (closes #6634)
|
|
|
|
|
| |
Problem: Cannot put space between function name and paren.
Solution: Allow this for backwards compatibility.
|
|
|
|
|
| |
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution: Increment tb_change_cnt. (closes #6541)
|
|
|
|
|
| |
Problem: Vim9: expression mapping causes error for using :import.
Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
|
|
|
|
|
| |
Problem: Vim9: method name with digit not accepted.
Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
|
|
|
|
|
| |
Problem: Vim9: error for assigning empty list to script variable.
Solution: Use t_unknown for empty list member. (closes #6595)
|
|
|
|
|
| |
Problem: Vim9: no error for assigning to non-existing script var.
Solution: Check that in Vim9 script the variable was defined. (closes #6630)
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around ? and :.
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around && and ||.
|
|
|
|
|
| |
Problem: MS-Windows: warning for using fstat() with stat_T.
Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
|
|
|
|
|
| |
Problem: MS-Windows: autocommand test sometimes fails.
Solution: Do not rely on the cat command.
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around <, !=, etc.
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around *, / and %.
|
|
|
|
|
|
| |
Problem: Test 49 is old style.
Solution: Convert several tests to new style. (Yegappan Lakshmanan,
closes #6629)
|
|
|
|
|
| |
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space. (closes #6618)
|
|
|
|
|
| |
Problem: Invalid memory access when searching for raw string.
Solution: Check for delimiter match before following quote. (closes #6578)
|
|
|
|
|
| |
Problem: Test trying to run terminal when it is not supported.
Solution: Check if Vim can be run in a terminal.
|
|
|
|
|
|
| |
Problem: Last entry of ":set term=xxx" overwritten by error message when
'cmdheight' is two or more. (Tony Mechelynck)
Solution: Output extra line breaks.
|
|
|
|
|
| |
Problem: Error for white space after expression in assignment.
Solution: Skip over white space. (closes #6617)
|
|
|
|
|
| |
Problem: Stray error for white space after expression.
Solution: Ignore trailing white space. (closes #6608)
|
|
|
|
|
| |
Problem: Vim9: cannot assign to / register in Vim9 script.
Solution: Adjust check for assignment in Vim9 script. (closes #6567)
|
|
|
|
|
| |
Problem: Vim9: test fails with +dnd is not available.
Solution: Add condition.
|
|
|
|
|
| |
Problem: Vim9: cannot assign to / register.
Solution: Adjust check for assignment.
|
|
|
|
|
| |
Problem: Vim9: cannot get the percent register.
Solution: Check for readable registers instead of writable. (closes #6566)
|
|
|
|
|
| |
Problem: Vim9: no error using :let for options and registers.
Solution: Give an error. (closes #6568)
|
|
|
|
|
| |
Problem: Test 59 is old style.
Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
|
|
|
|
|
|
| |
Problem: Crash when drawing double-wide character in terminal window.
(Masato Nishihata)
Solution: Check getcell() returning NULL. (issue #6141)
|
|
|
|
|
|
| |
Problem: Vim9: no error for shadowing a script-local function by a nested
function.
Solution: Check for script-local function. (closes #6586)
|
|
|
|
|
| |
Problem: Vim9: no proper error if using namespace for nested function.
Solution: Specifically check for a namespace. (closes #6582)
|
|
|
|
|
| |
Problem: Vim9: no test for error message when redefining function.
Solution: Add a test.
|
|
|
|
|
| |
Problem: Vim9: can define a function with the name of an import.
Solution: Disallow using an existing name. (closes #6585)
|
|
|
|
|
| |
Problem: Build failure without the eval feature.
Solution: Add #ifdef.
|