| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: Cannot build with dynamic Ruby 3.1.
Solution: Add "_EXTRA" variables for CI. Add missing functions. (Ozaki
Kiichi, closes #9420)
|
|
|
|
|
|
| |
Problem: The way xdiff is used is inefficient.
Solution: Use hunk_func instead of the out_line callback. (Lewis Russell,
closes #9344)
|
|
|
|
|
|
| |
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
|
|
|
|
|
|
| |
Problem: Vim9: wrong argument for append() results in two errors.
Solution: Check did_emsg. Also for setline(). Adjust the help for
appendbufline().
|
|
|
|
|
| |
Problem: Function list test fails.
Solution: Adjust the test for the new location of the function list.
|
| |
|
|
|
|
|
| |
Problem: The eval.txt help file is way too big.
Solution: Move the builtin function details to a separate file.
|
|
|
|
|
| |
Problem: No error for passing an invalid line number to append().
Solution: In Vim9 script check for a non-negative number. (closes #9417)
|
|
|
|
|
| |
Problem: illegal memory access when completing with invalid bytes.
Solution: Avoid going over the end of the completion text.
|
|
|
|
|
| |
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
|
|
|
|
|
|
| |
Problem: Help for expressions does not mention Vim9 syntax.
Solution: Add the rules for Vim9 to the expression help. Rename functions
to match the help.
|
|
|
|
|
|
| |
Problem: The ins_complete() function is much too long.
Solution: Split it up into multiple functions. (Yegappan Lakshmanan,
closes #9414)
|
|
|
|
|
| |
Problem: Vim9: type check for filter() does not accept unknown.
Solution: Also accept unknown for the return type. (closes #9413)
|
|
|
|
|
|
| |
Problem: When the compare function of sort() produces and error then sort()
does not abort.
Solution: Check if did_emsg was incremented.
|
|
|
|
|
| |
Problem: Containerfile using prefix name not recognized.
Solution: Recognize Containerfile.*.
|
|
|
|
|
| |
Problem: Cannot use a script-local function for 'foldtext'.
Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
|
|
|
|
|
| |
Problem: Error messages are spread out.
Solution: Move error messages to errors.h. Avoid duplicates.
|
|
|
|
|
| |
Problem: Vim9 help still contains "under development" warnings.
Solution: Remove the explicit warning.
|
|
|
|
|
| |
Problem: Dockerfile using prefix name not recognized.
Solution: Recognize Dockerfile.*. (closes #9410)
|
|
|
|
|
| |
Problem: Vim9: skip expression type is not checked at compile time.
Solution: Add argument type checks.
|
|
|
|
|
| |
Problem: "gM" does not count tabs as expected.
Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409)
|
|
|
|
|
|
| |
Problem: Vim9: double free with nested :def function.
Solution: Pass "line_to_free" from compile_def_function() and make sure
cmdlinep is valid.
|
|
|
|
|
| |
Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
Solution: Do not restore 'cpo' at the end of the main .vimrc.
|
|
|
|
|
|
| |
Problem: It is not easy to use a script-local function for an option.
Solution: recognize s: and <SID> at the start of the expression. (Yegappan
Lakshmanan, closes #9401)
|
|
|
|
|
| |
Problem: Vim9: test for map() on string fails.
Solution: Expect string return type.
|
|
|
|
|
| |
Problem: Vim9: not sufficient testing for variable initialization.
Solution: Add another test case.
|
|
|
|
|
|
| |
Problem: Vim9: the second argument of map() and filter() is not checked at
compile time.
Solution: Add more specific type check for the second argument.
|
|
|
|
|
| |
Problem: Vim9: no test for nested function not available later.
Solution: Add a test.
|
|
|
|
|
| |
Problem: Vim9: confusing error when using function() with a number.
Solution: Check for a function or string argument.
|
|
|
|
|
| |
Problem: Vim9: no proper type check for first argument of call().
Solution: Add specific type check.
|
|
|
|
|
| |
Problem: Vim9: many local variables are initialized with an instruction.
Solution: Initialize local variables to zero to avoid the instructions.
|
|
|
|
|
| |
Problem: When modifyOtherKeys is used CTRL-C is not recognized.
Solution: Check for uppercase C as well, fix minimum length.
|
|
|
|
|
|
| |
Problem: Github CI: workflows may overlap.
Solution: Cancel previous workflows when starting a new one. (Yegappan
Lakshmanan, closes #9400)
|
|
|
|
|
| |
Problem: Vim9: type check for using v: variables is basic.
Solution: Specify a more precise type.
|
|
|
|
|
|
| |
Problem: Duplicate code for translating script-local function name.
Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
closes #9393)
|
|
|
|
|
| |
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235)
|
|
|
|
|
| |
Problem: E1135 is used for two different errors.
Solution: Renumber one error.
|
|
|
|
|
| |
Problem: Can define autocmd for every event by using "au!".
Solution: Check if a command is present also for "au!".
|
|
|
|
|
| |
Problem: Arglist test fails.
Solution: Adjust for locking the arglist for ":all".
|
|
|
|
|
| |
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
|
|
|
|
|
| |
Problem: Crash when switching to other regexp engine fails.
Solution: Check for regprog being NULL.
|
| |
|
|
|
|
|
| |
Problem: More duplicated code in f_getreginfo().
Solution: Also use getreg_get_regname(). (closes #9398)
|
|
|
|
|
| |
Problem: QNX: crash when compiled with GUI but using terminal.
Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
|
|
|
|
|
| |
Problem: Solution filter files are not recognized.
Solution: Add pattern *.slnf and use json. (Doug Kearns)
|
|
|
|
|
|
| |
Problem: getreg() and getregtype() contain dead code.
Solution: Remove the needless check. (closes #9392) Also refactor to put
common code in a shared function.
|
|
|
|
|
| |
Problem: Vim9: debugger tries to read more lines than there are.
Solution: Check the number of lines. (closes #9394)
|
|
|
|
|
| |
Problem: Function does not abort after a type error in compare
Solution: Check getting number fails. (closes #9384)
|
|
|
|
|
| |
Problem: 'cindent' does not recognize inline namespace.
Solution: Skip over "inline" to find "namespace". (closes #9383)
|
|
|
|
|
| |
Problem: gcc complains about buffer overrun.
Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
|