| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Cannot add padding to virtual text without highlight.
Solution: Add the "text_padding_left" argument. (issue #10906)
|
|
|
|
|
| |
Problem: Using freed memory when 'tagfunc' deletes the buffer.
Solution: Make a copy of the tag name.
|
|
|
|
|
|
| |
Problem: Cannot easily get the list of sourced scripts.
Solution: Add the getscriptinfo() function. (Yegappan Lakshmanan,
closes #10957)
|
|
|
|
|
| |
Problem: Crash when using ":mkspell" with an empty .dic file.
Solution: Check for an empty word tree.
|
|
|
|
|
| |
Problem: Shift-Tab shows matches on cmdline when 'wildmenu' is off.
Solution: Only show matches when 'wildmode' contains "list". (closes #10951)
|
|
|
|
|
| |
Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
|
|
|
|
|
| |
Problem: Removing multiple text properties takes many calls.
Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
|
|
|
|
|
| |
Problem: Test with BufNewFile autocmd is flaky.
Solution: Use another file name.
|
|
|
|
|
| |
Problem: No error for comma missing in list in :def function.
Solution: Check for missing comma. (closes #10943)
|
|
|
|
|
| |
Problem: Vim9: error message for missing type is not clear.
Solution: Mention the context. (issue #10944)
|
|
|
|
|
| |
Problem: Crash when pattern looks below the last line.
Solution: Consider invalid lines to be empty. (closes #10938)
|
|
|
|
|
| |
Problem: job_start() test may fail under valgrind.
Solution: Wait until the job is running.
|
|
|
|
|
| |
Problem: Using freed memory with multiple line breaks in expression.
Solution: Free eval_tofree later.
|
|
|
|
|
| |
Problem: Using NULL pointer when skipping compiled code.
Solution: Check for skipping.
|
|
|
|
|
| |
Problem: Typo in diffmode test.
Solution: Fix the typo. (closes #10932)
|
|
|
|
|
| |
Problem: No good reason why text objects are only in larger builds.
Solution: Graduate +textobjects.
|
|
|
|
|
| |
Problem: Accessing freed memory if compiling nested function fails.
Solution: Mess up the variable name so that it won't be found.
|
|
|
|
|
| |
Problem: Invalid memory access with for loop over NULL string.
Solution: Make sure mb_ptr2len() consistently returns zero for NUL.
|
|
|
|
|
|
|
| |
Problem: Cannot make a funcref with "s:func" in a def function in legacy
script.
Solution: Allow for using a lower case function name after "s:". (Kota Kato,
closes #10926)
|
|
|
|
|
| |
Problem: Reading before the start of the line.
Solution: When displaying "$" check the column is not negative.
|
|
|
|
|
| |
Problem: 'shellslash' works differently when sourcing a script again.
Solution: Use the name from the script item. (closes #10920)
|
|
|
|
|
| |
Problem: Undo earlier test sometimes fails on MS-Windows.
Solution: Use another file name.
|
|
|
|
|
|
| |
Problem: Splitting a line may duplicate virtual text. (Ben Jackson)
Solution: Don't duplicate a text property with virtual text. Make
auto-indenting work better. (closes #10919)
|
|
|
|
|
| |
Problem: Using freed memory with error in assert argument.
Solution: Make a copy of the error.
|
|
|
|
|
| |
Problem: Invalid memory access when compiling :unlet.
Solution: Don't read past the end of the line.
|
|
|
|
|
| |
Problem: Invalid memory access when compiling :lockvar.
Solution: Don't read past the end of the line.
|
|
|
|
|
| |
Problem: 'list' mode does not work properly with virtual text.
Solution: Show the "$" at the right position. (closes #10913)
|
|
|
|
|
| |
Problem: The override flag has no effect for virtual text. (Ben Jackson)
Solution: Make the override flag work. (closes #10915)
|
|
|
|
|
| |
Problem: Stacktrace not shown when debugging.
Solution: Set msg_scroll in msg_source(). (closes #10917)
|
|
|
|
|
|
|
| |
Problem: Cursor in wrong position when inserting after virtual text. (Ben
Jackson)
Solution: Put the cursor after the virtual text, where the text will be
inserted. (closes #10914)
|
|
|
|
|
| |
Problem: indexof() may leak memory.
Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
|
|
|
|
|
|
| |
Problem: Code and help for indexof() is not ideal.
Solution: Refactor the code, improve the help. (Yegappan Lakshmanan,
closes #10908)
|
|
|
|
|
| |
Problem: CursorLine highlight overrules virtual text highlight.
Solution: Let extra attribute overrule line attribute. (closes #10909)
|
|
|
|
|
|
|
| |
Problem: cursor in a wrong positoin if 'wrap' is off and using two right
aligned text props in one line.
Solution: Count an extra line for a right aligned text property after a
below or right aligned text property. (issue #10909)
|
|
|
|
|
| |
Problem: Cursor position wrong with two right-aligned virtual texts.
Solution: Add the padding for right-alignment. (issue #10906)
|
|
|
|
|
| |
Problem: ml_get error when switching buffer in Visual mode.
Solution: End Visual mode when switching buffer. (closes #10902)
|
|
|
|
|
| |
Problem: Astro files are not detected.
Solution: Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
|
|
|
|
|
| |
Problem: Finding value in list may require a for loop.
Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
|
|
|
|
|
| |
Problem: Metafun files are not recogized.
Solution: Add filetype detection patterns.
|
|
|
|
|
|
| |
Problem: Cursor displayed in wrong position after removing text prop. (Ben
Jackson)
Solution: Invalidate the cursor position. (closes #10898)
|
|
|
|
|
|
|
|
| |
Problem: Search and match highlgith interfere with virtual text highlight.
(Ben Jackson)
Solution: Check for match highlight after text properties. Reset and
restore search highlight when showing virtual text.
(closes #10892)
|
|
|
|
|
|
|
| |
Problem: Messages test fails; window size incorrect when 'cmdheight' is
made smaller.
Solution: Properly cleanup after test with cmdheight zero. Resize windows
correctly when 'cmdheight' gets smaller.
|
|
|
|
|
|
| |
Problem: The way 'cmdheight' can be made zero is inconsistent.
Solution: Only make 'cmdheight' zero when setting it explicitly, not when
resizing windows. (closes #10890)
|
|
|
|
|
|
| |
Problem: Strange effects when using virtual text with "text_align" and
non-zero column. (Martin Tournoij)
Solution: Give an error. (closes #10888)
|
|
|
|
|
| |
Problem: Command line height changes when maximizing window height.
Solution: Do not change the command line height. (closes #10885)
|
|
|
|
|
|
| |
Problem: Virtual text without highlighting does not show. (Ben Jackson)
Solution: Use a text property when it has highlighting or when it has text.
(closes #10878)
|
|
|
|
|
|
| |
Problem: Virtual text does not show if tehre is a text prop at same
position. (Ben Jackson)
Solution: Fix the sorting of properties. (closes #10879)
|
|
|
|
|
| |
Problem: Virtual text prop highlight continues after truncation.
Solution: Recompute the length of attributes.
|
|
|
|
|
|
| |
Problem: Extra space after virtual text when 'linebreak' is set.
Solution: Do not count virtual text when getting linebreak value.
(closes #10884)
|
|
|
|
|
|
| |
Problem: Quarto files are not recognized.
Solution: Recognize quarto files by the extension. (Jonas Strittmatter,
closes #10880)
|