| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Problem: Display wrong when moving cursor to above the top line and
'smoothscroll' is set.
Solution: Call adjust_skipcol() in more places and make it work better.
(Luuk van Baal, closes #12395)
|
|
|
|
|
|
|
| |
Problem: Function argument types not always checked and using v:none may
cause an error.
Solution: Check argument types once the function type is known. Do not give
an error for using v:none as an argument. (closes #12200)
|
|
|
|
|
| |
Problem: Wrong error for unreachable code after :throw.
Solution: Adjust the error message.
|
|
|
|
|
| |
Problem: Test failures for unreachable code.
Solution: Add a test override to ignore unreachable code.
|
|
|
|
|
| |
Problem: Vim9: error for missing "return" after "throw".
Solution: Set had_return flag for "throw". (closes #12262)
|
|
|
|
|
| |
Problem: setcharsearch() does not clear last searched char properly.
Solution: Do not accept lastc_bytelen smaller than one. (closes #12398)
|
|
|
|
|
|
| |
Problem: Position of marker for 'smoothscroll' not computed correctly.
Solution: Take 'list' and other options into account. (Luuk van Baal,
closes #12393)
|
|
|
|
|
|
| |
Problem: In cmdline window S-Tab does not select previous completion.
(Maxim Kim)
Solution: Add a mappint for S-Tab. (closes #12116)
|
|
|
|
|
| |
Problem: USD filetype is not recognized.
Solution: Add patterns for USD filetype. (Colin Kennedy, closes #12370)
|
|
|
|
|
|
| |
Problem: Some commands for opening a file don't use 'switchbuf'.
Solution: Use 'switchbuf' for more commands. (Yegappan Lakshmanan,
closes #12383, closes #12381)
|
|
|
|
|
| |
Problem: Text not scrolled when cursor moved with "g0" and "h".
Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes #12387)
|
|
|
|
|
|
|
| |
Problem: Display errors when making topline shorter and 'smoothscroll' is
set.
Solution: Reset w_skipcol when the topline becomes shorter than its current
value. (Luuk van Baal, closes #12367)
|
|
|
|
|
|
| |
Problem: Line not fully displayed if it doesn't fit in the screen.
Solution: Do not reset s_skipcol if not needed. (Luuk van Baal,
closes #12376)
|
|
|
|
|
|
| |
Problem: reverse() on string doesn't work in compiled function.
Solution: Accept string in argument type check. (Yegappan Lakshmanan,
closes #12377)
|
|
|
|
|
| |
Problem: Typst filetype is not recognized.
Solution: Distinguish between sql and typst. (Gaetan Lepage, closes #12363)
|
|
|
|
|
| |
Problem: :wqall does not trigger ExitPre. (Bart Libert)
Solution: Move preparations for :qall to a common function. (closes #12374)
|
|
|
|
|
| |
Problem: Test commented out in a wrong way.
Solution: Use legacy script comment character.
|
|
|
|
|
| |
Problem: Test for expanding "~" in substitute takes too long.
Solution: Disable the test for now.
|
|
|
|
|
|
| |
Problem: Test for 'smoothscroll' is ineffective.
Solution: Change the order of testing "zb" and "zt". (Luuk van Baal,
closes #12366)
|
|
|
|
|
| |
Problem: Crash when expanding "~" in substitute causes very long text.
Solution: Limit the text length to MAXCOL.
|
|
|
|
|
| |
Problem: Crash when register contents ends up being invalid.
Solution: Check "y_array" is not NULL.
|
|
|
|
|
|
|
| |
Problem: Cursor moves to wrong line when 'foldmethod' is "diff". (Rick
Howe)
Solution: Adjust logic for scrolling. (Luuk van Baal, closes #12364,
closes #12218)
|
|
|
|
|
| |
Problem: Code style test doesn't check for space after "if".
Solution: Add a test for space.
|
|
|
|
|
| |
Problem: Crash when using negative value for term_cols.
Solution: Check for invalid term_cols value. (Kenta Sato, closes #12362)
|
|
|
|
|
|
| |
Problem: 'smoothscroll' does not always work properly.
Solution: Do not reset w_skipcol after it was intentionally set. (Luuk van
Baal, closes #12360, closes #12199, closes #12323)
|
|
|
|
|
| |
Problem: Passing -1 for bool is not always rejected.
Solution: Check for error in a better way. (closes #12358)
|
|
|
|
|
| |
Problem: Some functions give two error messages.
Solution: Do not give a second error message. (closes #12352)
|
|
|
|
|
| |
Problem: Failing redo of command with control characters.
Solution: Use AppendToRedobuffLit() for colon commands. (closes #12354)
|
|
|
|
|
|
| |
Problem: Completion for option name includes all bool options.
Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when
appropriate.
|
|
|
|
|
|
| |
Problem: Search stats not always visible when searching backwards.
Solution: Do not display the top/bot message on top of the search stats.
(Christian Brabandt, closes #12322, closes #12222)
|
|
|
|
|
|
| |
Problem: Cannot use special keys in <Cmd> mapping.
Solution: Do allow for special keys in <Cmd> and <ScriptCmd> mappings.
(closes #12326)
|
|
|
|
|
|
| |
Problem: reverse() does not work for a String.
Solution: Implement reverse() for a String. (Yegappan Lakshmanan,
closes #12179)
|
|
|
|
|
| |
Problem: Test waits unnecessarily long before checking screendump.
Solution: Remove TermWait() call.
|
|
|
|
|
|
| |
Problem: Text scrolls unnecessarily when splitting and 'splitkeep' is not
"cursor".
Solution: Avoid resetting w_skipcol. (Luuk van Baal, closes #12334)
|
|
|
|
|
|
| |
Problem: Inserting lines when scrolling with 'smoothscroll' set.
Solution: Adjust line height computation for w_skipcol. (Luuk van Baal,
closes #12350)
|
|
|
|
|
| |
Problem: Crash when using wrong arg types to assert_match().
Solution: Check for NULL pointer. (closes #12349)
|
|
|
|
|
| |
Problem: Error message lacks mentioning the erroneous argument.
Solution: Specify the argument that the error is for.
|
|
|
|
|
| |
Problem: Catch does not work when lines are joined with a newline.
Solution: Set "nextcmd" appropriately. (closes #12348)
|
|
|
|
|
|
|
| |
Problem: Assert message is confusing with boolean result. assert_inrange()
replaces message instead of adding it.
Solution: Don't put quotes around expected boolean value. Append message
for assert_inrange(). (closes #12342, closes #12341)
|
|
|
|
|
| |
Problem: Line number not displayed when using 'smoothscroll'.
Solution: Adjust condition for showing the line number. (closes #12333)
|
|
|
|
|
| |
Problem: Error when heredoc content looks like heredoc.
Solution: Handle curly expressions. (closes #12325)
|
|
|
|
|
|
| |
Problem: No error when calling remote_startserver() with an empty string.
Solution: Give an error for an empty string. (Hirohito Higashi,
closes #12327)
|
|
|
|
|
| |
Problem: Luau files are not recognized.
Solution: Add a patter for Luau files. (Amaan Qureshi, closes #12317)
|
|
|
|
|
|
| |
Problem: No test for deleting the end of a long wrapped line.
Solution: Add a test to check the right text is displayed. (Luuk van Baal,
closes #12318)
|
|
|
|
|
| |
Problem: Crash with nested :try and :throw in catch block.
Solution: Jump to :endtry before returning from function. (closes #12245)
|
|
|
|
|
| |
Problem: The falsy operator is not tested properly.
Solution: Add a few more test cases. (closes #12319)
|
|
|
|
|
| |
Problem: Using uninitialized memory with fuzzy matching.
Solution: Initialize the arrays used to store match positions.
|
|
|
|
|
| |
Problem: Test restoring register with wrong value.
Solution: Correct name of variable. (closes #12310)
|
|
|
|
|
| |
Problem: Crash when recovering from corrupted swap file.
Solution: Bail out when the line index looks wrong. (closes #12276)
|
|
|
|
|
|
| |
Problem: Popup menu position wrong in window with toolbar.
Solution: Take the window toolbar into account when positioning the popup
menu. (closes #12308)
|