| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
|
| |
|
|
|
|
|
|
|
| |
Problem: 'statusline' only supports one "%=" item.
Solution: Add support for multiple "%=" items. (TJ DeVries, Yegappan
Lakshmanan, closes vim/vim#11970, closes vim/vim#11965)
https://github.com/vim/vim/commit/3ec78f973fdaec2cea8e036ed38037b2fe40670b
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
| |
Problem: Restoring KeyTyped when building statusline not tested.
Solution: Add a test. Clean up and fix other tests. (closes vim/vim#11815)
https://github.com/vim/vim/commit/378e6c03f98efc88e8c2675e05a548f9bb7889a1
|
| |
|
|
|
|
|
|
|
| |
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684)
https://github.com/vim/vim/commit/ba936f6f4e85cc1408bc3967f9fd7665d948909b
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
|
| |
|
|
|
|
| |
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes vim/vim#10674)
https://github.com/vim/vim/commit/bb404f5ad5ec909318bc24e5b82e4ed7b87ba8f4
|
| |
|
|
|
|
| |
Problem: Insufficient testing for 'statusline' and 'tabline'.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6333)
https://github.com/vim/vim/commit/832adf9bb8cd39d8e982d8a35ed8a6d39b974494
|
| |
|
| |
This can avoid divergences from Vim in some small places.
|
| |
|
|
|
|
| |
Problem: Off-by-one error in in statusline item.
Solution: Subtrace one less. (closes vim/vim#10394, closes vim/vim#5599)
https://github.com/vim/vim/commit/57ff52677bf5ba1651281ffe40505df8feba4a36
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer.
https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b
Adjust the test to use :noswapfile, as Nvim fails to create the swap file on Windows due to the file
name's length (E303).
We don't have this behaviour on Linux as we get "[Permission denied]" from readfile(), so there is
no attempt to create the swap file. However, Vim doesn't try to create the swap file on Windows
either for a different reason: MAXPATHL in Vim for Windows is only 1024 (compared to Nvim's 4096 on
the Windows CI), so readfile() gives "Illegal file name" instead, thus not needing :noswapfile for
both cases.
|
| |\
| |
| | |
feat(statusline): support multibyte fillchar
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This includes a partial port of Vim patch 8.2.2569 and some changes to
nvim_eval_statusline() to allow a multibyte fillchar. Literally every
line of C code touched by that patch has been refactored in Nvim, and
that patch contains some irrelevant foldcolumn tests I'm not sure how to
port (as Nvim's foldcolumn behavior has diverged from Vim's).
|
| |/
|
|
|
|
| |
Problem: Virtcol is recomputed for statusline unnecessarily.
Solution: Just use "w_virtcol". (closes vim/vim#9523)
https://github.com/vim/vim/commit/0f112052acaeffd75b7eb001eeb8a246ad12a276
|
| |
|
|
|
| |
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes vim/vim#8190)
https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
|
| |
|
|
|
|
|
| |
set (#14325)
Problem: Status line not updated when local 'statusline' option set.
Solution: Check the 'statusline' option of each window.
https://github.com/vim/vim/commit/d8db8383926cb8729417d9515cbfaf455dbbd8d1
|
| |
|
|
|
|
|
|
| |
Problem: Status line is not updated when going to cmdline mode.
Solution: Redraw status lines if 'statusline' is set and going to status
line mode. (based on patch from Justin M. Keyes et al.,
closes vim/vim#8044)
https://github.com/vim/vim/commit/ce0b75711afb3ff260967a0843bca46ec09604b5
|
| |
|
|
|
|
|
|
|
| |
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: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes vim/vim#7181)
https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6
The members of stl_item_T have not been prefixed with stl_ contrary to
the vim patch because the amount of stl_ prefixes on single lines of
code in that region was hurtful to readability.
|
| |
|
|
|
|
| |
Problem: Statusline not updated when splitting windows.
Solution: Call status_redraw_all(). (Jason Franklin, closes vim/vim#5496)
https://github.com/vim/vim/commit/668008be66326ed9e5b1122abede34ed3d2de2d8
|
| |
|
|
|
|
|
|
| |
Problem: When evaluating 'statusline' the current window is unknown.
(Daniel Hahler)
Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid"
when evaluationg %!. (closes vim/vim#4406, closes vim/vim#3299)
https://github.com/vim/vim/commit/1c6fd1e100fd0457375642ec50d483bcc0f61bb2
|
| |
|
|
|
|
| |
Problem: Draw error when an empty group is removed from 'statusline'.
Solution: Do not use highlighting from a removed group.
https://github.com/vim/vim/commit/dbe5d361feb65137099644329cf0ecfd4a945a14
|
| |
|
|
|
|
| |
Problem: ml_get error when accessing Visual area in 'statusline'.
Solution: Disable Visual mode when using another window. (closes vim/vim#5278)
https://github.com/vim/vim/commit/dee50a518007b3a59f54b8ad018b6a83993593e7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Revert "oldtests: win: shellslash for cdpath,tags,:find"
This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31.
* Revert "oldtests: set shellslash for ":cd" test"
This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.
* Revert "oldtests: set shellslash in Test_shellescape()"
This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93.
* Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries"
This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c.
* Revert "test/old: pass Test_statusline on Windows"
This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286.
* Revert "oldtests: set shellslash for Test_non_zero_arg"
This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094.
* Revert "oldtests: set shellslash in Test_true_false_arg()"
This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8.
* Remove unnecessary set shellslash
Since #10679 no longer requires individual set shellslash, it is removed.
Co-Authored-By: erw7 <erw7.github@gmail.com>
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Statusline test could fail in large terminal.
Solution: Make the test work on a huge terminal. (Dominique Pelle,
closes vim/vim#4255)
https://github.com/vim/vim/commit/316c16797a0baee8f4bced2235b783b21fbbea65
|
| |
|
|
|
|
| |
Problem: Skipping empty statusline groups is not correct.
Solution: Also set group_end_userhl. (itchyny)
https://github.com/vim/vim/commit/235dddf1f4afe3a40047dbf2aca1bd177b7be18b
|
| |
|
|
|
|
|
| |
Problem: 'statusline' drops empty group with highlight change.
Solution: Do not drop an empty group if it changes highlighting. (Marius
Gedminas, closes vim/vim#2228)
https://github.com/vim/vim/commit/6b89dbb55f84c485310c8c9e094dbafe3ecbace6
|
| |
|
|
|
|
|
| |
Problem: The new regexp engine does not give an error for using a back
reference where it is not allowed. (Dominique Pelle)
Solution: Check the back reference like the old engine. (closes vim/vim#1774)
https://github.com/vim/vim/commit/1ef9bbe215e13a273e74fccaddd8fc5a42c76b6e
|
| |
|
|
|
|
| |
Problem: Insufficient testing for statusline.
Solution: Add several tests. (Dominique Pelle, closes vim/vim#1534)
https://github.com/vim/vim/commit/300af82eca3dd5fec6be5516f16c9fd344ae104b
|
|
|
Problem: When using try/catch in 'statusline' it is still considered an
error and the status line will be disabled.
Solution: Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729)
https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
|