| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Problem: No error when using more than one character for a register name.
Solution: In Vim9 script check for a single character string. (closes #7814)
Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
|
|
|
|
|
| |
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
|
|
|
|
|
|
|
| |
Problem: Text jumps up and down when moving the cursor in a small window
with wrapping text and 'scrolloff' set.
Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
closes #7813)
|
|
|
|
|
| |
Problem: ":rviminfo!" clears most of oldfiles.
Solution: Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)
|
|
|
|
|
|
| |
Problem: Text property for text left of window shows up.
Solution: Check if the text property ends before the current column.
(closes #7806)
|
|
|
|
|
| |
Problem: Command line buffer name cannot be translated.
Solution: Add _(). (Gabriel Dupras, closes #7812)
|
|
|
|
|
|
| |
Problem: Popup window for text property may show in first screen line.
Solution: If the text position is invisible do not show the popup window.
(closes #7807)
|
|
|
|
|
| |
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)
|
|
|
|
|
|
| |
Problem: current buffer is wrong after deletebufline() fails to delete a
line in another buffer.
Solution: Restore the current buffer.
|
|
|
|
|
| |
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue #7802)
|
|
|
|
|
|
|
| |
Problem: Terminal shows garbage after double-wide character with a
combining character. (Kyoichiro Yamada)
Solution: Libvterm: do not add the width of the combining character to the
glyph width. (closes #7801)
|
|
|
|
|
| |
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
|
|
|
|
|
|
| |
Problem: When sourcing a script again the script version isn't reset.
Solution: Set sn_version to one when sourcing a script again. Clear
sn_save_cpo properly. (closes #7608)
|
|
|
|
|
| |
Problem: Vim9: Cannot use a comment starting with #{ after an expression.
Solution: Remove the check for "{" since #{ dictionaries are not supported.
|
|
|
|
|
| |
Problem: Vim9: type error for misformed expression.
Solution: Check for end of command before checking type. (closes #7795)
|
|
|
|
|
| |
Problem: Build error.
Solution: Add new error message.
|
|
|
|
|
|
| |
Problem: Vim9: confusing error when variable arguments have a default
value.
Solution: Give a specific error message. (closes #7793)
|
|
|
|
|
| |
Problem: Vim9: some errors for white space do not show context.
Solution: Include the text at the error.
|
|
|
|
|
|
| |
Problem: set/getbufline test fails without the job feature.
Solution: Check whether the job feature is supported. (Dominique Pellé,
closes #7790)
|
|
|
|
|
| |
Problem: MS-Windows: backup files for plugins are loaded.
Solution: Do not use the alternate file name for files ending in "~".
|
|
|
|
|
| |
Problem: Autocommand tests hang on MS-Windows.
Solution: Skip a couple of tests. Fix file name.
|
|
|
|
|
|
| |
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
|
|
|
|
|
| |
Problem: Autocommand tests hangs on MS-Windows.
Solution: Skip one test.
|
|
|
|
|
|
| |
Problem: Using freed memory when window is closed by autocommand.
(houyunsong)
Solution: Check the window pointer is still valid.
|
|
|
|
|
|
| |
Problem: Crash when leaving command line window triggers autocommand.
(houyunsong)
Solution: Make sure not to close the current window or buffer.
|
|
|
|
|
|
| |
Problem: Crash when using command line window in an autocommand.
(houyunsong)
Solution: Save and restore au_new_curbuf.
|
|
|
|
|
| |
Problem: Popup_setoptions() does not set textprop in other tab.
Solution: use win_valid_any_tab(). (closes #7788)
|
|
|
|
|
| |
Problem: Popup_getoptions() does not get textprop from other tab.
Solution: use win_valid_any_tab(). (closes #7786)
|
|
|
|
|
| |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes #2523)
|
|
|
|
|
| |
Problem: Not easy to get the full command name from a shortened one.
Solution: Add fullcommand(). (Martin Tournoij, closes #7777)
|
|
|
|
|
|
| |
Problem: Script generated by :mkview changes alternate file.
Solution: Only write :balt in the session file. (Harish Rajagopal,
closes #7779)
|
|
|
|
|
| |
Problem: Max() and min() can give many error messages.
Solution: Bail out at the first error. (closes #1039, closes #7778)
|
|
|
|
|
| |
Problem: Using freed memory in :psearch. (houyunsong)
Solution: Check the current window is still valid. Fix flaky test.
|
|
|
|
|
| |
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
|
|
|
|
|
|
| |
Problem: Using :arglocal in an autocommand may use freed memory.
(houyunsong)
Solution: Check if the arglist is locked.
|
|
|
|
|
| |
Problem: Coverity warns for not checking for fseek() error.
Solution: Give an error message if fseek() fails.
|
|
|
|
|
| |
Problem: Coverity warns for unchecked return value.
Solution: Add "(void)" to avoid the warning.
|
|
|
|
|
| |
Problem: Coverity warns for unused value.
Solution: Do not reset the return value to OK.
|
|
|
|
|
| |
Problem: Coverity reports dead code.
Solution: Remove the dead code.
|
|
|
|
|
| |
Problem: Coverity warns for :retab using freed memory.
Solution: Use the updated line pointer when moving text properties.
|
|
|
|
|
| |
Problem: Coverity warns for memory leak.
Solution: Free memory when out of memory.
|
|
|
|
|
| |
Problem: Coverity warning for strcpy() into fixed size array.
Solution: Add a type cast to hopefully silence the bogus warning.
|
|
|
|
|
|
| |
Problem: Vim9: key type that can be used for literal dict and indexing is
inconsistent.
Solution: Allow using number and bool as key for a literal dict. (#7771)
|
|
|
|
|
| |
Problem: Leading space can not be made visible.
Solution: Add "lead:" to 'listchars'. (closes #7772)
|
|
|
|
|
| |
Problem: Vim9: a variable name with "->" in the next line doesn't work.
Solution: Recognize a variable name by itself. (closes #7770)
|
|
|
|
|
| |
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes #7747)
|
|
|
|
|
|
| |
Problem: MS-Windows: Extended Attributes not preserved.
Solution: Preserve Extended Attributes when writing a file. (Ken Takata,
closes #7765)
|
|
|
|
|
| |
Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
Solution: Copy ADS before truncating the file. (Ken Takata, closes #7762)
|
|
|
|
|
| |
Problem: Vim9: flatten() always changes the list type.
Solution: Disallow using flatten() and add flattennew().
|
|
|
|
|
| |
Problem: Compilation error with Ruby 3.0.
Solution: Adjust #ifdefs and declaration. (Ken Takata, closes #7761)
|