summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.h
AgeCommit message (Collapse)Author
2024-04-29patch 9.1.0381: cbuffer and similar commands don't accept a rangev9.1.0381Christian Brabandt
Problem: cbuffer and similar quickfix and locationlist commands don't accept a range, even so it is documented they should (ilan-schemoul, after 8.1.1241) Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER fixes: #14638 closes: #14657 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignoredv9.1.0376Yegappan Lakshmanan
Problem: Vim9: Trailing commands after class/enum keywords ignored Solution: Remove EX_TRLBAR keyword from command definition (Yegappan Lakshmanan) closes: #14649 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-18patch 9.1.0352: Finding cmd modifiers and cmdline-specials is inefficientv9.1.0352John Marriott
Problem: Finding cmd modifiers and cmdline-specials is inefficient Solution: Use binary search to find ex command modifiers and cmdline-special characters and reduce the number of strlen() (John Marriott) closes: #14534 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-28patch 9.1.0219: Vim9: No enum supportv9.1.0219Yegappan Lakshmanan
Problem: No enum support Solution: Implement enums for Vim9 script (Yegappan Lakshmanan) closes: #14224 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-03patch 9.1.0147: Cannot keep a buffer focused in a windowv9.1.0147Colin Kennedy
Problem: Cannot keep a buffer focused in a window (Amit Levy) Solution: Add the 'winfixbuf' window-local option (Colin Kennedy) fixes: #6445 closes: #13903 Signed-off-by: Colin Kennedy <colinvfx@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-19patch 9.0.2180: POSIX function name in exarg causes issuesv9.0.2180Zoltan Arpadffy
Problem: POSIX function name in exarg struct causes issues on OpenVMS Solution: Rename getline member in exarg struct to ea_getline, remove isinf() workaround for VMS There are compilers that do not treat well POSIX functions - like getline - usage in the structs. Older VMS compilers could digest this... but the newer OpenVMS compilers ( like VSI C x86-64 X7.4-843 (GEM 50XB9) ) cannot deal with these structs. This could be limited to getline() that is defined via getdelim() and might not affect all POSIX functions in general - but avoiding POSIX function names usage in the structs is a "safe side" practice without compromising the functionality or the code readability. The previous OpenVMS X86 port used a workaround limiting the compiler capabilities using __CRTL_VER_OVERRIDE=80400000 In order to make the OpenVMS port future proof, this pull request proposes a possible solution. closes: #13704 Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-06-01patch 9.0.1596: :registers command does not work in sandboxv9.0.1596Julio B
Problem: :registers command does not work in sandbox. Solution: Add flag to the command. (closes #12473)
2023-01-27patch 9.0.1249: cannot export an abstract classv9.0.1249Bram Moolenaar
Problem: Cannot export an abstract class. (Ernie Rael) Solution: Add the EX_EXPORT flag to :abstract. (closes #11884)
2023-01-26patch 9.0.1248: cannot export an interfacev9.0.1248Bram Moolenaar
Problem: Cannot export an interface. (Ernie Rael) Solution: Add the EX_EXPORT flag to :interface. (closes #11884)
2023-01-22patch 9.0.1234: the code style has to be checked manuallyv9.0.1234Bram Moolenaar
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
2023-01-05patch 9.0.1150: :interface is not implemented yetv9.0.1150Bram Moolenaar
Problem: :interface is not implemented yet. Solution: Implement the basics of :interface.
2022-12-04patch 9.0.1001: classes are not documented or implemented yetv9.0.1001Bram Moolenaar
Problem: Classes are not documented or implemented yet. Solution: Make the first steps at documenting Vim9 objects, classes and interfaces. Make initial choices for the syntax. Add a skeleton implementation. Add "public" and "this" in the command table.
2022-10-07patch 9.0.0687: "export def" does not work in a nested blockv9.0.0687Bram Moolenaar
Problem: "export def" does not work in a nested block. Solution: Do not handle "export" with a separate function but in the same command stack. (closes #11304)
2022-10-07patch 9.0.0683: cannot specify a time for :echowindowv9.0.0683Bram Moolenaar
Problem: Cannot specify a time for :echowindow. Solution: A count can be used to specify the display time. Add popup_findecho().
2022-09-03patch 9.0.0370: cleaning up afterwards can make a function messyv9.0.0370Bram Moolenaar
Problem: Cleaning up afterwards can make a function messy. Solution: Add the :defer command.
2022-08-31patch 9.0.0342: ":wincmd =" equalizes in two directionsv9.0.0342Bram Moolenaar
Problem: ":wincmd =" equalizes in two directions. Solution: Make ":vertical wincmd =" equalize vertically only and ":horizontal wincmd =" equalize horizontally only.
2022-08-29patch 9.0.0321: cannot use the message popup window directlyv9.0.0321Bram Moolenaar
Problem: Cannot use the message popup window directly. Solution: Add ":echowindow".
2022-05-21patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989Bram Moolenaar
Problem: Cannot specify a function name for :defcompile. Solution: Implement a function name argument for :defcompile.
2022-03-24patch 8.2.4617: no completion for :scriptnamesv8.2.4617Yegappan Lakshmanan
Problem: No completion for :scriptnames. Solution: Implement :scriptnames completion. (Yegappan Lakshmanan, closes #10005)
2022-03-19patch 8.2.4594: need to write script to a file to be able to source themv8.2.4594Yegappan Lakshmanan
Problem: Need to write script to a file to be able to source them. Solution: Make ":source" use lines from the current buffer. (Yegappan Lakshmanan et al., closes #9967)
2022-03-06patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"v8.2.4519Bram Moolenaar
Problem: Vim9: Can still use ":fini" and ":finis" for ":finish". Solution: Require using ":finish".
2022-03-05patch 8.2.4514: Vim9: some flow commands can be shortenedv8.2.4514Bram Moolenaar
Problem: Vim9: some flow commands can be shortened. Solution: Also require using the full name for ":return", ":enddef", ":continue", ":export" and ":import".
2022-03-05patch 8.2.4510: Vim9: shortening commands leads to confusing scriptv8.2.4510Bram Moolenaar
Problem: Vim9: shortening commands leads to confusing script. Solution: In Vim9 script require at least ":cont" for ":continue", "const" instead of "cons", "break" instead of "brea", "catch" instead of "cat", "else" instead of "el" "elseif" instead of "elsei" "endfor" instead of "endfo" "endif" instead of "en" "endtry" instead of "endt", "finally" instead of "fina", "throw" instead of "th", "while" instead of "wh".
2021-12-24patch 8.2.3888: the argument list may contain duplicatesv8.2.3888Nir Lichtman
Problem: The argument list may contain duplicates. Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
2021-12-17patch 8.2.3835: the inline-function example does not workv8.2.3835Bram Moolenaar
Problem: The inline-function example does not work. Solution: Drop ":let". Add EX_EXPR_ARG to CMD_var. (issue #9352)
2021-12-15patch 8.2.3817: Vim9: Not using NL as command end does not work for :autocmdv8.2.3817Bram Moolenaar
Problem: Vim9: Not using NL as command end does not work for :autocmd. Solution: Only ignore NL for commands with an expression argument.
2021-11-27patch 8.2.3683: Vim9: cannot use in :...do commandsv8.2.3683Bram Moolenaar
Problem: Vim9: cannot use in :...do commands. Solution: Add EX_EXPAND to the commands. (closes #9232)
2021-11-12patch 8.2.3584: "verbose set efm" reports location of the :compiler commandv8.2.3584Bram Moolenaar
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.
2021-09-04patch 8.2.3400: ":z!" is not supportedv8.2.3400Dominique Pelle
Problem: ":z!" is not supported. Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836) Use display height instead of current window height.
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-25patch 8.2.3223: Vim: using {} block in autoloade omnifunc failsv8.2.3223Bram Moolenaar
Problem: Vim: using {} block in autoloade omnifunc fails. Solution: Allow using {} block when text is locked. (closes #8631)
2021-06-25patch 8.2.3047: increment and decrement don't allow for next commandv8.2.3047Bram Moolenaar
Problem: Increment and decrement don't allow for next command. Solution: Allow for comment and next command. (closes #8442)
2021-06-12patch 8.2.2982: Vim9: future commands are not reserved yetv8.2.2982Bram Moolenaar
Problem: Vim9: future commands are not reserved yet. Solution: Add commands to be implemented later. Make "this" a reserved name.
2021-06-06patch 8.2.2956: Vim9: need to plan for future additionsv8.2.2956Bram Moolenaar
Problem: Vim9: need to plan for future additions. Solution: Reserve commands for future use: :type, :class, :enum.
2021-04-24patch 8.2.2806: Vim9: using "++nr" as a command might not workv8.2.2806Bram Moolenaar
Problem: Vim9: using "++nr" as a command might not work. Solution: Do not recognize "++" and "--" in a following line as addition or subtraction.
2021-04-24patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 scriptv8.2.2805Bram Moolenaar
Problem: Vim9: cannot use legacy syntax in Vim9 script. Solution: Add the :legacy command.
2021-03-22patch 8.2.2638: cannot write a message to the terminal from the GUIv8.2.2638Bram Moolenaar
Problem: Cannot write a message to the terminal from the GUI. Solution: Add :echoconsole and use it in the test runner. (issue #7975)
2021-02-26patch 8.2.2553: Vim9: Cannot put "|" after "{"v8.2.2553Bram Moolenaar
Problem: Vim9: Cannot put "|" after "{". Solution: Add the EX_TRLBAR flag. (issue #7904)
2021-02-26patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a commandv8.2.2552Bram Moolenaar
Problem: Vim9: no reason to consider "{{{{{{{{" a command. Solution: Just use "{". (issue #7904)
2021-02-19patch 8.2.2531: Vim9: the :k command is obscurev8.2.2531Bram Moolenaar
Problem: Vim9: the :k command is obscure. Solution: Disallow using :k, can use :mark instead. (closes #7874)
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-01-24patch 8.2.2400: Vim9: compiled functions are not profiledv8.2.2400Bram Moolenaar
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.
2021-01-16patch 8.2.2366: when using ":sleep" the cursor is always displayedv8.2.2366Bram Moolenaar
Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes #7688)
2020-12-26patch 8.2.2222: Vim9: cannot keep script variables when reloadingv8.2.2222Bram Moolenaar
Problem: Vim9: cannot keep script variables when reloading. Solution: Add the "noclear" argument to :vim9script.
2020-12-21patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
2020-12-13patch 8.2.2138: Vim9: "exit_cb" causes Vim to exitv8.2.2138Bram Moolenaar
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.
2020-11-14patch 8.2.1984: cannot use :vimgrep in omni completionv8.2.1984Bram Moolenaar
Problem: Cannot use :vimgrep in omni completion, causing C completion to fail. Solution: Add the EX_LOCK_OK flag to :vimgrep. (closes #7292)
2020-11-07patch 8.2.1967: the session file does not restore the alternate filev8.2.1967Bram Moolenaar
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)
2020-10-24patch 8.2.1897: command modifiers are saved and set inconsistentlyv8.2.1897Bram Moolenaar
Problem: Command modifiers are saved and set inconsistently. Solution: Separate parsing and applying command modifiers. Save values in cmdmod_T.
2020-10-10patch 8.2.1826: Vim9: cannot use a {} block at script levelv8.2.1826Bram Moolenaar
Problem: Vim9: cannot use a {} block at script level. Solution: Recognize a {} block.