| Commit message (Collapse) | Author | Age |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes vim/vim#6970, closes vim/vim#4405)
https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: "hi def" does not work for cleared highlight.
Solution: Check the "sg_cleared" flag. (Maxim Kim, closes vim/vim#6956,
closes vim/vim#4405)
https://github.com/vim/vim/commit/05eb5b9cae123b138bbd23cc77e50657ece6b4ad
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes vim/vim#5816)
https://github.com/vim/vim/commit/0f1563ffee4397f5b379517c41b7c9a977fd2e22
Add translated test for 8.2.0422 (popup->floating)
|
| | |
| |
| |
| |
| |
| | |
Problem: win_splitmove() can make Vim hang.
Solution: Check windows exists in the current tab page. (closes vim/vim#5444)
https://github.com/vim/vim/commit/7b94e77132eabdf0e43abca57e2ffeb961545174
|
| | |
| |
| |
| |
| |
| | |
Problem: It is not easy to change the window layout.
Solution: Add win_splitmove(). (Andy Massimino, closes vim/vim#4561)
https://github.com/vim/vim/commit/d20dcb3d011da6111153109f6e46fbd5c7fe9fb6
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closes vim/vim#7976)
https://github.com/vim/vim/commit/f8c52e8d08de3fdf48db877d7d53d2d68c6ceb7b
|
| | |
| |
| |
| |
| |
| |
| | |
Problem: Test disabled on MS-Windows even though it should work.
Solution: Restore the condition for skipping the test. (Ken Takata,
closes vim/vim#7970)
https://github.com/vim/vim/commit/321481299757cdd43baeed33f4c5ba543fdfc7f7
|
| | |
| |
| |
| |
| |
| | |
Problem: GUI-specific command line arguments not tested.
Solution: Add tests for several arguments. (Dominique Pellé, closes vim/vim#7962)
https://github.com/vim/vim/commit/240309c9bfa8a0d2f154712f8e0dd33589f181d3
|
| | |
| |
| |
| |
| |
| | |
Problem: :doautocmd may confuse scripts listening to WinEnter.
Solution: Do the current buffer last. (closes vim/vim#7958)
https://github.com/vim/vim/commit/41cd80335cf318c15c8b0139f53ab5e8a02561ef
|
| | |
| |
| |
| |
| |
| | |
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (vim/vim#7899)
https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Alternate buffer added to session file even when it's hidden.
Solution: Check the 'buflisted' option. (closes vim/vim#7951)
https://github.com/vim/vim/commit/0756f757edba755b75e0c9c612ab2f7e673def84
N/A patches for version.c:
vim-patch:8.2.2593: list of distributed files is incomplete
Problem: List of distributed files is incomplete.
Solution: Add a file and rename another.
https://github.com/vim/vim/commit/0de8e2d6a3fae61c4d9dfdd6f16fc5040d994f6c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Expresison command line completion shows variables but not
functions after "g:". (Gary Johnson)
Solution: Prefix "g:" when needed to a global function.
https://github.com/vim/vim/commit/1bb4de5302ba038b9c59e845b6d735e87d5681d0
Port most of patch v8.2.0335 to complete script-local functions
if the name starts with "s:".
|
| | |
| |
| |
| |
| |
| | |
Problem: No completion for the 'filetype' option.
Solution: Add filetype completion. (Martin Tournoij, closes vim/vim#7747)
https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
|
| | |
| |
| |
| |
| |
| | |
Problem: Poke files are not recognized.
Solution: Add a filetype entry. (Matt Ihlenfield)
https://github.com/vim/vim/commit/c80f647512b001fb6952ed10d076d56c3d4b84e0
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Build failure with tiny features.
Solution: Add #ifdef. Run recover test separately.
https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1
N/A patches for version.c:
vim-patch:8.2.1048: build failure without the eval feature
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
https://github.com/vim/vim/commit/9d40c63c7dc8c3eb3886c58dcd334bc7f37eceba
vim-patch:8.2.1828: build failure without the +eval feature
Problem: Build failure without the +eval feature.
Solution: Add dummys for ex_block and ex_endblock.
https://github.com/vim/vim/commit/1b1e9df78b9ff98cc5ccff359bead37ce5c54d6b
vim-patch:8.2.2293: build failure with Motif
Problem: Build failure with Motif. (Tony Mechelynck)
Solution: Use empty_option instead of empty_options.
https://github.com/vim/vim/commit/bb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1
vim-patch:8.2.2410: build failure without the +profiling feature
Problem: Build failure without the +profiling feature.
Solution: Add dummy argument to macro.
https://github.com/vim/vim/commit/ff0e57fe77b1a87a034191c629730b081f6fb7ad
vim-patch:8.2.2514: Vim9: build error in tiny version
Problem: Vim9: build error in tiny version.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
https://github.com/vim/vim/commit/9355ae41497cbcce58ddd79f9125eb3e9dfe0a43
N/A patches for version.c:
vim-patch:8.1.0783: compiler warning for signed/unsigned
Problem: Compiler warning for signed/unsigned.
Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes vim/vim#3827)
https://github.com/vim/vim/commit/63c0ccd2b68ce854f294e6f149cc700c7f543674
Neovim was refactored to prefer char type for string functions, not char_u.
vim-patch:8.2.2152: screenpos() does not include the WinBar offset
Problem: screenpos() does not include the WinBar offset.
Solution: Use W_WINROW() instead of directly using w_window. (closes vim/vim#7487)
https://github.com/vim/vim/commit/8dd46e72cfb13b8de793c808ee009c45e881903a
W_WINROW() was removed so port only the test changes.
The test is currently skipped.
|
| |
|
|
|
|
|
|
|
| |
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes vim/vim#6318)
https://github.com/vim/vim/commit/4014e2ceb03b8aeb947a0c671a099b677c8f2d5d
Do not run test_statusline.vim in test_alot.vim
because test_statusline.vim runs separately in Vim since patch v8.2.0164.
|
| |
|
|
|
|
|
|
| |
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Setting 'winminheigt' does not take tabline into account.
Solution: Subtract the tabline from the available height. (closes vim/vim#7899)
https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57
N/A patches for version.c:
vim-patch:8.1.0680: not easy to see what features are unavailable
Problem: Not easy to see what features are unavailable.
Solution: Highlight disabled features in the :version output. (Nazri Ramliy,
closes vim/vim#3756)
https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced
vim-patch:8.2.2196: :version output has extra spaces in compile and link command
Problem: :version output has extra spaces in compile and link command.
Solution: Adjust QUOTESED. (closes vim/vim#7505)
https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300
vim-patch:8.2.2551: MS-Windows: colors test file is not installed
Problem: MS-Windows: colors test file is not installed.
Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902)
https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32
vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP
Problem: MS-Windows: guifont test fails on Windows XP.
Solution: Check windowsversion().
https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
|
| |
|
|
|
| |
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561)
https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
|
| |
|
|
|
|
|
| |
Problem: Named function arguments are never optional.
Solution: Support optional function arguments with a default value. (Andy
Massimino, closes vim/vim#3952)
https://github.com/vim/vim/commit/42ae78cfff171fbd7412306083fe200245d7a7a6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#13981)
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395)
https://github.com/vim/vim/commit/f0068c5154a99b86b2c4515a4b93c003b2445cf4
Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim.
N/A patches for version.c:
vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests
Problem: MS-Windows: cannot run all vim9 tests.
Solution: Make test_vim9 target work.
https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464
|
| |
|
|
|
| |
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858)
https://github.com/vim/vim/commit/c0fcb6e0b10050145e7d334b68b1bdc5201fed05
|
| |
|
|
|
| |
Problem: Beancount filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7859)
https://github.com/vim/vim/commit/9bbd883b3528b37dcacad22ad58861105a9ae428
|
| |
|
|
|
|
| |
Problem: Getcompletion() does not return command line arguments.
Solution: Add the "cmdline" option. (Shougo, closes vim/vim#1140)
https://github.com/vim/vim/commit/1f1fd44ef796dd909ff5f3e5288b3fd79294dc71
|
| |
|
|
|
|
| |
Problem: Diffmode completion doesn't use per-window setting.
Solution: Check if a window is in diff mode. (Dominique Pell, closes vim/vim#5419)
https://github.com/vim/vim/commit/efcc329020ef089267f5f3994b8544eb58806311
|
| |
|
|
|
|
| |
Problem: :diffget and :diffput don't have good completion.
Solution: Add proper completion. (Dominique Pelle, closes vim/vim#5409)
https://github.com/vim/vim/commit/ae7dba896975051a3f0b7123faa08dac5635972d
|
| |
|
|
|
|
| |
Problem: Wrong display when mixing match conceal and syntax conceal.
Solution: Adjust how conceal flags are used. (closes vim/vim#6327, closes vim/vim#6303)
https://github.com/vim/vim/commit/211dd3fd82216ca879fe7f917ea345b3ae366ce1
|
| |
|
|
|
|
|
|
|
| |
Problem: Multiline conceal causes display errors.
Solution: Do not allow conceal cross over EOL. (closes vim/vim#6326, closes vim/vim#4854,
closes vim/vim#6302)
https://github.com/vim/vim/commit/fc838d6cb0f22c77a6ee2befd034b593e1c5ea06
Port test_conceal.vim but skip tests that require screendumps.
|
| |
|
|
|
|
|
| |
Problem: Still using default option values after using ":badd +1".
Solution: Find a window where options were set. Don't set the window when
using ":badd".
https://github.com/vim/vim/commit/89b693e5627715cde080c3580c7b641c9bf0c06a
|
| |
|
|
|
|
| |
Problem: Buffer test fails with normal features.
Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b
|
| |
|
|
|
|
| |
Problem: Some errors are not covered by tests.
Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#5920)
https://github.com/vim/vim/commit/067297e16a516838dbc46aaa9d8b1a507afec28d
|
| |
|
|
|
|
|
| |
Problem: Default option values are changed when using :badd for an existing
buffer.
Solution: When calling buflist_new() pass a zero line number. (closes vim/vim#7195)
https://github.com/vim/vim/commit/e974fa7b2b98e53a59d5ef16a6a1291f12a32e33
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: "vim -g --version" does not redirect output.
Solution: Reset gui.starting when showing version info. (closes vim/vim#7815)
https://github.com/vim/vim/commit/3b678047bcd50d6f409175dcffe7839dbb74728b
N/A patches for version.c:
vim-patch:8.1.2065: compiler warning building non-GUI with MinGW.
Problem: Compiler warning building non-GUI with MinGW.
Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes vim/vim#4964)
https://github.com/vim/vim/commit/910c378d9342e0de8c6736c83ebdbbb597267056
vim-patch:8.2.2500: build fails without the GUI feature
Problem: Build fails without the GUI feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/0bcadf14aa700c166c09f1800ed3de00b9598b39
vim-patch:8.2.2502: a few github actions are failing
Problem: A few github actions are failing.
Solution: Install setuptools-rust. (closes vim/vim#7823)
https://github.com/vim/vim/commit/ca753ec862f8191f1fc5ed161753704a488ed08d
vim-patch:8.2.2507: github build may fail if Ubuntu 20.04 is used
Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is
not needed.
Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of
installing rust. (Ozaki Kiichi, closes vim/vim#7820)
https://github.com/vim/vim/commit/0fa09676c25a0a4a01f339887b8bf40b4673621f
|
| |
|
|
|
|
|
| |
Problem: Script generated by :mkview changes alternate file.
Solution: Only write :balt in the session file. (Harish Rajagopal,
closes vim/vim#7779)
https://github.com/vim/vim/commit/139348f3e8370826a1ceb10c73f7c7bb586f8125
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Using mkview/loadview changes the jumplist.
Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the
jumplist. (closes vim/vim#7371)
https://github.com/vim/vim/commit/3482be6a33c3a00fe1e8e604310ad3034f593045
Definition for BufWinEnter autocmd in Test_mkview_loadview_jumplist()
was moved down a few lines until after the views are written, as in
Nvim, :loadview throws if the view file can't be opened.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes vim/vim#7269,
closes vim/vim#6714)
https://github.com/vim/vim/commit/59d8e56e048eb5d384649284fb35363931fc3697
Include minimal test_buffer.vim from patch 8.2.0243 for Test_balt().
Add entry for :balt to runtime/doc/index.txt from vim/vim#7819.
|
| |
|
|
|
|
| |
Problem: 'wrap' option is always reset when starting diff mode.
Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes vim/vim#7797)
https://github.com/vim/vim/commit/4223d43c0fb6ead1e611e4469a1680a9228b6015
|
| |
|
|
|
|
| |
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
https://github.com/vim/vim/commit/5202929dab58402a5f3cd9c231e09abb5c451c56
|
| |
|
|
|
|
|
|
| |
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 vim/vim#7813)
https://github.com/vim/vim/commit/8f33ebfade10cd1b4296d8ec8dca815a09e8a405
|
| |
|
|
|
|
|
| |
Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution: Don't re-use the current buffer when not going to edit the file.
(closes vim/vim#3397) Do re-use the current buffer for :next.
https://github.com/vim/vim/commit/32bbd00949c585ea1c9da13197279a175097eddd
|
| |
|
|
|
|
|
| |
Problem: current buffer is wrong after deletebufline() fails to delete a
line in another buffer.
Solution: Restore the current buffer.
https://github.com/vim/vim/commit/963ffa0a5a6091655ed72b4590ec5d5a1653bce8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Test_Executable() fails when using chroot.
Solution: Ignore the difference between "sbin" and "bin".
https://github.com/vim/vim/commit/a387083b2f65c2c14b19087c7d7f94ca23de1d48
Cherry-pick Test_Executable() changes from patches v8.1.1921, v8.2.1432
to be in sync with Vim.
N/A patches for version.c:
vim-patch:8.1.0509: checking cwd not accessible fails for root
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes vim/vim#3595)
https://github.com/vim/vim/commit/0b38f54730c3f9835ddade01c2263ce0f56c1c0f
vim-patch:8.2.2487: terminal shows garbage after double-wide character
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 vim/vim#7801)
https://github.com/vim/vim/commit/4549dad874244fe933b969e4ac0b41923ee70dc3
vim-patch:8.2.2488: json_encode() gives generic argument error
Problem: json_encode() gives generic argument error.
Solution: Mention the type that can't be encoded. (issue vim/vim#7802)
https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7
|
| |
|
|
|
|
|
| |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes vim/vim#2523)
https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1
Cherry-pick Test_winsize_cmd() from patch v8.2.0243.
|
| |
|
|
|
|
| |
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
https://github.com/vim/vim/commit/8ab375706e6712308f8cf7529bcae56684a6f385
|
| |
|
|
|
|
| |
Problem: 'foldlevel' not applied to folds restored from session.
Solution: Set 'foldlevel' after creaiting the folds. (closes vim/vim#7767)
https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with GUI
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes vim/vim#7766)
https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c
N/A patches for version.c:
vim-patch:8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration.
Solution: Add -Wno-deprecated-declarations.
https://github.com/vim/vim/commit/4d8479b335e92a95b09fdee09309ea0df934cb9e
vim-patch:8.2.2439: not easy to figure out what packages to get
Problem: Not easy to figure out what packages to get when installing Vim on
a new Ubuntu system.
Solution: Mention explicit commands that are easy to follow.
https://github.com/vim/vim/commit/3d2bb8b6f152c0c5056f49bccb350683a9ba2e13
vim-patch:8.2.2442: automatic GUI selection does not check for GTK 3
Problem: Automatic GUI selection does not check for GTK 3.
Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
YES when checking for GTK2.
https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d
vim-patch:8.2.2448: compilation error with Ruby 3.0
Problem: Compilation error with Ruby 3.0.
Solution: Adjust #ifdefs and declaration. (Ken Takata, closes vim/vim#7761)
https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a
|
| |
|
|
|
| |
Problem: :vimgrep expands wildcards twice.
Solution: Do not expand wildcards a second time.
https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
|
| |
|
|
|
| |
Patch v8.1.1803 and related method patches are not ported yet.
Revert this commit when those patches are ported.
|
| |
|
|
|
|
| |
Problem: Compiler test fails on MS-Windows.
Solution: Sort the found compiler plugin names.
https://github.com/vim/vim/commit/142f23544c7045b22e56fa6ee35808aceb6342f2
|