Bram Moolenaar
74d95b5b58
patch 8.2.1389: file missing from the distribution
...
Problem: File missing from the distribution.
Solution: Add script_util.vim to the list of distributes files.
2020-08-07 20:47:39 +02:00
Bram Moolenaar
dd29f1b056
patch 8.2.1388: Vim9: += only works for numbers
...
Problem: Vim9: += only works for numbers.
Solution: Use += as concatenate for a list. (closes #6646 )
2020-08-07 20:46:20 +02:00
Bram Moolenaar
95dd9f2571
patch 8.2.1387: Vim9: cannot assign to single letter variable with type
...
Problem: Vim9: cannot assign to single letter variable with type.
Solution: Exclude the colon from the variable name. (closes #6647 )
2020-08-07 19:28:08 +02:00
Bram Moolenaar
994b89d28d
patch 8.2.1386: backslash not removed afer space with space in 'isfname'
...
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 )
2020-08-07 19:12:41 +02:00
Bram Moolenaar
de6804d871
patch 8.2.1385: no testing on ARM
...
Problem: No testing on ARM.
Solution: Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615 )
2020-08-07 18:33:19 +02:00
Bram Moolenaar
8ce4b7ed85
patch 8.2.1384: no ATTENTION prompt for :vimgrep first match file
...
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 )
2020-08-07 18:12:18 +02:00
Bram Moolenaar
9470a4d88a
patch 8.2.1383: test 49 is old style
...
Problem: Test 49 is old style.
Solution: Convert test cases to new style. (Yegappan Lakshmanan,
closes #6638 )
2020-08-07 16:49:11 +02:00
Bram Moolenaar
8e1986e389
patch 8.2.1382: Vim9: using :import in filetype plugin gives an error
...
Problem: Vim9: using :import in filetype plugin gives an error.
Solution: Allow commands with the EX_LOCK_OK flag. (closes #6636 )
2020-08-06 22:11:06 +02:00
Bram Moolenaar
56b8dc331d
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
...
Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641 )
2020-08-06 21:47:11 +02:00
Bram Moolenaar
3d945cc925
patch 8.2.1380: Vim9: return type of getreg() is always a string
...
Problem: Vim9: return type of getreg() is always a string.
Solution: Use list of strings when there are three arguments. (closes #6633 )
2020-08-06 21:26:59 +02:00
Bram Moolenaar
ae95a3946b
patch 8.2.1379: curly braces expression ending in " }" does not work
...
Problem: Curly braces expression ending in " }" does not work.
Solution: Skip over white space when checking for "}". (closes #6634 )
2020-08-06 16:38:12 +02:00
Bram Moolenaar
bbd3e3c357
patch 8.2.1378: cannot put space between function name and paren
...
Problem: Cannot put space between function name and paren.
Solution: Allow this for backwards compatibility.
2020-08-06 11:23:36 +02:00
Bram Moolenaar
b8d732e93e
patch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess up
...
Problem: Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution: Increment tb_change_cnt. (closes #6541 )
2020-08-05 22:07:26 +02:00
Bram Moolenaar
803af686e2
patch 8.2.1376: Vim9: expression mapping causes error for using :import
...
Problem: Vim9: expression mapping causes error for using :import.
Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
2020-08-05 16:20:03 +02:00
Bram Moolenaar
c5da1fb7ea
patch 8.2.1375: Vim9: method name with digit not accepted
...
Problem: Vim9: method name with digit not accepted.
Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613 )
2020-08-05 15:43:44 +02:00
Bram Moolenaar
a71e263320
patch 8.2.1374: Vim9: error for assigning empty list to script variable
...
Problem: Vim9: error for assigning empty list to script variable.
Solution: Use t_unknown for empty list member. (closes #6595 )
2020-08-05 15:11:03 +02:00
Bram Moolenaar
f9b2b49663
patch 8.2.1373: Vim9: no error for assigning to non-existing script var
...
Problem: Vim9: no error for assigning to non-existing script var.
Solution: Check that in Vim9 script the variable was defined. (closes #6630 )
2020-08-05 14:34:14 +02:00
Bram Moolenaar
fdac71c507
patch 8.2.1372: Vim9: no error for missing white space around operator
...
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around ? and :.
2020-08-05 12:44:41 +02:00
Bram Moolenaar
3c1c9fd94b
patch 8.2.1371: Vim9: no error for missing white space around operator
...
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around && and ||.
2020-08-05 12:32:38 +02:00
Bram Moolenaar
c753478b82
patch 8.2.1370: MS-Windows: warning for using fstat() with stat_T
...
Problem: MS-Windows: warning for using fstat() with stat_T.
Solution: use _fstat64() if available. (Naruhiko Nishino, closes #6625 )
2020-08-05 12:10:50 +02:00
Bram Moolenaar
14ddd226da
patch 8.2.1369: MS-Windows: autocommand test sometimes fails
...
Problem: MS-Windows: autocommand test sometimes fails.
Solution: Do not rely on the cat command.
2020-08-05 12:02:40 +02:00
Bram Moolenaar
ff1cd39cfe
patch 8.2.1368: Vim9: no error for missing white space around operator
...
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around <, !=, etc.
2020-08-05 11:51:30 +02:00
Bram Moolenaar
b4caa163ff
patch 8.2.1367: Vim9: no error for missing white space around operator
...
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space around *, / and %.
2020-08-05 11:36:52 +02:00
Bram Moolenaar
a6296200bd
patch 8.2.1366: test 49 is old style
...
Problem: Test 49 is old style.
Solution: Convert several tests to new style. (Yegappan Lakshmanan,
closes #6629 )
2020-08-05 11:23:13 +02:00
Bram Moolenaar
bb1b5e24ec
patch 8.2.1365: Vim9: no error for missing white space around operator
...
Problem: Vim9: no error for missing white space around operator.
Solution: Check for white space. (closes #6618 )
2020-08-05 10:53:21 +02:00
Bram Moolenaar
282f9c64e5
patch 8.2.1364: invalid memory access when searching for raw string
...
Problem: Invalid memory access when searching for raw string.
Solution: Check for delimiter match before following quote. (closes #6578 )
2020-08-04 21:46:18 +02:00
Bram Moolenaar
e46a2ed0d8
patch 8.2.1363: test trying to run terminal when it is not supported
...
Problem: Test trying to run terminal when it is not supported.
Solution: Check if Vim can be run in a terminal.
2020-08-04 21:04:57 +02:00
Bram Moolenaar
ecd34bf55d
patch 8.2.1362: last entry of ":set term=xxx" overwritten by error message
...
Problem: Last entry of ":set term=xxx" overwritten by error message when
'cmdheight' is two or more. (Tony Mechelynck)
Solution: Output extra line breaks.
2020-08-04 20:17:31 +02:00
Bram Moolenaar
6a25026262
patch 8.2.1361: error for white space after expression in assignment
...
Problem: Error for white space after expression in assignment.
Solution: Skip over white space. (closes #6617 )
2020-08-04 15:53:01 +02:00
Bram Moolenaar
f96e9dec63
patch 8.2.1360: stray error for white space after expression
...
Problem: Stray error for white space after expression.
Solution: Ignore trailing white space. (closes #6608 )
2020-08-03 22:39:28 +02:00
Bram Moolenaar
8314454648
patch 8.2.1359: Vim9: cannot assign to / register in Vim9 script
...
Problem: Vim9: cannot assign to / register in Vim9 script.
Solution: Adjust check for assignment in Vim9 script. (closes #6567 )
2020-08-02 20:40:43 +02:00
Bram Moolenaar
434d72cbf2
patch 8.2.1358: Vim9: test fails with +dnd is not available
...
Problem: Vim9: test fails with +dnd is not available.
Solution: Add condition.
2020-08-02 20:03:25 +02:00
Bram Moolenaar
658217276f
patch 8.2.1357: Vim9: cannot assign to / register
...
Problem: Vim9: cannot assign to / register.
Solution: Adjust check for assignment.
2020-08-02 18:58:54 +02:00
Bram Moolenaar
7226e5b19b
patch 8.2.1356: Vim9: cannot get the percent register
...
Problem: Vim9: cannot get the percent register.
Solution: Check for readable registers instead of writable. (closes #6566 )
2020-08-02 17:33:26 +02:00
Bram Moolenaar
c2ee44cc38
patch 8.2.1355: Vim9: no error using :let for options and registers
...
Problem: Vim9: no error using :let for options and registers.
Solution: Give an error. (closes #6568 )
2020-08-02 16:59:00 +02:00
Bram Moolenaar
aa970abd0a
patch 8.2.1354: test 59 is old style
...
Problem: Test 59 is old style.
Solution: Convert into a new style test. (Yegappan Lakshmanan, closes #6604 )
2020-08-02 16:10:39 +02:00
Bram Moolenaar
8b89614e69
patch 8.2.1353: crash when drawing double-wide character in terminal window
...
Problem: Crash when drawing double-wide character in terminal window.
(Masato Nishihata)
Solution: Check getcell() returning NULL. (issue #6141 )
2020-08-02 15:05:05 +02:00
Bram Moolenaar
ad486a0f0d
patch 8.2.1352: Vim9: no error for shadowing a script-local function
...
Problem: Vim9: no error for shadowing a script-local function by a nested
function.
Solution: Check for script-local function. (closes #6586 )
2020-08-01 23:22:18 +02:00
Bram Moolenaar
bcbf41395f
patch 8.2.1351: Vim9: no proper error if using namespace for nested function
...
Problem: Vim9: no proper error if using namespace for nested function.
Solution: Specifically check for a namespace. (closes #6582 )
2020-08-01 22:35:13 +02:00
Bram Moolenaar
b9a2cac3ef
patch 8.2.1350: Vim9: no test for error message when redefining function
...
Problem: Vim9: no test for error message when redefining function.
Solution: Add a test.
2020-08-01 22:23:20 +02:00
Bram Moolenaar
eef2102e20
patch 8.2.1349: Vim9: can define a function with the name of an import
...
Problem: Vim9: can define a function with the name of an import.
Solution: Disallow using an existing name. (closes #6585 )
2020-08-01 22:16:43 +02:00
Bram Moolenaar
e4218b9416
patch 8.2.1348: build failure without the eval feature
...
Problem: Build failure without the eval feature.
Solution: Add #ifdef.
2020-08-01 21:11:38 +02:00
Bram Moolenaar
909443028b
patch 8.2.1347: cannot easily get the script ID
...
Problem: Cannot easily get the script ID.
Solution: Support expand('<SID>').
2020-08-01 20:45:11 +02:00
Bram Moolenaar
491799be50
patch 8.2.1346: small build fails
...
Problem: Small build fails.
Solution: Add #ifdef.
2020-08-01 19:23:43 +02:00
Bram Moolenaar
f8992d47cd
patch 8.2.1345: Redraw error when using visual block and scroll
...
Problem: Redraw error when using visual block and scroll.
Solution: Add check for w_topline. ( closes #6597 )
2020-08-01 19:14:13 +02:00
Bram Moolenaar
2c79e9d14d
patch 8.2.1344: Vim9: No test for trying to redefine global function
...
Problem: Vim9: No test for trying to redefine global function.
Solution: Add a test.
2020-08-01 18:57:52 +02:00
Bram Moolenaar
333894b195
patch 8.2.1343: Vim9: cannot find global function when using g:
...
Problem: Vim9: cannot find global function when using g: when local
function with the same name exists.
Solution: Find global function when using g:.
2020-08-01 18:53:07 +02:00
Bram Moolenaar
f5a48010ef
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error
...
Problem: Vim9: accidentally using "x" gives a confusing error.
Solution: Disallow using ":t" in Vim9 script. (issue #6399 )
2020-08-01 17:00:03 +02:00
Bram Moolenaar
2ec208172c
patch 8.2.1341: build failures
...
Problem: Build failures.
Solution: Add missing error message.
2020-08-01 16:35:08 +02:00
Bram Moolenaar
b86abadf87
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD
...
Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
Solution: Make 'backupskip' empty. Do not run tests as root. Check for
directory when using viminfo. (Ozaki Kiichi, closes #6596 )
2020-08-01 16:08:19 +02:00