summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vim9_cmd.vim
AgeCommit message (Collapse)Author
2021-11-20patch 8.2.3631: "syntax enable" does not work properly in Vim9 contextv8.2.3631Bram Moolenaar
Problem: "syntax enable" does not work properly in Vim9 context. Solution: Also handle Vim9 context. (closes #9161)
2021-11-16patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()v8.2.3605Yegappan Lakshmanan
Problem: Cannot clear and unlinke a highlight group with hlset() in a single call. Solution: Add the "force" option. (Yegappan Lakshmanan, closes #9117)
2021-11-15patch 8.2.3596: crash when using :pedit in Vim9 scriptv8.2.3596Yegappan Lakshmanan
Problem: Crash when using :pedit in Vim9 script. Solution: Move check for arguments to after checking there are arguments. (Yegappan Lakshmanan, closes #9134, closes #9135)
2021-10-14patch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently testedv8.2.3508Bram Moolenaar
Problem: Vim9: bad separators for "g" and "s" insufficiently tested. Solution: Add a few more test cases.
2021-10-13patch 8.2.3506: Vim9: special cases for "g" and "s" insufficiently testedv8.2.3506Bram Moolenaar
Problem: Vim9: special cases for "g" and "s" insufficiently tested. Solution: Add a few more test cases.
2021-10-13patch 8.2.3503: Vim9: using g:pat:cmd is confusingv8.2.3503Bram Moolenaar
Problem: Vim9: using g:pat:cmd is confusing. Solution: Do not recognize g: as the :global command. Also for s:pat:repl. (closes #8982)
2021-08-25patch 8.2.3376: Vim9: no warning that "@r" does not do anythingv8.2.3376Bram Moolenaar
Problem: Vim9: no warning that "@r" does not do anything. Solution: Give a "no effect" error. (closes #8779)
2021-08-24patch 8.2.3371: Vim9: :$ENV cannot be followed by ->func() in next linev8.2.3371Bram Moolenaar
Problem: Vim9: :$ENV cannot be followed by ->func() in next line. Solution: Use "$ENV" as the start of an expression. (closes #8790)
2021-08-22patch 8.2.3367: Vim9: :@r executing a register is inconsistentv8.2.3367Bram Moolenaar
Problem: Vim9: :@r executing a register is inconsistent. Solution: Use "@r" as the start of an expression. (issue #8779)
2021-08-21patch 8.2.3365: Vim9: cannot use option for all operationsv8.2.3365Bram Moolenaar
Problem: Vim9: cannot use option for all operations. Solution: Recognize more operations. (closes #8779)
2021-08-15patch 8.2.3347: check for legacy script is incompletev8.2.3347Bram Moolenaar
Problem: Check for legacy script is incomplete. (Naohiro Ono) Solution: Also check the :legacy modifier. Use for string concatenation with "." and others (issue #8756)
2021-08-14patch 8.2.3346: Vim9: no error for using "." for concatenation after ":vim9cmd"v8.2.3346Bram Moolenaar
Problem: Vim9: no error for using "." for concatenation after ":vim9cmd". (Naohiro Ono) Solution: Check for Vim9 script syntax. (closes #8756)
2021-08-13patch 8.2.3339: Vim9: cannot lock a member in a local dictv8.2.3339Bram Moolenaar
Problem: Vim9: cannot lock a member in a local dict. Solution: Get the local dict from the stack and pass it to get_lval().
2021-08-10patch 8.2.3324: Vim9: Cannot use :silent with :endwhilev8.2.3324Bram Moolenaar
Problem: Vim9: Cannot use :silent with :endwhile. Solution: Allow for using the :silent modifier. (closes #8737)
2021-08-02patch 8.2.3279: Vim9: cannot use block in cmdline windowv8.2.3279Bram Moolenaar
Problem: Vim9: cannot use block in cmdline window. Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
2021-07-26patch 8.2.3224: cannot call script-local function after :vim9cmdv8.2.3224Bram Moolenaar
Problem: Cannot call script-local function after :vim9cmd. (Christian J. Robinson) Solution: Skip over "<SNR>123".
2021-06-06patch 8.2.2955: Vim9: using filter in compiled command does not workv8.2.2955Bram Moolenaar
Problem: Vim9: using filter in compiled command does not work. Solution: Generate EXEC including the command modifier.
2021-06-05patch 8.2.2946: Vim9: substitute expression cannot be a Listv8.2.2946Bram Moolenaar
Problem: Vim9: substitute expression cannot be a List in a :def function. Solution: Use typval2string(). (closes #8330)
2021-06-05patch 8.2.2941: Vim9: using does not handle a list of stringsv8.2.2941Bram Moolenaar
Problem: Vim9: using does not handle a list of strings. Solution: Convert a list to a string and escape each item. (closes #8310)
2021-05-09patch 8.2.2846: Vim9: "echo Func()" does not give an error for using voidv8.2.2846Bram Moolenaar
Problem: Vim9: "echo Func()" does not give an error for a function without a return value. Solution: Give an error. Be more specific about why a value is invalid.
2021-05-06patch 8.2.2837: various code lines not covered by testsv8.2.2837Dominique Pelle
Problem: Various code lines not covered by tests. Solution: Add test cases. (Dominique Pellé, closes #8178)
2021-04-26patch 8.2.2812: Vim9: still crash when using substitute expressionv8.2.2812Bram Moolenaar
Problem: Vim9: still crash when using substitute expression. Solution: Put the instruction list in the stack frame. (closes #8154)
2021-04-25patch 8.2.2811: Vim9: error for missing white space doesn't say wherev8.2.2811Bram Moolenaar
Problem: Vim9: error for missing white space doesn't say where it is missing Solution: Mention the command. (closes #8149)
2021-04-25patch 8.2.2810: Vim9: crash when calling a function in a substitute expressionv8.2.2810Bram Moolenaar
Problem: Vim9: crash when calling a function in a substitute expression. Solution: Set the instructions back to the substitute expression instrunctions. (closes #8148)
2021-04-21patch 8.2.2798: Vim9: redir to variable with append does not accept an indexv8.2.2798Bram Moolenaar
Problem: Vim9: redir to variable with append does not accept an index. Solution: Make the appending work.
2021-04-21patch 8.2.2796: Vim9: redir to variable does not accept an indexv8.2.2796Bram Moolenaar
Problem: Vim9: redir to variable does not accept an index. Solution: Make the index work.
2021-04-20patch 8.2.2789: Vim9: using \=expr in :substitute does not handle jumpsv8.2.2789Bram Moolenaar
Problem: Vim9: using \=expr in :substitute does not handle jumps. Solution: Start with instruction count zero. (closes #8128)
2021-04-19patch 8.2.2785: Vim9: cannot redirect to local variablev8.2.2785Bram Moolenaar
Problem: Vim9: cannot redirect to local variable. Solution: Compile :redir when redirecting to a variable.
2021-04-19patch 8.2.2784: Vim9: cannot use \=expr in :substitutev8.2.2784Bram Moolenaar
Problem: Vim9: cannot use \=expr in :substitute. Solution: Compile the expression into instructions and execute them when invoked.
2021-03-28patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled scriptv8.2.2672Bram Moolenaar
Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script. Solution: Implement locking support.
2021-03-25patch 8.2.2652: Vim9: can use command modifier without an effectv8.2.2652Bram Moolenaar
Problem: Vim9: can use command modifier without an effect. Solution: Give an error for a misplaced command modifier. Fix error message number.
2021-03-24patch 8.2.2649: Vim9: some wincmd arguments cause a white space errorv8.2.2649Bram Moolenaar
Problem: Vim9: some wincmd arguments cause a white space error. Solution: Insert a space before the count. (closes #8001)
2021-03-14patch 8.2.2603: Vim9: no effect if user command is also a functionv8.2.2603Bram Moolenaar
Problem: Vim9: no effect if user command is also a function. Solution: Check for paren following. (closes #7960)
2021-03-06patch 8.2.2575: Vim9: a function name with "->" in the next line doesn't workv8.2.2575Bram Moolenaar
Problem: Vim9: a function name with "->" in the next line doesn't work. Solution: Recognize a function name by itself. (closes #7770)
2021-03-03patch 8.2.2566: Vim9: Function name is not recognizedv8.2.2566Bram Moolenaar
Problem: Vim9: Function name is not recognized. Solution: Change lookup_scriptvar() to also find function names. (closes #7770)
2021-02-17patch 8.2.2525: Vim9: only local variables checked for a namev8.2.2525Bram Moolenaar
Problem: Vim9: only local variables checked for a name. Solution: Also check arguments and script variables. (closes #7838)
2021-02-14patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some placesv8.2.2511Bram Moolenaar
Problem: Vim9: cannot use Vim9 script syntax in some places. Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9" mean ":vim9cmd" instead of ":vim9script".
2021-02-02patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't workv8.2.2453Bram Moolenaar
Problem: Vim9: a variable name with "->" in the next line doesn't work. Solution: Recognize a variable name by itself. (closes #7770)
2021-01-23patch 8.2.2397: Vim9: "%%" not seen as alternate file name for ":bdel"v8.2.2397Bram Moolenaar
Problem: Vim9: "%%" not seen as alternate file name for commands with a buffer name argument. Solution: Recognize "%%" like "#". (closes #7732)
2021-01-23patch 8.2.2396: Vim9: no white space allowed before "->"v8.2.2396Bram Moolenaar
Problem: Vim9: no white space allowed before "->". Solution: Allow for white space. (closes #7725)
2021-01-19patch 8.2.2377: Vim9: crash when using a range after another expressionv8.2.2377Bram Moolenaar
Problem: Vim9: crash when using a range after another expression. Solution: Set the variable type to number. Fix using :put with a range and the "=" register. (closes #7706)
2021-01-15patch 8.2.2356: Vim9: ":put =expr" does not handle a list properlyv8.2.2356Bram Moolenaar
Problem: Vim9: ":put =expr" does not handle a list properly. Solution: Use the same logic as eval_to_string_eap(). (closes #7684)
2021-01-11patch 8.2.2332: Vim9: missing :endif not reported when using :windov8.2.2332Bram Moolenaar
Problem: Vim9: missing :endif not reported when using :windo. Solution: Pass a getline function to do_cmdline(). (closes #7650)
2021-01-08patch 8.2.2313: Vim9: using uninitialized field when parsing rangev8.2.2313Bram Moolenaar
Problem: Vim9: using uninitialized field when parsing range. ":silent!" not respected when parsing range fails. Solution: Initialize ea.skip. On pattern failure handle it like an error. (closes #7636)
2021-01-05patch 8.2.2303: Vim9: backtick expansion doesn't work for :foldopenv8.2.2303Bram Moolenaar
Problem: Vim9: backtick expansion doesn't work for :foldopen. Solution: Do recognize backtick expansion. (closes #7621)
2021-01-04patch 8.2.2299: Vim9: invalid memory access making error message flakyv8.2.2299Bram Moolenaar
Problem: Vim9: invalid memory access making error message flaky. Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
2021-01-02patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by barv8.2.2281Bram Moolenaar
Problem: Vim9: compiled "wincmd" cannot be followed by bar. Solution: Check for bar after "wincmd". (closes #7599)
2020-12-31patch 8.2.2257: Vim9: using -> for lambda is ambiguousv8.2.2257Bram Moolenaar
Problem: Vim9: using -> for lambda is ambiguous. Solution: Stop supporting ->, must use =>.
2020-12-31patch 8.2.2254: Vim9: bool option type is numberv8.2.2254Bram Moolenaar
Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
2020-12-29patch 8.2.2242: Vim9: bar line continuation does not work at script levelv8.2.2242Bram Moolenaar
Problem: Vim9: line continuation with bar does not work at script level. Solution: Check for Vim9 script.