| Commit message (Collapse) | Author | Age |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: When 'hidden' is set session creates extra buffers.
Solution: Move :badd commands to the end. (Jason Franklin)
https://github.com/vim/vim/commit/d39e275b57493f9e25e1b62f84810571eee30cf4
Adjust some tests in ex_cmds/mksession_spec.lua:
- 'restores same :terminal buf in splits': Buffers aren't always :badded
in the same order as they're :edited, :balted, etc, so the order of
buffers in the buffer list may change slightly now that :badd happens
afterwards.
- 'restores buffers with tab-local CWD': This is explained in a comment.
|
| |
|
|
|
| |
It might come as a schocking surprise, but the defaults we support
are the NEOVIM defaults.
|
| |
|
|
|
|
| |
Problem: Test file was not deleted.
Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172)
https://github.com/vim/vim/commit/5f8ed7408aaf477215bcfde3e487e24b9e6ad870
|
| |
|
|
|
|
|
|
|
| |
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes vim/vim#8162)
https://github.com/vim/vim/commit/b6c2e9a010ebd7db586081957e634903d4972fa1
Avoid typecasts if possible.
Use PRIdLINENR, PRId64, to format line numbers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
'splitright' (#14398)
Problem: :mksession uses current value of 'splitbelow' and 'splitright'
even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution: Save and restore the values, instead of setting to the current
value. (closes vim/vim#8119)
https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d
Patch v8.2.1682 is not ported.
Replace "goto fail;" with "return FAIL;".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 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: '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
|
| |
|
|
|
|
| |
Problem: :mksession is not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4993)
https://github.com/vim/vim/commit/ee1a2b5a2a44dde9b4e9b34141b4d1c7b0e0513f
|
| |
|
|
|
|
| |
Problem: Mksession test fails on MS-Windows.
Solution: Always use an argument for :lcd.
https://github.com/vim/vim/commit/81e2ac7bb68a0321529ad5c89c8674caab4bca6b
|
| |
|
|
|
|
|
|
| |
Problem: The generated sessions file does not restore tabs properly if :lcd
was used in one of them.
Solution: Create the tab pages before setting the directory. (Yee Cheng
Chin, closes vim/vim#3152)
https://github.com/vim/vim/commit/26d4b896a789e65df7ee0cf3e25056eabc523fda
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: The hlsearch state is not stored in a session file.
Solution: Add "nohlsearch" if appropriate. (Jason Franklin)
https://github.com/vim/vim/commit/e3c74d249ac36404d8af25f74baf335d143b30e3
Vi default for 'sessionoptions' includes 'options'.
Use 'set sessionoptions&vi' to use Vim's default 'sessionoptions'.
If a test sets 'sessionoptions',
reset 'sessionoptions' at the end of the test.
N/A patches for version.c:
vim-patch:8.2.0119: message test fails on some platforms
Problem: Message test fails on some platforms. (Elimar Riesebieter)
Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle)
https://github.com/vim/vim/commit/1470dc35c4b14bda1995b7566c9a41a33eb06517
vim-patch:8.2.0234: message test fails on SunOS
Problem: Message test fails on SunOS.
Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes vim/vim#5595)
https://github.com/vim/vim/commit/d5b991493816a2edba7cacdd06820cf3c0abc4dc
vim-patch:8.2.2149: popupwin test for latin1 sometimes fails
Problem: Popupwin test for latin1 sometimes fails.
Solution: Wait for the script to finish.
https://github.com/vim/vim/commit/4c5bdb99ad632d703e94fffafba11b91861fea48
vim-patch:8.2.2150: Github actions CI isn't used for all available platforms
Problem: Github actions CI isn't used for all available platforms.
Solution: Update the github workflows. (Ozaki Kiichi, closes vim/vim#7433)
https://github.com/vim/vim/commit/8ea05de6aa1d133cba3381bcc36adf1736b08e00
vim-patch:8.2.2151: $dir not expanded when configure checks for moonjit
Problem: $dir not expanded when configure checks for moonjit.
Solution: Use double quotes instead of single quotes. (closes vim/vim#7478)
https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62
vim-patch:8.2.2153: popupwin test for latin1 still fails sometimes
Problem: Popupwin test for latin1 still fails sometimes.
Solution: Wait for the "cat" command to finish.
https://github.com/vim/vim/commit/b125b535bb0456ab43c10683307a4bc359442d44
vim-patch:8.2.2154: popupwin test for terminal buffer fails sometimes
Problem: Popupwin test for terminal buffer fails sometimes.
Solution: Wait for the prompt to appear.
https://github.com/vim/vim/commit/0353f56ddb379e7f1a68172fa4743355e04df21e
|
| |
|
|
|
|
|
| |
Problem: Session sets the local 'scrolloff' value to the global value.
Solution: Do not let restoring the global option value change the local
value.
https://github.com/vim/vim/commit/388908352f88e7391accb3545b082db0fc89d9f7
|
| |
|
|
|
|
| |
Problem: Using "seesion" looks like a mistake.
Solution: Use an underscore to make the function sort first.
https://github.com/vim/vim/commit/1e15e61188e14ba67060c09d4c74e9b587016230
|
| |
|
|
|
|
| |
Problem: mksession test fails on MS-Windows.
Solution: Skip testing with backslashes on MS-Windows.
https://github.com/vim/vim/commit/37ac4a531ce58daa201e3e045ef553734eaa432a
|
| |
|
|
|
|
| |
Problem: :mksession is not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#4992)
https://github.com/vim/vim/commit/66f0e6c6e201c75c24d4aa8fac46e926f7ac9054
|
| |
|
|
|
|
| |
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes vim/vim#4573)
https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
|
| |
|
|
|
|
| |
Problem: Test for 'runtimepath' in session fails on MS-Windows.
Solution: Skip the test for now.
https://github.com/vim/vim/commit/681b6bc86c8f60473854c0141935c07494528884
|
| |
|
|
|
|
|
|
| |
Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy
Madden)
Solution: Expand each part separately, instead of the whole option at once.
(Christian Brabandt, closes vim/vim#3466)
https://github.com/vim/vim/commit/ed18f2c03ae4786b489943cb575bb781a70356e4
|
| |
|
|
|
|
|
|
|
| |
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes vim/vim#2970)
https://github.com/vim/vim/commit/1c3c10492a291270fa89b3c8df11828792f927d3
|
| |
|
|
|
|
| |
Problem: :mkvimrc is not tested.
Solution: Add a test.
https://github.com/vim/vim/commit/8750026a7f6b445c43adc990141a3fe92d680b62
|
| | |
|
| |
|
|
|
| |
Problem: Sourcing a session sets v:errmsg.
Solution: Use "%argdel" instead of "argdel *". (Jason Franklin)
https://github.com/vim/vim/commit/555de4e3b2881b0d9a72242ecc2ba26b5c698c85
|
| |
|
|
|
|
| |
Problem: Session test fails on MS-Windows.
Solution: Don't try creating file with illegal name.
https://github.com/vim/vim/commit/9e79ccbe9ce6fce18939c7ac2e5ad059a3bd1951
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem: Session file has problem with single quote in file name. (Jon
Crowe)
Solution: Use a double quoted string. Add a test.
https://github.com/vim/vim/commit/ad36a3588d32985ee27bd11aa97e5195ef623158
Fixes https://github.com/neovim/neovim/issues/9618
|
| | |
|
| |
|
|
|
|
| |
Problem: mkview test still fails on CI.
Solution: Ignore curswant, don't see another solution.
https://github.com/vim/vim/commit/dd5d18eadffadc723ff7d3e208a2973d267a6dde
|
| |
|
|
|
|
| |
Problem: mkview test fails on CI.
Solution: Attempt to force recomputing curswant after folding.
https://github.com/vim/vim/commit/2bf4fe07b651e2a72fcfbfdb0719b402ea0b0a10
|
| |
|
|
|
|
|
| |
Problem: :mkview does not restore cursor properly after "$". (Dominique
Pelle)
Solution: Position the cursor with "normal! $".
https://github.com/vim/vim/commit/92c1b696413bf0e28f2fec22090d42e8a825eff2
|
| |
|
|
|
|
| |
Problem: Insufficient test coverage for :mkview and :loadview.
Solution: Add tests. (Dominique Pelle, closes vim/vim#3385)
https://github.com/vim/vim/commit/627cb6a6b37d17433fe2d7df1f287eefb5b370e3
|
| |
|
|
|
|
|
| |
Problem: Stray copy command in test.
Solution: Remove the copy command.
https://github.com/vim/vim/commit/4e83961985abb78757b135f29ac4ffde675247af
|
| |
|
|
|
|
|
|
| |
Problem: Manual folds are lost when a session file has the same buffer in
two windows. (Jeansen)
Solution: Use ":edit" only once. (Christian Brabandt, closes vim/vim#1958)
https://github.com/vim/vim/commit/4bebc9a0565670b853d227f81a9a31eafdb47eed
|
| |
|
|
|
|
|
| |
Problem: mksession test leaves file behind.
Solution: Delete the file. Rename files to start with "X".
https://github.com/vim/vim/commit/c9b56b2ceb4662f87c39ea07ba5090a073fd6286
|
| |
|
|
|
|
|
|
|
| |
Problem: When creating a session when winminheight is 2 or larger and
loading that session gives an error.
Solution: Also set winminheight before setting winheight to 1. (Rafael
Bodill, neovim vim/vim#5717)
https://github.com/vim/vim/commit/36ae89c550a4f0a380606c3fb4a054957ad698f0
|
| |
|
|
|
|
|
| |
Problem: Tests 92 and 93 are old style.
Solution: Make test92 and test93 new style. (Hirohito Higashi, closes vim/vim#1289)
https://github.com/vim/vim/commit/eca626fcdb73d480660c78b9f84cc043fa561922
|
|
|
Problem: Argument list is not stored correctly in a session file.
(lgpasquale)
Solution: Use "$argadd" instead of "argadd". (closes vim/vim#1434)
https://github.com/vim/vim/commit/79da563cf9220b9abb83455a68d995684133ea56
Signed-off-by: Michael Schupikov <michael@schupikov.de>
|