| Commit message (Collapse) | Author | Age |
... | |
|\ \
| | |
| | | |
ci: Add Coverity modeling
|
| | |
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| |/ /
|/| | |
vim-patch: 8.0.0319, 8.0.0347
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
leader may not work. (Klement)
Solution: Save and restore did_ai. (Christian Brabandt, closes vim/vim#1494)
https://github.com/vim/vim/commit/d099e033703ce0772f152b8df8a763f0b65303ee
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Insert mode completion does not respect "start" in 'backspace'.
Solution: Check whether backspace can go before where insert started.
(Hirohito Higashi)
https://github.com/vim/vim/commit/190b04cdd936f4696c22466b7f077f9371d96580
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After using 'termopen("echo") the current buffer content is changed,
but the cursor position of the current window is not updated.
Because of this, a call to 'mb_adjust_cursor()' can lead to a
heap-buffer-overflow.
Fix this by resetting the cursor for the current window.
Fixes #3161
|
| | |
|
| |
| |
| |
| | |
Closes #3744
|
| |
| |
| |
| |
| |
| | |
The window may have closed already, then `curwin` should not be altered.
Closes #6204
|
| |
| |
| |
| |
| |
| | |
Problem: No testing for Farsi code.
Solution: Add a minimal test. Clean up Farsi code.
https://github.com/vim/vim/commit/ee2615af64fdcee87d8e4b13b65356e77fbd969b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a problem when filtering manually folded lines
When foldMarkAdjustRecurse() is called to adjust folds that start inside
the range of lines that are being moved and end outside that range, it
calculates `amount_after` for its recursive call incorrectly.
The calculation assumes that folds inside the changed range are being
deleted, but this is not always the case.
This means nested folds that start after the changed range of lines are
shifted an incorrect amount.
We fix this by calculating the `amount_after` differently if the folds
inside the changed range are not being deleted.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When using indent folding and changing indent the wrong fold is
opened. (Jonathan Fudger)
Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
https://github.com/vim/vim/commit/54b2bfa399017ebae76ed62f21578261d1b55c1f
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: An address relative to the current line, ":.,+3y", does not work
properly on a closed fold. (Efraim Yawitz)
Solution: Correct for including the closed fold. (Christian Brabandt)
https://github.com/vim/vim/commit/ded2782783f352201ac0b05c6dbe4831adb4a58b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's important that users have a single, easy-to-remember place for
reading about the API. So this commit changes gen_api_vimdoc.py so that
the generated section is appended to api.txt instead of creating
a separate document.
Also remove the section numbering and ToC: it's a maintenance cost, and
it will be unnecessary when #5169 is integrated.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
In terminal-mode these options are nonsense because cursor is placed at
end of buffer to "follow" output.
Closes #2259
|
| |
| |
| |
| |
| |
| | |
Let the terminal dictate the normal-mode cursor position. This will be
disorienting sometimes, but it is closer to what users expect vs always
going to the last line.
|
|\ \
| | |
| | | |
win/package: runtime files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
runtime/plugin/gui_shim.vim is from Neovim-Qt. This is a temporary
measure, we will add real UI events which obviate gui_shim.vim.
Closes #6145
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: When the window scrolls horizontally when the popup menu is
displayed part of it may not be cleared. (Neovim issue #6184)
Solution: Remove the menu when the windows scrolled. (closes vim/vim#1524)
Fixes #6184
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Man test fails when run with the GUI.
Solution: Adjust for different behavior of GUI. Add assert_inrange().
https://github.com/vim/vim/commit/61c04493b00f85d0b97436260a9ef9ab82143b78
Only changes related to assert_inrange() were included, since we have a
distinct man plugin.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Text object tests are old style.
Solution: Turn them into new style tests. (James McCoy, closes vim/vim#941)
https://github.com/vim/vim/commit/00b24be454800f544676aa8850fb4378a568901e
|
|\ \
| | |
| | | |
vim-patch:7.4.1991,7.4.1992,7.4.1993,7.4.1994
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: True-false test fails.
Solution: Filter the dict to only keep the value that matters.
https://github.com/vim/vim/commit/05e418d436410cd8bbf5a29ff81e8ad68408b1e8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Not all TRUE and FALSE arguments are tested.
Solution: Add a few more tests.
https://github.com/vim/vim/commit/6bb450145e96d7b182769fd9502a267da72667ec
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Values for true and false can be confusing.
Solution: Update the documentation. Add a test. Make v:true evaluate to
TRUE for a non-zero-arg.
https://github.com/vim/vim/commit/e381d3d5e098546854b008e01ca1d28ba1a4a057
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: glob() does not add a symbolic link when there are no wildcards.
Solution: Remove the call to mch_getperm().
https://github.com/vim/vim/commit/00efded1064427ab3f84e4d57af62e0aab876fc6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Default Vim behavior of i_CTRL-<Space> is to insert the last-inserted
text and exit insert mode. :help i_CTRL-@
Before this commit that did not happen because insert_handle_key()
checks for NUL instead of checking for ' ' with a CTRL `mod_mask`.
I'm leaving the check for NUL despite the fact that at the moment that
key is never seen when using the terminal UI (not for C-Space, nor C-@).
This is because I assume it's still allowed for other front-ends to pass
NUL, but at the moment the terminal UI isn't.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.0.0353
|
| | | |
| | | |
| | | |
| | | |
| | | | |
As reported by clang-scan, `length_modifier` is never read in any code path
following this branch. It is safe to remove.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`has_mbyte` is deprecated (globals.h), so `outputlen` is always assigned
within the if statement. Therefore, the previous initialization is
unnecessary.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
`enc_dbcs` and `enc_utf8` are deprecated (globals.h), so the second branch is
always taken.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As stated in globals.h, mbyte flags are deprecated, and code using it can be
refractored to remove dead code. Since has_mbyte is defined to true, this
refractoring correct.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`[RO]` is appended to the status line and `len` is increased with the length of
this string (4). However, the string is marked for translation and may
thus well be larger (or smaller) than 4. Therefore, we check the length at
runtime. The resulting len is never actually used, and thus could be removed.
However, by keeping this line, the body of this if-statement is kept consistent
with surrounding code, and future changes can not forget to add this line when
additional strings are added to p.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
vim-patch:7.4.2046
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: qf_init_ext() is too big.
Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e87e6dddc2b2a99572ec0db0833c052214c4fbd3
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Compiler warning for initializing a struct.
Solution: Initialize in another way. (Anton Lindqvist)
https://github.com/vim/vim/commit/bfafb4c4a01db3f8c508716daf689e0dfe92b649
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: The qf_init_ext() function is too big.
Solution: Refactor it. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/e0d3797664c59afc9705808f86a7cf00fd6d874d
|
| | | | | |
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Cannot get all information about a quickfix list.
Solution: Add an optional argument to get/set loc/qf list(). (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/d823fa910cca43fec3c31c030ee908a14c272640
|
|\ \ \ \
| | | | |
| | | | | |
Better b:changedtick support
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Avoids loosing b:changedtick value at `:bdelete`.
|
| | | | |
| | | | |
| | | | | |
Avoids use-after-free crashes when compiling with -DEXITFREE.
|
| | | | | |
|
| | | | | |
|