| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: the :k command is obscure.
Solution: Disallow using :k, can use :mark instead. (closes #7874)
|
|
|
|
|
| |
Problem: Vim9: Not possible to use legacy and Vim9 script in one file.
Solution: Vim9: allow for "if false" before :vim9script. (closes #7851)
|
|
|
|
|
| |
Problem: Vim9: only local variables checked for a name.
Solution: Also check arguments and script variables. (closes #7838)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
|
|
|
|
|
|
| |
Problem: Vim9: cannot use Vim9 script syntax in some places.
Solution: Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
mean ":vim9cmd" instead of ":vim9script".
|
|
|
|
|
| |
Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
|
|
|
|
|
| |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes #2523)
|
|
|
|
|
| |
Problem: Not easy to get the full command name from a shortened one.
Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
|
|
|
|
|
| |
Problem: Vim9: a variable name with "->" in the next line doesn't work.
Solution: Recognize a variable name by itself. (closes #7770)
|
|
|
|
|
|
| |
Problem: Not all fields in "cstack" are initialized which might cause a
crash.
Solution: Use CLEAR_FIELD().
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Vim9: no white space allowed before "->".
Solution: Allow for white space. (closes #7725)
|
|
|
|
|
|
| |
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688)
|
|
|
|
|
| |
Problem: Using "void" for no reason.
Solution: Use "char *".
|
|
|
|
|
| |
Problem: Vim9: command modifier before list unpack doesn't work.
Solution: Only recognize "[" directly after the name. (closes #7641)
|
|
|
|
|
|
| |
Problem: Vim9: cannot assign to a variable that shadows a command modifier.
Solution: Check for assignment after possible command modifier.
(closes #7632)
|
|
|
|
|
| |
Problem: Vim9: invalid memory access making error message flaky.
Solution: Do not check cmd_argt for CMD_USER. (issue #7467)
|
|
|
|
|
|
| |
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612, closes #6420)
|
|
|
|
|
| |
Problem: Vim9: line continuation with bar does not work at script level.
Solution: Check for Vim9 script.
|
|
|
|
|
| |
Problem: Vim9: cannot load a Vim9 script without the +eval feature.
Solution: Support Vim9 script syntax without the +eval feature.
|
|
|
|
|
| |
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
|
|
|
|
|
| |
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Vim9: cannot use ":e #" because # starts a comment.
Solution: Support using %% instead of #.
|
|
|
|
|
| |
Problem: Vim9: cannot keep script variables when reloading.
Solution: Add the "noclear" argument to :vim9script.
|
|
|
|
|
| |
Problem: Vim9: range with missing colon can be hard to spot.
Solution: Include the start of the range in the error. (closes #7543)
|
|
|
|
|
| |
Problem: ":e#" does not give a warning for missing white space.
Solution: Adjust the check for white space. (closes #7545)
|
|
|
|
|
| |
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
|
|
|
|
|
| |
Problem: Vim9: assignment to dict member does not work.
Solution: Fix recognizing dict member. (closes #7484)
|
|
|
|
|
| |
Problem: Vim9: crash when user command doesn't match.
Solution: Adjust command index. (closes #7479)
|
|
|
|
|
| |
Problem: Build failure with tiny features.
Solution: Add #ifdef.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Vim9: #{ still seen as start of dict in some places.
Solution: Remove check for { after #. (closes #7456)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: There is no way to do something on CTRL-Z.
Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
|
|
|
|
|
| |
Problem: Build failure with small features.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Vim9: using :normal from Vim9 script can't handle range.
Solution: Execute a :normal command in legacy script context. (closes #7401)
|
|
|
|
|
| |
Problem: Vim9: list assign doesn't except empty remainder list.
Solution: Recognize list assignment with ";".
|
|
|
|
|
| |
Problem: Vim9: assignment with += doesn't work.
Solution: Do not see the "+" as an addition operator.
|
|
|
|
|
|
| |
Problem: Using mkview/loadview changes the jumplist.
Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
jumplist. (closes #7371)
|
|
|
|
|
| |
Problem: Vim9: "edit +4 fname" gives an error. (Naruhiko Nishino)
Solution: Allow using a range in the +cmd argument. (closes #7364)
|
|
|
|
|
| |
Problem: Vim9: :def without argument gives compilation error.
Solution: Add the DEF instruction. (closes #7344)
|
|
|
|
|
| |
Problem: Vim9: star command recognized errornously.
Solution: Give an error for missing colon. (issue #7335)
|
|
|
|
|
| |
Problem: Vim9: get E1099 when autocommand resets did_emsg.
Solution: Add did_emsg_cumul. (closes #7336)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Vim9: wrong error message when colon is missing.
Solution: Check for a missing colon. (issue #7239)
|
|
|
|
|
| |
Problem: Vim9: command modifiers in :def function not tested.
Solution: Add tests. Fix using modifier before filter command.
|
|
|
|
|
|
| |
Problem: Vim9: "filter" command modifier doesn't work.
Solution: Check for space on char before argument. (closes #7216,
closes #7222)
|
|
|
|
|
| |
Problem: Vim9: cannot put line break in expression for '=' register.
Solution: Pass fgetline to set_expr_line(). (closes #7209)
|