summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1397: Vim9: return type of maparg() not adjusted for fourth argv8.2.1397Bram Moolenaar2020-08-083-1/+25
| | | | | Problem: Vim9: return type of maparg() not adjusted for fourth argument. Solution: Check if fourth argument is present. (closes #6645)
* patch 8.2.1396: Vim9: no error for unexpectedly returning a valuev8.2.1396Bram Moolenaar2020-08-083-15/+57
| | | | | | 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.
* patch 8.2.1395: Vim9: no error if declaring a funcref with lower case letterv8.2.1395Bram Moolenaar2020-08-088-10/+20
| | | | | 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.
* patch 8.2.1394: Vim9: compiling a function interferes with command modifiersv8.2.1394Bram Moolenaar2020-08-084-11/+35
| | | | | Problem: Vim9: compiling a function interferes with command modifiers. Solution: Save and restore command modifiers. (closes #6658)
* patch 8.2.1393: insufficient testing for script debuggingv8.2.1393Bram Moolenaar2020-08-082-10/+276
| | | | | Problem: Insufficient testing for script debugging. Solution: Add more tests. (Ben Jackson)
* patch 8.2.1392: Vim9: line number incorrect after skipping over comment linesv8.2.1392Bram Moolenaar2020-08-083-0/+55
| | | | | | Problem: Vim9: error line number incorrect after skipping over comment lines. Solution: Insert empty lines for skipped lines.
* patch 8.2.1391: Vim9: no error for shadowing a script functionv8.2.1391Bram Moolenaar2020-08-073-0/+16
| | | | | Problem: Vim9: no error for shadowing a script function. Solution: Check for already defined items. (closes #6652)
* patch 8.2.1390: Vim9: type error after storing an option valuev8.2.1390Bram Moolenaar2020-08-073-1/+8
| | | | | Problem: Vim9: type error after storing an option value. Solution: Drop the type after a STOREOPT instruction. (closes #6632)
* patch 8.2.1389: file missing from the distributionv8.2.1389Bram Moolenaar2020-08-071-0/+2
| | | | | Problem: File missing from the distribution. Solution: Add script_util.vim to the list of distributes files.
* patch 8.2.1388: Vim9: += only works for numbersv8.2.1388Bram Moolenaar2020-08-073-32/+77
| | | | | Problem: Vim9: += only works for numbers. Solution: Use += as concatenate for a list. (closes #6646)
* patch 8.2.1387: Vim9: cannot assign to single letter variable with typev8.2.1387Bram Moolenaar2020-08-073-6/+28
| | | | | Problem: Vim9: cannot assign to single letter variable with type. Solution: Exclude the colon from the variable name. (closes #6647)
* patch 8.2.1386: backslash not removed afer space with space in 'isfname'v8.2.1386Bram Moolenaar2020-08-073-3/+15
| | | | | | | 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)
* patch 8.2.1385: no testing on ARMv8.2.1385Bram Moolenaar2020-08-071-0/+2
| | | | | Problem: No testing on ARM. Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)
* patch 8.2.1384: no ATTENTION prompt for :vimgrep first match filev8.2.1384Bram Moolenaar2020-08-074-1/+44
| | | | | | 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)
* patch 8.2.1383: test 49 is old stylev8.2.1383Bram Moolenaar2020-08-074-1188/+1156
| | | | | | Problem: Test 49 is old style. Solution: Convert test cases to new style. (Yegappan Lakshmanan, closes #6638)
* patch 8.2.1382: Vim9: using :import in filetype plugin gives an errorv8.2.1382Bram Moolenaar2020-08-063-1/+33
| | | | | Problem: Vim9: using :import in filetype plugin gives an error. Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636)
* patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirectedv8.2.1381Bram Moolenaar2020-08-064-1/+51
| | | | | Problem: MS-Windows: crash with Python 3.5 when stdin is redirected. Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)
* patch 8.2.1380: Vim9: return type of getreg() is always a stringv8.2.1380Bram Moolenaar2020-08-063-1/+18
| | | | | Problem: Vim9: return type of getreg() is always a string. Solution: Use list of strings when there are three arguments. (closes #6633)
* patch 8.2.1379: curly braces expression ending in " }" does not workv8.2.1379Bram Moolenaar2020-08-063-1/+25
| | | | | Problem: Curly braces expression ending in " }" does not work. Solution: Skip over white space when checking for "}". (closes #6634)
* patch 8.2.1378: cannot put space between function name and parenv8.2.1378Bram Moolenaar2020-08-064-1/+15
| | | | | Problem: Cannot put space between function name and paren. Solution: Allow this for backwards compatibility.
* patch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess upv8.2.1377Bram Moolenaar2020-08-052-0/+4
| | | | | Problem: Triggering the ATTENTION prompt causes typeahead to be messed up. Solution: Increment tb_change_cnt. (closes #6541)
* patch 8.2.1376: Vim9: expression mapping causes error for using :importv8.2.1376Bram Moolenaar2020-08-053-2/+34
| | | | | Problem: Vim9: expression mapping causes error for using :import. Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
* patch 8.2.1375: Vim9: method name with digit not acceptedv8.2.1375Bram Moolenaar2020-08-053-3/+5
| | | | | Problem: Vim9: method name with digit not accepted. Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
* patch 8.2.1374: Vim9: error for assigning empty list to script variablev8.2.1374Bram Moolenaar2020-08-053-6/+25
| | | | | Problem: Vim9: error for assigning empty list to script variable. Solution: Use t_unknown for empty list member. (closes #6595)
* patch 8.2.1373: Vim9: no error for assigning to non-existing script varv8.2.1373Bram Moolenaar2020-08-055-36/+68
| | | | | Problem: Vim9: no error for assigning to non-existing script var. Solution: Check that in Vim9 script the variable was defined. (closes #6630)
* patch 8.2.1372: Vim9: no error for missing white space around operatorv8.2.1372Bram Moolenaar2020-08-053-4/+61
| | | | | Problem: Vim9: no error for missing white space around operator. Solution: Check for white space around ? and :.
* patch 8.2.1371: Vim9: no error for missing white space around operatorv8.2.1371Bram Moolenaar2020-08-053-0/+64
| | | | | Problem: Vim9: no error for missing white space around operator. Solution: Check for white space around && and ||.
* patch 8.2.1370: MS-Windows: warning for using fstat() with stat_Tv8.2.1370Bram Moolenaar2020-08-052-1/+11
| | | | | Problem: MS-Windows: warning for using fstat() with stat_T. Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625)
* patch 8.2.1369: MS-Windows: autocommand test sometimes failsv8.2.1369Bram Moolenaar2020-08-052-1/+3
| | | | | Problem: MS-Windows: autocommand test sometimes fails. Solution: Do not rely on the cat command.
* patch 8.2.1368: Vim9: no error for missing white space around operatorv8.2.1368Bram Moolenaar2020-08-053-5/+53
| | | | | Problem: Vim9: no error for missing white space around operator. Solution: Check for white space around <, !=, etc.
* patch 8.2.1367: Vim9: no error for missing white space around operatorv8.2.1367Bram Moolenaar2020-08-053-5/+56
| | | | | Problem: Vim9: no error for missing white space around operator. Solution: Check for white space around *, / and %.
* patch 8.2.1366: test 49 is old stylev8.2.1366Bram Moolenaar2020-08-055-1752/+1835
| | | | | | Problem: Test 49 is old style. Solution: Convert several tests to new style. (Yegappan Lakshmanan, closes #6629)
* patch 8.2.1365: Vim9: no error for missing white space around operatorv8.2.1365Bram Moolenaar2020-08-057-26/+80
| | | | | Problem: Vim9: no error for missing white space around operator. Solution: Check for white space. (closes #6618)
* patch 8.2.1364: invalid memory access when searching for raw stringv8.2.1364Bram Moolenaar2020-08-042-2/+4
| | | | | Problem: Invalid memory access when searching for raw string. Solution: Check for delimiter match before following quote. (closes #6578)
* patch 8.2.1363: test trying to run terminal when it is not supportedv8.2.1363Bram Moolenaar2020-08-042-0/+4
| | | | | Problem: Test trying to run terminal when it is not supported. Solution: Check if Vim can be run in a terminal.
* patch 8.2.1362: last entry of ":set term=xxx" overwritten by error messagev8.2.1362Bram Moolenaar2020-08-043-0/+19
| | | | | | Problem: Last entry of ":set term=xxx" overwritten by error message when 'cmdheight' is two or more. (Tony Mechelynck) Solution: Output extra line breaks.
* patch 8.2.1361: error for white space after expression in assignmentv8.2.1361Bram Moolenaar2020-08-043-0/+6
| | | | | Problem: Error for white space after expression in assignment. Solution: Skip over white space. (closes #6617)
* patch 8.2.1360: stray error for white space after expressionv8.2.1360Bram Moolenaar2020-08-033-1/+4
| | | | | Problem: Stray error for white space after expression. Solution: Ignore trailing white space. (closes #6608)
* patch 8.2.1359: Vim9: cannot assign to / register in Vim9 scriptv8.2.1359Bram Moolenaar2020-08-023-3/+24
| | | | | Problem: Vim9: cannot assign to / register in Vim9 script. Solution: Adjust check for assignment in Vim9 script. (closes #6567)
* patch 8.2.1358: Vim9: test fails with +dnd is not availablev8.2.1358Bram Moolenaar2020-08-022-1/+8
| | | | | Problem: Vim9: test fails with +dnd is not available. Solution: Add condition.
* patch 8.2.1357: Vim9: cannot assign to / registerv8.2.1357Bram Moolenaar2020-08-024-6/+24
| | | | | Problem: Vim9: cannot assign to / register. Solution: Adjust check for assignment.
* patch 8.2.1356: Vim9: cannot get the percent registerv8.2.1356Bram Moolenaar2020-08-023-1/+12
| | | | | Problem: Vim9: cannot get the percent register. Solution: Check for readable registers instead of writable. (closes #6566)
* patch 8.2.1355: Vim9: no error using :let for options and registersv8.2.1355Bram Moolenaar2020-08-024-48/+36
| | | | | Problem: Vim9: no error using :let for options and registers. Solution: Give an error. (closes #6568)
* patch 8.2.1354: test 59 is old stylev8.2.1354Bram Moolenaar2020-08-027-930/+775
| | | | | Problem: Test 59 is old style. Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604)
* patch 8.2.1353: crash when drawing double-wide character in terminal windowv8.2.1353Bram Moolenaar2020-08-023-1/+23
| | | | | | Problem: Crash when drawing double-wide character in terminal window. (Masato Nishihata) Solution: Check getcell() returning NULL. (issue #6141)
* patch 8.2.1352: Vim9: no error for shadowing a script-local functionv8.2.1352Bram Moolenaar2020-08-013-1/+23
| | | | | | Problem: Vim9: no error for shadowing a script-local function by a nested function. Solution: Check for script-local function. (closes #6586)
* patch 8.2.1351: Vim9: no proper error if using namespace for nested functionv8.2.1351Bram Moolenaar2020-08-013-1/+11
| | | | | Problem: Vim9: no proper error if using namespace for nested function. Solution: Specifically check for a namespace. (closes #6582)
* patch 8.2.1350: Vim9: no test for error message when redefining functionv8.2.1350Bram Moolenaar2020-08-012-0/+15
| | | | | Problem: Vim9: no test for error message when redefining function. Solution: Add a test.
* patch 8.2.1349: Vim9: can define a function with the name of an importv8.2.1349Bram Moolenaar2020-08-015-10/+66
| | | | | Problem: Vim9: can define a function with the name of an import. Solution: Disallow using an existing name. (closes #6585)
* patch 8.2.1348: build failure without the eval featurev8.2.1348Bram Moolenaar2020-08-012-1/+3
| | | | | Problem: Build failure without the eval feature. Solution: Add #ifdef.