| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When the last sign is deleted the signcolumn may not be removed
even though 'signcolumn' is "auto".
Solution: When deleting the last sign redraw the buffer. (Dominique Pelle,
closes vim/vim#3803, closes vim/vim#3804)
https://github.com/vim/vim/commit/8144acbec33b751788a7912e2d880c083c6cfe93
|
| |
| |
| |
| |
| |
| | |
Problem: There is no function for the ":sign jump" command.
Solution: Add the sign_jump() function. (Yegappan Lakshmanan, closes vim/vim#3780)
https://github.com/vim/vim/commit/6b7b7190aa9e5c4f51bceaebf9275aa5097cfea1
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Windows are updated for every added/deleted sign.
Solution: Do not call update_debug_sign(). Only redraw when the line with
the sign is visible. (idea from neovim vim/vim#9479)
https://github.com/vim/vim/commit/27a472c32ed5b5298bca50864570a4a71ec1d204
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ":sign place" only uses the current buffer.
Solution: List signs for all buffers when there is no buffer argument.
Fix error message for invalid buffer name in sign_place().
(Yegappan Lakshmanan, closes vim/vim#3774)
https://github.com/vim/vim/commit/b589f95b38ddd779d7e696abb0ea011dc92ea903
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Sign message not translated and inconsistent spacing.
Solution: Add _() for translation. Add a space. (Ken Takata) Also use
MSG_BUF_LEN instead of BUFSIZ.
https://github.com/vim/vim/commit/d730c8e2974609034016ca66db09d2ef78784343
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":sign place" requires the buffer argument.
Solution: Make the argument optional. Also update the help and clean up the
sign test. (Yegappan Lakshmanan, closes vim/vim#3767)
https://github.com/vim/vim/commit/b328cca2548936c5f68fff683049a929882f5011
|
| |
| |
| |
| |
| |
| | |
Problem: Sign functions do not take buffer argument as documented.
Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes vim/vim#3755)
https://github.com/vim/vim/commit/2cbc1a02cb72916dfdbd0d307512c7c3fb766edf
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Functionality for signs is spread out over several files.
Solution: Move most of the sign functionality into sign.c. (Yegappan
Lakshmanan, closes vim/vim#3751)
https://github.com/vim/vim/commit/bbea47075cc4e7826e9f8c203e4272ba023ed7b0
|
| |
| |
| |
| |
| |
| |
| | |
Problem: The ex_sign() function is too long.
Solution: Refactor the function. Add a bit more testing. (Yegappan
Lakshmanan, closes vim/vim#3745)
https://github.com/vim/vim/commit/a355652ea5b0c1633e8126ad9af2d970e05f4e1a
|
| |
| |
| |
| |
| |
| |
| | |
Problem: sign_cleanup() may leak memory.
Solution: Free the group name before returning. Add a few more tests.
(Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1ea88a3e12e5f6afc5353cd0d6e6d4f4a89ced94
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Deleting signs and completion for :sign is insufficient.
Solution: Add deleting signs in a specified or any group from the current
cursor location. Add group and priority to sign command
completion. Add tests for different sign unplace commands. Update
help text. Add tests for sign jump with group. Update help for
sign jump. (Yegappan Lakshmanan, closes vim/vim#3731)
https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
|
| |
| |
| |
| |
| |
| | |
Problem: Finding next sign ID is inefficient.
Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717)
https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using sign group names is inefficient.
Solution: Store group names in a hash table and use a reference to them.
Also remove unnecessary use of ":exe" from the tests. (Yegappan
Lakshmanan, closes vim/vim#3715)
https://github.com/vim/vim/commit/7a2d9892b7158edf8dc48e9bcaaae70a40787b37
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Placing signs can be complicated.
Solution: Add functions for defining and placing signs. Introduce a group
name to avoid different plugins using the same signs. (Yegappan
Lakshmanan, closes vim/vim#3652)
https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
|
|/
|
| |
fixes #8490
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When using a visual bell there is no delay, causing the flash to
be very short, possibly unnoticeable. Also, the flash and the
beep can lockup the UI when repeated often.
Solution: Do the delay in Vim or flush the output before the delay. Limit the
bell to once per half a second. (Ozaki Kiichi, closes vim/vim#1789)
https://github.com/vim/vim/commit/2e147caa14f622dfd1c1def8e07c113b9b85d4b2
|
|\ \
| | |
| | | |
messages: use proper multiline errors for rpcrequest and API wrappers
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{211,307}
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: There is no good way to get the window layout.
Solution: Add the winlayout() function. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/0f6b4f06dece71487a6d8546c50de775d9c8c287
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran)
Solution: Change "~" to "./~" before expanding. (closes vim/vim#3072)
https://github.com/vim/vim/commit/00136dc321586800986e8f743c2f108f5eecbf92
|
|/ / /
| | |
| | |
| | | |
close #10058
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some regexp errors are not tested.
Solution: Add a test function.
https://github.com/vim/vim/commit/6057ed4720eaa1d546bbd234e6957ec0163e0e9b
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Modeline test with keymap still fails.
Solution: Check that the keymap feature is available for the failure assert.
https://github.com/vim/vim/commit/3067a4dd0d768d1e4a47cf3c100f3e2b462717d7
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Modeline test with keymap fails.
Solution: Check that the keymap feature is available.
https://github.com/vim/vim/commit/4ace6ab7e72151d78f1563b23b498ed20fa00211
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes vim/vim#3592)
https://github.com/vim/vim/commit/9691f82f862ed18c2e3e48f9d2cd902bb947f803
N/A patches:
vim-patch:8.1.0208: file left behind after running individual test
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Duplicate test function name.
Solution: Rename both functions.
https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
|
|/ /
| |
| |
| |
| |
| | |
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes vim/vim#3241)
https://github.com/vim/vim/commit/9cf4b5005f12ce1d6692266140bdda05d0312d79
|
| |
| |
| |
| |
| | |
Problem: ":=" command is not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3859)
https://github.com/vim/vim/commit/99531a7604ce89ba82f41cdb519669abb61f3df0
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Cscope test fails when using shadow directory.
Solution: Resolve symlink in Vim. (James McCoy, closes vim/vim#3364)
https://github.com/vim/vim/commit/320bf2d85e9e2924d896b3072979598c954922e7
|
| |
| |
| |
| |
| |
| | |
Problem: No test for ":cscope add".
Solution: Add a test. (Dominique Pelle, closes vim/vim#3212)
https://github.com/vim/vim/commit/2196bca7377ff245866cc3cee65b0adb48432ac3
|
| |
| |
| |
| |
| |
| | |
- These "alternative tokens" keywords are for C++, not C.
- The check sometimes has false positives, e.g. `compl` is a variable
name in edit.c
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
vim-patch:8.0.1481
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately we cannot indiscriminately replace xfree() with
XFREE_CLEAR(), because comparing pointers after freeing them is a common
pattern. Example in `tv_list_remove_items()`:
xfree(li);
if (li == item2) {
break;
}
Instead we can do it selectively/explicitly.
ref #1375
|
|
|
|
|
| |
- gen_vimdoc.py: fancy "bullet"
- rework `:help channel-callback`
- rename `:help buffered` to `:help channel-buffered`
|
|
|
|
|
|
|
| |
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: "[p" in Visual mode puts in wrong line.
Solution: Call nv_put() instead of duplicating the functionality.
(closes vim/vim#4408)
https://github.com/vim/vim/commit/0ab190c05706b1c72e6e2ca4d990febfa81cf886
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: Checks for type of stack is cryptic.
Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/4d77c65a9e57e1d1a459c44411930c7a892835fd
|
|/
|
|
|
|
| |
Problem: ":vert options" does not make a vertical split.
Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata,
closes vim/vim#4401)
https://github.com/vim/vim/commit/e0b5949a3b28be9940bb8a46b2579e960100b83b
|