| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: FEAT_TITLE was removed but is still used.
Solution: Remove FEAT_TITLE. (Naruhiko Nishino, closes #11256)
|
|
|
|
|
| |
Problem: Calling a function from an "expr" option has too much overhead.
Solution: Add call_simple_func() and use it for 'foldexpr'
|
|
|
|
|
| |
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
|
|
|
|
|
|
| |
Problem: In Vim9 script a numbered function cannot be called.
Solution: Do not require "g:" before a numbered function name.
(closes #11254)
|
|
|
|
|
|
| |
Problem: Get an error for using const only when executing.
Solution: Check for const at compile time for filter(), map(), remove(),
reverse(), sort() and uniq().
|
|
|
|
|
| |
Problem: Coverity warns for not checking return value.
Solution: Check the return value and simplify the code.
|
|
|
|
|
|
| |
Problem: "const" and "final" both make the type a constant. (Daniel
Steinberg)
Solution: Only have "const" make the type a constant.
|
|
|
|
|
| |
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
|
|
|
|
|
| |
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
|
|
|
|
|
| |
Problem: Leaking argument type array.
Solution: Add allocated memory to type_gap.
|
|
|
|
|
| |
Problem: Error for modifying a const is not detected at compile time.
Solution: Add TTFLAG_CONST and check for it in add() and extend().
|
|
|
|
|
|
| |
Problem: matchaddpos() can get slow when adding many matches.
Solution: Update the next available match ID when manually picking an ID and
remove check if the available ID can be used. (idea by Rick Howe)
|
|
|
|
|
|
| |
Problem: Filetype test leaves file behind.
Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
closes #11249)
|
|
|
|
|
| |
Problem: matchaddpos() can only add up to 8 matches.
Solution: Allocate the array of positions. (closes #11248)
|
|
|
|
|
| |
Problem: Too many delete() calls in tests.
Solution: Use deferred delete where possible.
|
|
|
|
|
| |
Problem: Calling function for reduce() has too much overhead.
Solution: Do not create a funccall_T every time.
|
|
|
|
|
| |
Problem: Calling function for reduce() has too much overhead.
Solution: Only call clear_tv() when needed.
|
|
|
|
|
| |
Problem: Spell test fails because error message changed.
Solution: Adjust expected error message.
|
|
|
|
|
| |
Problem: Using reduce() on a list from range() is a bit slow.
Solution: Avoid materializing the list.
|
|
|
|
|
| |
Problem: SpellFileMissing autocmd may delete buffer.
Solution: Disallow deleting the current buffer to avoid using freed memory.
|
|
|
|
|
|
| |
Problem: Running source tests leaves file behind.
Solution: Add the "D" flag to writefile(). (Dominique Pellé, closes #11243)
Also do this for other writefile() calls and drop delete().
|
|
|
|
|
| |
Problem: Blockedit test passes with wrong result.
Solution: Add a "vim9script" line to make indenting work.
|
|
|
|
|
| |
Problem: Tests delete files with a separate delete() call.
Solution: Use deferred delete.
|
|
|
|
|
| |
Problem: Global interrupt test fails when run under valgrind.
Solution: Use TermWait().
|
|
|
|
|
| |
Problem: Blockedit test fails because of wrong indent.
Solution: Adjust the expected text temporarily
|
| |
|
|
|
|
|
|
|
| |
Problem: With spell checking, deleting a full stop at the end of a line
does not update SpellCap at the start of the next line.
Solution: Update the next line when characters have been deleted. Also when
using undo.
|
|
|
|
|
| |
Problem: Verbose echo message test fails on Mac OS.
Solution: Skip the test on Mac OS.
|
|
|
|
|
|
|
| |
Problem: system() opens a terminal window when using the GUI and "!" is in
'guioptions'.
Solution: Do not use a terminal window when the SHELL_SILENT flag is used.
(closes #11202)
|
|
|
|
|
| |
Problem: Dump file missing.
Solution: Add the missing dump file. (issue #11234)
|
|
|
|
|
| |
Problem: Luacheckrc file is not recognized.
Solution: Use lua filetype for luacheckrc. (closes #11236)
|
|
|
|
|
|
| |
Problem: With 'nosplitscroll' folds are not handled correctly.
Solution: Take care of closed folds when moving the cursor. (Luuk van Baal,
closes #11234)
|
|
|
|
|
| |
Problem: New TypeScript extensions are not recognized.
Solution: Recognize .mts and .cts files. (closes #11237)
|
|
|
|
|
|
| |
Problem: Too much indent.
Solution: Return out early from a funtion. (Yegappan Lakshmanan,
close #11238)
|
|
|
|
|
| |
Problem: GYP files are not recognized.
Solution: Recognize GYP files. (closes #11242)
|
|
|
|
|
| |
Problem: Latexmkrc files are not recognized.
Solution: Use Perl filetype for latexmkrc files. (closes #11241)
|
|
|
|
|
| |
Problem: Using negative array index with negative width window.
Solution: Make sure the window width does not become negative.
|
|
|
|
|
|
| |
Problem: Cannot close a tab page with the middle mouse button.
Solution: Support closing a tab page with the middle mouse button, like many
other programs. (closes #10746)
|
|
|
|
|
| |
Problem: CI on Mac M1 has the channel feature disabled.
Solution: Include the channel feature.
|
|
|
|
|
|
| |
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes #11233)
Make it possible to filter a screendump before comparing it.
|
|
|
|
|
| |
Problem: Makefile error message causes a shell error.
Solution: Put the message in single quotes. (closes #11232)
|
|
|
|
|
| |
Problem: CI actions have too many permissions.
Solution: Restrict permissions to what is required. (closes #11223)
|
|
|
|
|
|
| |
Problem: Display not cleared when scrolling back in messages, a background
color is set and t_ut is empty.
Solution: Clear to the end of the display if needed. (closes #8973)
|
|
|
|
|
|
| |
Problem: Message window popup shows on only one tab page. (Naruhiko
Nishino)
Solution: Show the message window popup on all tab pages. (closes #11231)
|
|
|
|
|
|
|
| |
Problem: After exiting Insert mode spelling is not checked in the next
line.
Solution: When spelling is enabled redraw the next line after exiting Insert
mode in case the spell highlight needs updating.
|
|
|
|
|
| |
Problem: On AmigaOS4 the pid is available but the task address is used.
Solution: Use getpid(). (Ola Söder, closes #11224)
|
|
|
|
|
|
| |
Problem: MorphOS build is broken.
Solution: Add "-lm" to LDFLAGS and "-noixemul" to CFLAGS. (Ola Söder,
closes #11222)
|
|
|
|
|
| |
Problem: Unicode tables are outdated.
Solution: Update to Unicode release 15. (Christian Brabandt, closes #11220)
|
|
|
|
|
| |
Problem: Missing change in test.
Solution: Add the test change.
|
|
|
|
|
| |
Problem: When long message test fails the error message is not visible.
Solution: Dump more lines.
|