summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2531: Vim9: the :k command is obscurev8.2.2531Bram Moolenaar2021-02-191-1/+6
| | | | | Problem: Vim9: the :k command is obscure. Solution: Disallow using :k, can use :mark instead. (closes #7874)
* patch 8.2.2529: Vim9: Not possible to use legacy and Vim9 script in one filev8.2.2529Bram Moolenaar2021-02-171-1/+5
| | | | | Problem: Vim9: Not possible to use legacy and Vim9 script in one file. Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
* patch 8.2.2525: Vim9: only local variables checked for a namev8.2.2525Bram Moolenaar2021-02-171-4/+4
| | | | | Problem: Vim9: only local variables checked for a name. Solution: Also check arguments and script variables. (closes #7838)
* patch 8.2.2519: Vim9: no reason to keep strange Vi behaviorv8.2.2519Bram Moolenaar2021-02-151-3/+7
| | | | | | Problem: Vim9: no reason to keep strange Vi behavior. Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line. (closes #7840)
* patch 8.2.2514: Vim9: build error in tiny versionv8.2.2514Bram Moolenaar2021-02-141-0/+2
| | | | | Problem: Vim9: build error in tiny version. Solution: Add #ifdef.
* patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some placesv8.2.2511Bram Moolenaar2021-02-141-2/+13
| | | | | | Problem: Vim9: cannot use Vim9 script syntax in some places. Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9" mean ":vim9cmd" instead of ":vim9script".
* patch 8.2.2484: Vim9: Cannot use a comment starting with #{v8.2.2484Bram Moolenaar2021-02-071-2/+1
| | | | | Problem: Vim9: Cannot use a comment starting with #{ after an expression. Solution: Remove the check for "{" since #{ dictionaries are not supported.
* patch 8.2.2469: confusing error if :winsize has a wrong argumentv8.2.2469Bram Moolenaar2021-02-061-0/+5
| | | | | Problem: Confusing error if :winsize has a wrong argument. Solution: Quote the argument in the error. (closes #2523)
* patch 8.2.2468: not easy to get the full command name from a shortened onev8.2.2468Bram Moolenaar2021-02-061-0/+27
| | | | | Problem: Not easy to get the full command name from a shortened one. Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
* patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't workv8.2.2453Bram Moolenaar2021-02-021-0/+10
| | | | | Problem: Vim9: a variable name with "->" in the next line doesn't work. Solution: Recognize a variable name by itself. (closes #7770)
* patch 8.2.2412: not all fields in "cstack" are initializedv8.2.2412Bram Moolenaar2021-01-261-4/+1
| | | | | | Problem: Not all fields in "cstack" are initialized which might cause a crash. Solution: Use CLEAR_FIELD().
* patch 8.2.2400: Vim9: compiled functions are not profiledv8.2.2400Bram Moolenaar2021-01-241-1/+1
| | | | | | Problem: Vim9: compiled functions are not profiled. Solution: Add initial changes to profile compiled functions. Fix that a script-local function was hard to debug.
* patch 8.2.2396: Vim9: no white space allowed before "->"v8.2.2396Bram Moolenaar2021-01-231-3/+4
| | | | | Problem: Vim9: no white space allowed before "->". Solution: Allow for white space. (closes #7725)
* patch 8.2.2366: when using ":sleep" the cursor is always displayedv8.2.2366Bram Moolenaar2021-01-161-3/+10
| | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes #7688)
* patch 8.2.2350: using "void" for no reasonv8.2.2350Bram Moolenaar2021-01-141-2/+2
| | | | | Problem: Using "void" for no reason. Solution: Use "char *".
* patch 8.2.2317: Vim9: command modifier before list unpack doesn't workv8.2.2317Bram Moolenaar2021-01-091-4/+7
| | | | | Problem: Vim9: command modifier before list unpack doesn't work. Solution: Only recognize "[" directly after the name. (closes #7641)
* patch 8.2.2311: Vim9: cannot assign to variable that shadows command modifierv8.2.2311Bram Moolenaar2021-01-071-0/+19
| | | | | | Problem: Vim9: cannot assign to a variable that shadows a command modifier. Solution: Check for assignment after possible command modifier. (closes #7632)
* patch 8.2.2299: Vim9: invalid memory access making error message flakyv8.2.2299Bram Moolenaar2021-01-041-3/+5
| | | | | Problem: Vim9: invalid memory access making error message flaky. Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
* patch 8.2.2295: incsearch does not detect empty pattern properlyv8.2.2295Bram Moolenaar2021-01-041-2/+3
| | | | | | Problem: Incsearch does not detect empty pattern properly. Solution: Return magic state when skipping over a pattern. (Christian Brabandt, closes #7612, closes #6420)
* patch 8.2.2242: Vim9: bar line continuation does not work at script levelv8.2.2242Bram Moolenaar2020-12-291-1/+2
| | | | | Problem: Vim9: line continuation with bar does not work at script level. Solution: Check for Vim9 script.
* patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval featurev8.2.2238Bram Moolenaar2020-12-281-5/+1
| | | | | Problem: Vim9: cannot load a Vim9 script without the +eval feature. Solution: Support Vim9 script syntax without the +eval feature.
* patch 8.2.2232: compiler error for falling through into next casev8.2.2232Bram Moolenaar2020-12-271-2/+1
| | | | | Problem: Compiler error for falling through into next case. Solution: Move FALLTHROUGH below the #endif
* patch 8.2.2229: build failure without the +eval featurev8.2.2229Bram Moolenaar2020-12-271-0/+4
| | | | | Problem: build failure without the +eval feature. Solution: Add #ifdef.
* patch 8.2.2228: Vim9: cannot use ":e #" because # starts a commentv8.2.2228Bram Moolenaar2020-12-271-31/+42
| | | | | Problem: Vim9: cannot use ":e #" because # starts a comment. Solution: Support using %% instead of #.
* patch 8.2.2222: Vim9: cannot keep script variables when reloadingv8.2.2222Bram Moolenaar2020-12-261-1/+1
| | | | | Problem: Vim9: cannot keep script variables when reloading. Solution: Add the "noclear" argument to :vim9script.
* patch 8.2.2216: Vim9: range with missing colon can be hard to spotv8.2.2216Bram Moolenaar2020-12-251-1/+1
| | | | | Problem: Vim9: range with missing colon can be hard to spot. Solution: Include the start of the range in the error. (closes #7543)
* patch 8.2.2214: ":e#" does not give a warning for missing white spacev8.2.2214Bram Moolenaar2020-12-251-1/+1
| | | | | Problem: ":e#" does not give a warning for missing white space. Solution: Adjust the check for white space. (closes #7545)
* patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-7/+7
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.2165: Vim9: assignment to dict member does not workv8.2.2165Bram Moolenaar2020-12-191-0/+2
| | | | | Problem: Vim9: assignment to dict member does not work. Solution: Fix recognizing dict member. (closes #7484)
* patch 8.2.2148: Vim9: crash when user command doesn't matchv8.2.2148Bram Moolenaar2020-12-161-1/+1
| | | | | Problem: Vim9: crash when user command doesn't match. Solution: Adjust command index. (closes #7479)
* patch 8.2.2140: build failure with tiny featuresv8.2.2140Bram Moolenaar2020-12-131-0/+2
| | | | | Problem: Build failure with tiny features. Solution: Add #ifdef.
* patch 8.2.2138: Vim9: "exit_cb" causes Vim to exitv8.2.2138Bram Moolenaar2020-12-131-1/+9
| | | | | | Problem: Vim9: "exit_cb" causes Vim to exit. Solution: Require white space after a command in Vim9 script. (closes #7467) Also fix that Vim9 style heredoc was not always recognized.
* patch 8.2.2135: Vim9: #{ still seen as start of dict in some placesv8.2.2135Bram Moolenaar2020-12-121-2/+1
| | | | | Problem: Vim9: #{ still seen as start of dict in some places. Solution: Remove check for { after #. (closes #7456)
* patch 8.2.2131: Vim9: crash when lambda uses same var as assignmentv8.2.2131Bram Moolenaar2020-12-121-2/+2
| | | | | | Problem: Vim9: crash when lambda uses same var as assignment. Solution: Do not let lookup_local change lv_from_outer, make a copy. (closes #7461)
* patch 8.2.2128: there is no way to do something on CTRL-Zv8.2.2128Bram Moolenaar2020-12-111-0/+2
| | | | | Problem: There is no way to do something on CTRL-Z. Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
* patch 8.2.2077: build failure with small featuresv8.2.2077Bram Moolenaar2020-12-011-1/+5
| | | | | Problem: Build failure with small features. Solution: Add #ifdef.
* patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle rangev8.2.2074Bram Moolenaar2020-12-011-3/+6
| | | | | Problem: Vim9: using :normal from Vim9 script can't handle range. Solution: Execute a :normal command in legacy script context. (closes #7401)
* patch 8.2.2071: Vim9: list assign doesn't except empty remainder listv8.2.2071Bram Moolenaar2020-11-301-1/+8
| | | | | Problem: Vim9: list assign doesn't except empty remainder list. Solution: Recognize list assignment with ";".
* patch 8.2.2066: Vim9: assignment with += doesn't workv8.2.2066Bram Moolenaar2020-11-281-3/+7
| | | | | Problem: Vim9: assignment with += doesn't work. Solution: Do not see the "+" as an addition operator.
* patch 8.2.2058: using mkview/loadview changes the jumplistv8.2.2058Bram Moolenaar2020-11-271-1/+2
| | | | | | Problem: Using mkview/loadview changes the jumplist. Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the jumplist. (closes #7371)
* patch 8.2.2052: Vim9: "edit +4 fname" gives an errorv8.2.2052Bram Moolenaar2020-11-251-11/+24
| | | | | Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino) Solution: Allow using a range in the +cmd argument. (closes #7364)
* patch 8.2.2033: Vim9: :def without argument gives compilation errorv8.2.2033Bram Moolenaar2020-11-221-1/+0
| | | | | Problem: Vim9: :def without argument gives compilation error. Solution: Add the DEF instruction. (closes #7344)
* patch 8.2.2022: Vim9: star command recognized errornouslyv8.2.2022Bram Moolenaar2020-11-201-0/+5
| | | | | Problem: Vim9: star command recognized errornously. Solution: Give an error for missing colon. (issue #7335)
* patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsgv8.2.2021Bram Moolenaar2020-11-201-0/+11
| | | | | Problem: Vim9: get E1099 when autocommand resets did_emsg. Solution: Add did_emsg_cumul. (closes #7336)
* patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978Bram Moolenaar2020-11-121-0/+3
| | | | | | Problem: Making a mapping work in all modes is complicated. Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, closes 4784, based on patch by Bjorn Linse)
* patch 8.2.1967: the session file does not restore the alternate filev8.2.1967Bram Moolenaar2020-11-071-3/+4
| | | | | | | Problem: The session file does not restore the alternate file. Solution: Add ":balt". Works like ":badd" and also sets the buffer as the alternate file. Use it in the session file. (closes #7269, closes #6714)
* patch 8.2.1943: Vim9: wrong error message when colon is missingv8.2.1943Bram Moolenaar2020-11-021-4/+11
| | | | | Problem: Vim9: wrong error message when colon is missing. Solution: Check for a missing colon. (issue #7239)
* patch 8.2.1934: Vim9: command modifiers in :def function not testedv8.2.1934Bram Moolenaar2020-11-011-3/+16
| | | | | Problem: Vim9: command modifiers in :def function not tested. Solution: Add tests. Fix using modifier before filter command.
* patch 8.2.1923: Vim9: "filter" command modifier doesn't workv8.2.1923Bram Moolenaar2020-10-291-1/+1
| | | | | | Problem: Vim9: "filter" command modifier doesn't work. Solution: Check for space on char before argument. (closes #7216, closes #7222)
* patch 8.2.1914: Vim9: cannot put line break in expression for '=' registerv8.2.1914Bram Moolenaar2020-10-281-1/+6
| | | | | Problem: Vim9: cannot put line break in expression for '=' register. Solution: Pass fgetline to set_expr_line(). (closes #7209)