summaryrefslogtreecommitdiff
path: root/src/ex_cmds.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2638: cannot write a message to the terminal from the GUIv8.2.2638Bram Moolenaar2021-03-221-0/+3
| | | | | Problem: Cannot write a message to the terminal from the GUI. Solution: Add :echoconsole and use it in the test runner. (issue #7975)
* patch 8.2.2553: Vim9: Cannot put "|" after "{"v8.2.2553Bram Moolenaar2021-02-261-1/+1
| | | | | Problem: Vim9: Cannot put "|" after "{". Solution: Add the EX_TRLBAR flag. (issue #7904)
* patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a commandv8.2.2552Bram Moolenaar2021-02-261-1/+1
| | | | | Problem: Vim9: no reason to consider "{{{{{{{{" a command. Solution: Just use "{". (issue #7904)
* patch 8.2.2531: Vim9: the :k command is obscurev8.2.2531Bram Moolenaar2021-02-191-1/+1
| | | | | Problem: Vim9: the :k command is obscure. Solution: Disallow using :k, can use :mark instead. (closes #7874)
* patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some placesv8.2.2511Bram Moolenaar2021-02-141-0/+3
| | | | | | 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.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.2366: when using ":sleep" the cursor is always displayedv8.2.2366Bram Moolenaar2021-01-161-1/+1
| | | | | | 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.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.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-2/+2
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.2138: Vim9: "exit_cb" causes Vim to exitv8.2.2138Bram Moolenaar2020-12-131-8/+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.1984: cannot use :vimgrep in omni completionv8.2.1984Bram Moolenaar2020-11-141-4/+4
| | | | | | Problem: Cannot use :vimgrep in omni completion, causing C completion to fail. Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
* patch 8.2.1967: the session file does not restore the alternate filev8.2.1967Bram Moolenaar2020-11-071-0/+3
| | | | | | | 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.1897: command modifiers are saved and set inconsistentlyv8.2.1897Bram Moolenaar2020-10-241-6/+0
| | | | | | Problem: Command modifiers are saved and set inconsistently. Solution: Separate parsing and applying command modifiers. Save values in cmdmod_T.
* patch 8.2.1826: Vim9: cannot use a {} block at script levelv8.2.1826Bram Moolenaar2020-10-101-0/+6
| | | | | Problem: Vim9: cannot use a {} block at script level. Solution: Recognize a {} block.
* patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744Bram Moolenaar2020-09-261-0/+6
| | | | | | Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
* patch 8.2.1685: Vim9: cannot declare a constant valuev8.2.1685Bram Moolenaar2020-09-141-1/+1
| | | | | Problem: Vim9: cannot declare a constant value. Solution: Introduce ":const!".
* patch 8.2.1491: Vim9: crash when compiling heredoc lines start with commentv8.2.1491Bram Moolenaar2020-08-201-1/+1
| | | | | | 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)
* patch 8.2.1436: function implementing :substitute has unexpected namev8.2.1436Bram Moolenaar2020-08-121-3/+3
| | | | | Problem: Function implementing :substitute has unexpected name. Solution: Rename from do_sub() to ex_substitute().
* patch 8.2.1403: Vim9: Vim highlighting may fail in cmdline windowv8.2.1403Bram Moolenaar2020-08-091-3/+3
| | | | | | | 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)
* patch 8.2.1376: Vim9: expression mapping causes error for using :importv8.2.1376Bram Moolenaar2020-08-051-2/+2
| | | | | Problem: Vim9: expression mapping causes error for using :import. Solution: Add EX_LOCK_OK to :import and :export. (closes 3606)
* patch 8.2.1294: Vim9: error when using vim9script in TextYankPostv8.2.1294Bram Moolenaar2020-07-251-320/+321
| | | | | | 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)
* patch 8.2.1050: missing change in structv8.2.1050Bram Moolenaar2020-06-241-0/+3
| | | | | Problem: Missing change in struct. Solution: Add missing change.
* patch 8.2.0822: Vim9: code left over from discovery phasev8.2.0822Bram Moolenaar2020-05-251-1/+1
| | | | | Problem: Vim9: code left over from discovery phase. Solution: Remove the dead code.
* patch 8.2.0818: Vim9: using a discovery phase doesn't work wellv8.2.0818Bram Moolenaar2020-05-241-0/+3
| | | | | | 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.
* patch 8.2.0641: Vim9: not expanded in :hardcopy and syn-includev8.2.0641Bram Moolenaar2020-04-261-1/+3
| | | | | Problem: Vim9: not expanded in :hardcopy and "syntax include". Solution: Add the EX_EXPAND flag. Expend "syntax include".
* patch 8.2.0593: finding a user command is not optimalv8.2.0593Bram Moolenaar2020-04-181-4/+6
| | | | | Problem: Finding a user command is not optimal. Solution: Start further down in the list of commands.
* patch 8.2.0407: no early check if :find and :sfind have an argumentv8.2.0407Bram Moolenaar2020-03-191-2/+2
| | | | | Problem: No early check if :find and :sfind have an argument. Solution: Add EX_NEEDARG.
* patch 8.2.0253: crash when using :disassamble without argumentv8.2.0253Bram Moolenaar2020-02-131-1/+1
| | | | | | Problem: Crash when using :disassamble without argument. (Dhiraj Mishra) Solution: Check for missing argument. (Dominique Pelle, closes #5635, closes #5637)
* patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar2020-01-261-0/+18
| | | | | Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
* patch 8.2.0128: cannot list options one per linev8.2.0128Bram Moolenaar2020-01-181-3/+3
| | | | | Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line.
* patch 8.2.0113: "make cmdidxs" failsv8.2.0113Bram Moolenaar2020-01-121-1/+1
| | | | | Problem: "make cmdidxs" fails. Solution: Allow address for ":cquit". Add --not-a-term to avoid a delay.
* patch 8.2.0095: cannot specify exit code for :cquitv8.2.0095Bram Moolenaar2020-01-061-1/+1
| | | | | Problem: Cannot specify exit code for :cquit. Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes #5442)
* patch 8.2.0013: not using a typedef for condstackv8.2.0013Bram Moolenaar2019-12-161-1/+1
| | | | | Problem: Not using a typedef for condstack. Solution: Add a typedef.
* patch 8.1.2401: :cexpr does not handle | in expressionv8.1.2401Bram Moolenaar2019-12-061-6/+6
| | | | | Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer.
* patch 8.1.2058: function for ex command is named inconsistentlyv8.1.2058Bram Moolenaar2019-09-191-1/+1
| | | | | Problem: Function for ex command is named inconsistently. Solution: Rename do_marks() to ex_marks().
* patch 8.1.1865: spellrare and spellrepall in the wrong orderv8.1.1865Bram Moolenaar2019-08-161-3/+3
| | | | | Problem: Spellrare and spellrepall in the wrong order. Solution: Put spellrare below spellrepall. (closes #4820)
* patch 8.1.1838: there is :spellwrong and :spellgood but not :spellrarev8.1.1838Bram Moolenaar2019-08-111-0/+3
| | | | | Problem: There is :spellwrong and :spellgood but not :spellrare. Solution: Add :spellrare. (Martin Tournoij, closes #4291)
* patch 8.1.1807: more functions can be used as a methodv8.1.1807Bram Moolenaar2019-08-041-0/+3
| | | | | | Problem: More functions can be used as a method. Solution: Add append(), appendbufline(), assert_equal(), etc. Also add the :eval command.
* patch 8.1.1680: the command table is not well alignedv8.1.1680Bram Moolenaar2019-07-131-1415/+1415
| | | | | Problem: The command table is not well aligned. Solution: Adjust indent.
* patch 8.1.1667: flags for Ex commands may clash with other symbolsv8.1.1667Bram Moolenaar2019-07-121-1155/+1150
| | | | | Problem: Flags for Ex commands may clash with other symbols. Solution: Prepend with EX_.
* patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar2019-06-251-1/+1
| | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
* patch 8.1.1539: not easy to define a variable and lock itv8.1.1539Bram Moolenaar2019-06-151-0/+3
| | | | | Problem: Not easy to define a variable and lock it. Solution: Add ":const".
* patch 8.1.1513: all popup functionality is in functions, except :popupclearv8.1.1513Bram Moolenaar2019-06-101-3/+0
| | | | | | Problem: All popup functionality is in functions, except :popupclear. Solution: Add popup_clear() for consistency. Also rename sound_stopall() to sound_clear().
* patch 8.1.1391: no popup window supportv8.1.1391Bram Moolenaar2019-05-251-0/+3
| | | | | Problem: No popup window support. Solution: Add initial code for popup windows. Add the 'wincolor' option.
* patch 8.1.1307: cannot reconnect to the X server after it restartedv8.1.1307Bram Moolenaar2019-05-091-0/+3
| | | | | Problem: Cannot reconnect to the X server after it restarted. Solution: Add the :xrestore command. (Adrian Kocis, closes #844)
* patch 8.1.1281: cannot specify a count with :chistoryv8.1.1281Bram Moolenaar2019-05-051-4/+4
| | | | | | Problem: Cannot specify a count with :chistory. Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan, closes #4344)
* patch 8.1.1275: cannot navigate to errors before/after the cursorv8.1.1275Bram Moolenaar2019-05-051-0/+12
| | | | | | Problem: Cannot navigate to errors before/after the cursor. Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan, closes #4340)
* patch 8.1.1261: no error for quickfix commands with negative rangev8.1.1261Bram Moolenaar2019-05-041-36/+38
| | | | | | Problem: No error for quickfix commands with negative range. Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make assert_fails() show the command if the error doesn't match.
* patch 8.1.1256: cannot navigate through errors relative to the cursorv8.1.1256Bram Moolenaar2019-05-031-0/+12
| | | | | | Problem: Cannot navigate through errors relative to the cursor. Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, closes #4316)
* patch 8.1.1241: Ex command info contains confusing informationv8.1.1241Bram Moolenaar2019-05-011-642/+648
| | | | | | | Problem: Ex command info contains confusing information. Solution: When using the NOTADR flag use ADDR_OTHER for the address type. Cleanup code using NOTADR. Check for errors in create_cmdidxs.vim. Adjust Makefile to see the errors.