| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Vim9: cannot use in :...do commands.
Solution: Add EX_EXPAND to the commands. (closes #9232)
|
|
|
|
|
|
|
| |
Problem: "verbose set efm" reports the location of the :compiler command.
(Gary Johnson)
Solution: Add the "-keepscript" argument to :command and use it when
defining CompilerSet.
|
|
|
|
|
|
| |
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
Use display height instead of current window height.
|
|
|
|
|
| |
Problem: Vim9: cannot use block in cmdline window.
Solution: Add EX_CMDWIN to the CMD_block flags. (closes #8689)
|
|
|
|
|
| |
Problem: Vim: using {} block in autoloade omnifunc fails.
Solution: Allow using {} block when text is locked. (closes #8631)
|
|
|
|
|
| |
Problem: Increment and decrement don't allow for next command.
Solution: Allow for comment and next command. (closes #8442)
|
|
|
|
|
|
| |
Problem: Vim9: future commands are not reserved yet.
Solution: Add commands to be implemented later. Make "this" a reserved
name.
|
|
|
|
|
| |
Problem: Vim9: need to plan for future additions.
Solution: Reserve commands for future use: :type, :class, :enum.
|
|
|
|
|
|
| |
Problem: Vim9: using "++nr" as a command might not work.
Solution: Do not recognize "++" and "--" in a following line as addition or
subtraction.
|
|
|
|
|
| |
Problem: Vim9: cannot use legacy syntax in Vim9 script.
Solution: Add the :legacy command.
|
|
|
|
|
| |
Problem: Cannot write a message to the terminal from the GUI.
Solution: Add :echoconsole and use it in the test runner. (issue #7975)
|
|
|
|
|
| |
Problem: Vim9: Cannot put "|" after "{".
Solution: Add the EX_TRLBAR flag. (issue #7904)
|
|
|
|
|
| |
Problem: Vim9: no reason to consider "{{{{{{{{" a command.
Solution: Just use "{". (issue #7904)
|
|
|
|
|
| |
Problem: Vim9: the :k command is obscure.
Solution: Disallow using :k, can use :mark instead. (closes #7874)
|
|
|
|
|
|
| |
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: compiled functions are not profiled.
Solution: Add initial changes to profile compiled functions. Fix that a
script-local function was hard to debug.
|
|
|
|
|
|
| |
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688)
|
|
|
|
|
| |
Problem: Vim9: cannot keep script variables when reloading.
Solution: Add the "noclear" argument to :vim9script.
|
|
|
|
|
| |
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
|
|
|
|
|
|
| |
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: Cannot use :vimgrep in omni completion, causing C completion to
fail.
Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
|
|
|
|
|
|
|
| |
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: Command modifiers are saved and set inconsistently.
Solution: Separate parsing and applying command modifiers. Save values in
cmdmod_T.
|
|
|
|
|
| |
Problem: Vim9: cannot use a {} block at script level.
Solution: Recognize a {} block.
|
|
|
|
|
|
| |
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
|
|
|
|
|
| |
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
|
|
|
|
|
|
| |
Problem: Vim9: crash when compiling heredoc lines start with comment.
Solution: Skip over NULL pointers. Do not remove comment and empty lines
when fetching function lines. (closes #6743)
|
|
|
|
|
| |
Problem: Function implementing :substitute has unexpected name.
Solution: Rename from do_sub() to ex_substitute().
|
|
|
|
|
|
|
| |
Problem: Vim9: Vim highlighting fails in cmdline window if it uses Vim9
commands.
Solution: Allow using :vim9script, :import and :export while in the cmdline
window. (closes #6656)
|
|
|
|
|
| |
Problem: Vim9: expression mapping causes error for using :import.
Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
|
|
|
|
|
|
| |
Problem: Vim9: error when using vim9script in TextYankPost.
Solution: Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
be used when text is locked. (closes #6529)
|
|
|
|
|
| |
Problem: Missing change in struct.
Solution: Add missing change.
|
|
|
|
|
| |
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
|
|
|
|
|
|
| |
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
|
|
|
|
|
| |
Problem: Vim9: not expanded in :hardcopy and "syntax include".
Solution: Add the EX_EXPAND flag. Expend "syntax include".
|
|
|
|
|
| |
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
|
|
|
|
|
| |
Problem: No early check if :find and :sfind have an argument.
Solution: Add EX_NEEDARG.
|
|
|
|
|
|
| |
Problem: Crash when using :disassamble without argument. (Dhiraj Mishra)
Solution: Check for missing argument. (Dominique Pelle, closes #5635,
closes #5637)
|
|
|
|
|
| |
Problem: Maintaining a Vim9 branch separately is more work.
Solution: Merge the Vim9 script changes.
|
|
|
|
|
| |
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
|
|
|
|
|
| |
Problem: "make cmdidxs" fails.
Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
|
|
|
|
|
| |
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
|
|
|
|
|
| |
Problem: Not using a typedef for condstack.
Solution: Add a typedef.
|
|
|
|
|
| |
Problem: :cexpr does not handle | in expression.
Solution: Remove EX_TRLBAR and set nextcmd pointer.
|
|
|
|
|
| |
Problem: Function for ex command is named inconsistently.
Solution: Rename do_marks() to ex_marks().
|
|
|
|
|
| |
Problem: Spellrare and spellrepall in the wrong order.
Solution: Put spellrare below spellrepall. (closes #4820)
|
|
|
|
|
| |
Problem: There is :spellwrong and :spellgood but not :spellrare.
Solution: Add :spellrare. (Martin Tournoij, closes #4291)
|
|
|
|
|
|
| |
Problem: More functions can be used as a method.
Solution: Add append(), appendbufline(), assert_equal(), etc.
Also add the :eval command.
|
|
|
|
|
| |
Problem: The command table is not well aligned.
Solution: Adjust indent.
|
|
|
|
|
| |
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
|