summaryrefslogtreecommitdiff
path: root/src/testdir
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3228: cannot use a simple block for the :command argumentv8.2.3228Bram Moolenaar2021-07-271-0/+18
| | | | | | Problem: Cannot use a simple block for the :command argument. (Maarten Tournoij) Solution: Recognize a simple {} block. (issue #8623)
* patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson2021-07-261-0/+120
| | | | | Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
* patch 8.2.3226: new digraph functions use old naming schemev8.2.3226h-east2021-07-261-37/+37
| | | | | Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
* patch 8.2.3224: cannot call script-local function after :vim9cmdv8.2.3224Bram Moolenaar2021-07-261-0/+14
| | | | | | Problem: Cannot call script-local function after :vim9cmd. (Christian J. Robinson) Solution: Skip over "<SNR>123".
* patch 8.2.3223: Vim: using {} block in autoloade omnifunc failsv8.2.3223Bram Moolenaar2021-07-251-0/+31
| | | | | Problem: Vim: using {} block in autoloade omnifunc fails. Solution: Allow using {} block when text is locked. (closes #8631)
* patch 8.2.3222: Vim9: cannot used loop variable later as lambda argumentv8.2.3222Bram Moolenaar2021-07-251-1/+10
| | | | | | Problem: Vim9: cannot used loop variable later as lambda argument. Solution: When not in function context check the current block ID. (closes #8637)
* patch 8.2.3221: Vim9: argument types are not checked at compile timev8.2.3221Yegappan Lakshmanan2021-07-253-5/+65
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
* patch 8.2.3220: Test_term_setansicolors() fails in some configurationsv8.2.3220Dominique Pelle2021-07-251-2/+7
| | | | | Problem: Test_term_setansicolors() fails in some configurations. Solution: Check available features. (Dominique Pellé, closes #8636)
* patch 8.2.3219: :find searches non-existing directoriesv8.2.3219Christian Brabandt2021-07-251-0/+22
| | | | | | Problem: :find searches non-existing directories. Solution: Check the path is not "..". Update help. (Christian Brabandt, closes #8612, closes #8533)
* patch 8.2.3218: when using xchaha20 crypt undo file is not removedv8.2.3218Christian Brabandt2021-07-251-3/+4
| | | | | | Problem: When using xchaha20 crypt undo file is not removed. Solution: Reset 'undofile' and delete the file. (Christian Brabandt, closes #8630, closes #8467)
* patch 8.2.3216: Vim9: crash when using variable in a loop at script levelv8.2.3216Bram Moolenaar2021-07-251-0/+28
| | | | | | | Problem: Vim9: crash when using variable in a loop at script level. Solution: Do not clear the variable if a function was defined. Do not create a new entry in sn_var_vals every time. (closes #8628)
* patch 8.2.3215: Vim9: argument types are not checked at compile timev8.2.3215Yegappan Lakshmanan2021-07-242-18/+74
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Sort the argument lists. (Yegappan Lakshmanan, closes #8626)
* patch 8.2.3213: NOCOMPOUNDSUGS entry in spell file not testedv8.2.3213Dominique Pelle2021-07-241-0/+46
| | | | | Problem: NOCOMPOUNDSUGS entry in spell file not tested. Solution: Add a test. (Dominique Pellé, closes #8624)
* patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan2021-07-241-3/+61
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Fix type check for matchaddpos(). (Yegappan Lakshmanan, closes #8619)
* patch 8.2.3210: Vim9: searchpair() sixth argument is compiledv8.2.3210Bram Moolenaar2021-07-241-2/+10
| | | | | | Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan Lakshmanan) Solution: Only compile the fifth argument.
* patch 8.2.3209: Vim9: lambda doesn't find block-local variablev8.2.3209Bram Moolenaar2021-07-241-0/+36
| | | | | Problem: Vim9: lambda doesn't find block-local variable. Solution: Adjust how a script-local variable is found. (closes #8614)
* patch 8.2.3207: Vim9: crash when compiling string failsv8.2.3207Bram Moolenaar2021-07-241-1/+6
| | | | | Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan) Solution: Adjust the type stack length.
* patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan2021-07-232-19/+144
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
* patch 8.2.3204: display garbled when 'cursorline' is set and lines wrapv8.2.3204Bram Moolenaar2021-07-223-0/+89
| | | | | | Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel Dupras) Solution: Avoid inserting lines twice.
* patch 8.2.3202: Vim9: tests are only executed for legacy scriptv8.2.3202Bram Moolenaar2021-07-221-38/+116
| | | | | Problem: Vim9: tests are only executed for legacy script. Solution: Run more tests also for Vim9 script. Fix uncovered problems.
* patch 8.2.3200: Vim9: hard to guess where a type error is givenv8.2.3200Bram Moolenaar2021-07-221-3/+5
| | | | | Problem: Vim9: hard to guess where a type error is given. Solution: Add the function name where possible. (closes #8608)
* patch 8.2.3198: cannot use 'formatlistpat' for breakindentv8.2.3198Maxim Kim2021-07-221-1/+54
| | | | | Problem: Cannot use 'formatlistpat' for breakindent. Solution: Use a negative list indent. (Maxim Kim, closes #8594)
* patch 8.2.3196: Vim9: bool expression with numbers only fails at runtimev8.2.3196Bram Moolenaar2021-07-211-11/+18
| | | | | Problem: Vim9: bool expression with numbers only fails at runtime. Solution: Check constant to be bool at compile time. (closes #8603)
* patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambdav8.2.3195Bram Moolenaar2021-07-211-0/+6
| | | | | | Problem: Vim9: unclear error when passing too many arguments to lambda. Solution: Pass the expression itself instead of "[expression]". (closes #8604)
* patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan2021-07-211-0/+28
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
* patch 8.2.3193: screenpos() is wrong when 'display' is "lastline"v8.2.3193Bram Moolenaar2021-07-211-0/+16
| | | | | | | Problem: screenpos() is wrong when the last line is partially visible and 'display' is "lastline". Solution: Also compute the position for a partially visible line. (closes #8599)
* patch 8.2.3191: Vim9: not enough code is testedv8.2.3191Bram Moolenaar2021-07-201-84/+121
| | | | | | Problem: Vim9: not enough code is tested. Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered problems.
* patch 8.2.3189: Vim9: error when using "try|"v8.2.3189Bram Moolenaar2021-07-201-0/+3
| | | | | Problem: Vim9: error when using "try|". Solution: Allow for "|" right after a command.
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-203-126/+464
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3186: Vim9: not all failures for import testedv8.2.3186Bram Moolenaar2021-07-191-0/+24
| | | | | Problem: Vim9: not all failures for import tested Solution: Test more import failures
* patch 8.2.3185: Vim9: start of inline function found in comment linev8.2.3185Bram Moolenaar2021-07-191-0/+4
| | | | | Problem: Vim9: start of inline function found in comment line. Solution: Do not check for inline function in comment line. (closes #8589)
* patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184mityu2021-07-191-1/+78
| | | | | | | Problem: Cannot add a digraph with a leading space. It is not easy to list existing digraphs. Solution: Add setdigraph(), setdigraphlist(), getdigraph() and getdigraphlist(). (closes #8580)
* patch 8.2.3183: duplicate error numbersv8.2.3183Bram Moolenaar2021-07-191-3/+3
| | | | | Problem: Duplicate error numbers. Solution: Adjust the error numbers.
* patch 8.2.3182: Vim9: crash when using removing items from a constant listv8.2.3182Bram Moolenaar2021-07-181-0/+6
| | | | | | Problem: Vim9: crash when using removing items from a constant list. (Yegappan Lakshmanan) Solution: When a list was allocated with items copy them.
* patch 8.2.3181: Vim9: builtin function test fails without channel featurev8.2.3181Dominique Pelle2021-07-181-15/+35
| | | | | | Problem: Vim9: builtin function test fails without channel feature. Solution: Add feature checks. (Dominique Pellé, closes #8586) Make feature checks more consistent.
* patch 8.2.3179: Vim9: cannot assign to an imported variable at script levelv8.2.3179Bram Moolenaar2021-07-181-24/+55
| | | | | Problem: Vim9: cannot assign to an imported variable at script level. Solution: Lookup imported items when assigning.
* patch 8.2.3178: Vim9: the file name of an :import cannot be an expressionv8.2.3178Bram Moolenaar2021-07-181-41/+8
| | | | | | Problem: Vim9: the file name of an :import cannot be an expression. Solution: Accept an expression that results in a string. Do not support :import in a function.
* patch 8.2.3177: Vim9: can not use "for _ in expr" at script levelv8.2.3177Bram Moolenaar2021-07-181-0/+6
| | | | | Problem: Vim9: can not use "for _ in expr" at script level. Solution: Skip assignment if the loop variable is "_".
* patch 8.2.3176: Vim9: no type error for comparing number with stringv8.2.3176Bram Moolenaar2021-07-181-0/+23
| | | | | Problem: Vim9: no type error for comparing number with string. Solution: Add a runtime type check. (closes #8571)
* patch 8.2.3175: Vim9: using illegal pointer with nested lambdas.v8.2.3175Bram Moolenaar2021-07-181-0/+16
| | | | | | Problem: Vim9: using illegal pointer with inline function inside a lambda. Solution: Clear eval_tofree_cmdline when advancing to the next line. (closes #8578)
* patch 8.2.3174: Vim9: "legacy undo" finds "undo" variablev8.2.3174Bram Moolenaar2021-07-171-0/+7
| | | | | Problem: Vim9: "legacy undo" finds "undo" variable. Solution: Do not pass lookup function to find_ex_command(). (closes #8563)
* patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173Yegappan Lakshmanan2021-07-171-0/+151
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
* patch 8.2.3172: MzScheme test failsv8.2.3172Bram Moolenaar2021-07-161-1/+1
| | | | | Problem: MzScheme test fails. (Christian Brabandt) Solution: Correct function name.
* patch 8.2.3169: Vim9: cannot handle nested inline functionv8.2.3169Bram Moolenaar2021-07-152-1/+12
| | | | | Problem: Vim9: cannot handle nested inline function. Solution: Check for nested inline function. (closes #8575)
* patch 8.2.3168: Vim9: type error for constant of type anyv8.2.3168Bram Moolenaar2021-07-151-0/+10
| | | | | | Problem: Vim9: type error for constant of type any. Solution: Do add a runtime type check if a constant has type any. (closes #8570)
* patch 8.2.3166: Vim9: nested autoload call error overruled by "Unknown error"v8.2.3166Bram Moolenaar2021-07-151-0/+40
| | | | | | Problem: Vim9: nested autoload call error overruled by "Unknown error". Solution: Check need_rethrow before giving an "Unknown error". (closes #8568)
* patch 8.2.3165: Vim9: in a || expression the error line number may be wrongv8.2.3165Bram Moolenaar2021-07-151-0/+7
| | | | | | Problem: Vim9: in a || expression the error line number may be wrong. Solution: Save and restore the line number when checking the type. (closes #8569)
* patch 8.2.3163: location list window may open a wrong filev8.2.3163Wei-Chung Wen2021-07-151-0/+33
| | | | | | Problem: Location list window may open a wrong file. Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565, closes #8566)
* patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan2021-07-154-135/+478
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
* patch 8.2.3161: Vim9: no error when reltime() has invalid argumentsv8.2.3161Bram Moolenaar2021-07-141-0/+13
| | | | | Problem: Vim9: no error when reltime() has invalid arguments. Solution: Add an error. (closes #8562)