| Commit message (Collapse) | Author | Age |
... | |
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: Org-mode files are not recognized.
Solution: Add patterns to recognize "org" files. (closes vim/vim#10046)
https://github.com/vim/vim/commit/3a6f952cc87065a4cf1f6502b2054ba99fdf45ed
|
| |\ \
| | | |
| | | | |
fix(api): improve autocmd error handling
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- nvim_del_augroup_* now works with pcall
- nvim_del_autocmd now errors for invalid ids
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
|
| |\ \
| | |/
| |/| |
perf: only redraw concealed line if cursor has moved horizontally
|
| | |
| | |
| | |
| | |
| | | |
Building upon #17889, this moves conceal redrawing logic into move.c, so
that concealed line is only redrawn if cursor has moved horizontally.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Revert the code change from b7d6caaa036c3d1be716bb6e4b0f56c08fb8dcf5.
The test is kept.
The glitch was fixed by #17864, so this workaround is no longer needed.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Message test is flaky. (Elimar Riesebieter)
Solution: Trigger the autocommand event only after startup is finished.
https://github.com/vim/vim/commit/9323ca51c2b1522f26907a7b8879067245ebd1be
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some tests do not clean up properly.
Solution: Delete created files. (Yegappan Lakshmanan, closes vim/vim#9611)
https://github.com/vim/vim/commit/7e765a39b795d5331bf2d4927b41df7b78915af9
Omit test_filetype.vim: already ported
Omit test_vim9_import.vim: N/A
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Fileinfo message overwrites echo'ed message.
Solution: Reset need_fileinfo when displaying a message. (Rob Pilling,
closes vim/vim#9569)
https://github.com/vim/vim/commit/726f7f91fd17e3e7eb39614a20d10ea83c134df0
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Memory access error when truncating an empty message.
Solution: Check for an empty string. (Dominique Pellé, closes vim/vim#7841)
https://github.com/vim/vim/commit/6281815eccc3ded54960f7798833ceb39561b9a0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using "q" at the more prompt doesn't stop a long message.
Solution: Check for "got_int". (closes vim/vim#7122)
https://github.com/vim/vim/commit/3d30af8783bf43fbfece641ec81ad8d2f01b3735
Cherry-pick file name change from patch 8.2.2112.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#17908)
Problem: 'shortmess' changed when session does not store options.
Solution: Save and restore 'shortmess' if needed. (James Charti,
closes vim/vim#10037)
https://github.com/vim/vim/commit/fd01280d01c2270a320d8c962d24140a8176a400
|
| | |
| | |
| | |
| | | |
This fixes the bug that win_move_statusline() or mouse dragging cannot
reduce 'cmdheight' to 1 when global statusline is used.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Various formatting problems.
Solution: Improve the code formatting.
https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: FileChangedShell test fails on MS-Windows.
Solution: Skip the test on MS-Windows.
https://github.com/vim/vim/commit/c9e3187d053dcef03d11915b06be0c78ab45bc75
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Search continues after giving E1204.
Solution: Return failure after giving E1204. (closes vim/vim#9972)
https://github.com/vim/vim/commit/b10ff5c1b3581ed4990d196bed51b4a8f961e8a2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: A pattern that matches the cursor position is bit complicated.
Solution: Use a dot to indicate the cursor line and column. (Christian
Brabandt, closes vim/vim#8497, closes vim/vim#8179)
https://github.com/vim/vim/commit/04db26b36000a4677b95403ec94bd11f6cc73975
Also use `n = ++vcol` in regexp_bt.c as `++vcol` alone fails lint.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Recursive use of getcmdline() still not protected.
Solution: Instead of saving the command buffer when making a call which may
cause recursiveness, save the buffer when actually being called
recursively.
https://github.com/vim/vim/commit/438d176e35c16d56ff3bb7a80300197ce5a30c4f
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Clear ccline earlier in save_cmdline() if ccline is in use so that
ccline.prev_ccline can be assigned.
|
| | |
| | |
| | |
| | |
| | | |
Problem: Using buffer line after it has been freed in old regexp engine.
Solution: After getting mark get the line again.
https://github.com/vim/vim/commit/b55986c52d4cd88a22d0b0b0e8a79547ba13e1d5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#17914)
Problem: Coverity warns for not checking return value of ftell().
Solution: Bail out if ftell() returns a negative value.
https://github.com/vim/vim/commit/416b5f4894196947ea87eea2ed4fda3504674f72
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: Sort fails if the sort compare function returns 999.
Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes vim/vim#8884)
https://github.com/vim/vim/commit/c04f62346bfd6b92151908239a3c5ab1a7d18f2a
|
| | |
| | |
| | |
| | |
| | | |
Problem: Checking first character of url twice.
Solution: Only check once. (closes vim/vim#9026)
https://github.com/vim/vim/commit/94e7d345c156a722bb161b73238c4ba1d27ec586
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Redrawing too often when 'relativenumber' is set.
Solution: Only redraw when the cursor line changed. (Lewis Russell,
closes vim/vim#10040)
https://github.com/vim/vim/commit/1624639ec8a6c3c99e417a2990f2f02f0d0b6e10
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Some boolean options use "long" instead of "int".
Solution: Adjust the type. (James McCoy, closes vim/vim#10033)
https://github.com/vim/vim/commit/8be423b7ac3b5742deb20a7eba8f5c9680c04500
N/A patches for version.c:
vim-patch:8.2.4641: may mark the wrong window for redrawing
Problem: May mark the wrong window for redrawing.
Solution: Use redraw_win_later(). (closes vim/vim#10032)
https://github.com/vim/vim/commit/471b3aed3e9c43d4dd53444ceb74f9a4f8a3874a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
"screenline"
Problem: 'cursorline' not always updated with 'cursorlineopt' is
"screenline".
Solution: Call check_redraw_cursorline() more often. (closes vim/vim#10013)
https://github.com/vim/vim/commit/bf269ed0b0bd8414eea7bea17465b2738a9a2b55
Code was reverted in patch 8.2.4638, so this just ports the test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Superfluous check if a redraw is needed for 'cursorline'.
Solution: Remove check_redraw_cursorline(). (closes vim/vim#10030, closes vim/vim#10029)
https://github.com/vim/vim/commit/3e559cd88486ffab6b6fb4e0921b4600d137a617
redraw_after_callback() is N/A.
Omits changes that just revert code from patch 8.2.4630.
|
| |
| |
| |
| |
| |
| |
| |
| | |
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.
Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071
|
| |
| |
| | |
Since https://github.com/neovim/neovim/pull/17790 being merged means we can assume the value of `STATUS_HEIGHT` to always be 1, this commit removes code that's unnecessary if `STATUS_HEIGHT` is 1.
|
| |
| |
| |
| | |
Avoid closing window 999 times.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Crash when switching window in BufWipeout autocommand.
Solution: Put any buffer in the window to avoid it being NULL.
(closes vim/vim#10024)
https://github.com/vim/vim/commit/347538fad0c503249ebdedd5884c2081257c9f61
win_init_empty() cannot be made static because it is used in autocmd.c
|
| |
| |
| | |
according to established code standards (`:h dev-api`)
|
| |\
| | |
| | | |
vim-patch:8.2.3943: compiler warning from gcc for uninitialized variable
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler warning from gcc for uninitialized variable.
Solution: Initialize variable. (closes vim/vim#9429)
https://github.com/vim/vim/commit/491669701c72578f273db53e579d8a03a9deac0c
|
| |/
| |
| | |
also add doc changes from typofix PR
|
| |\
| | |
| | | |
vim-patch:8.2.{4281,4327}: fix two crashes with quickfix and wiping buffer
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: May end up with no current buffer.
Solution: When deleting the current buffer to not pick a quickfix buffer as
the new current buffer.
https://github.com/vim/vim/commit/e3537aec2f8d6470010547af28dcbd83d41461b8
The test cannot be ported as-is because Nvim doesn't support "-Z"
command line argument. Just use only "--clean" instead.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using freed memory with :lopen and :bwipe.
Solution: Do not use a wiped out buffer.
https://github.com/vim/vim/commit/9b4a80a66544f2782040b641498754bcb5b8d461
Cherry-pick some indent changes from patch 8.2.1432.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
mode (#17864)
Problem: Visual area not fully updated when removing sign in Visual mode
while scrolling.
Solution: Adjust check for topline. (closes vim/vim#10017)
https://github.com/vim/vim/commit/abb6fbd14d985b9b36a4e336d6edaf9853888ac1
|
| |
| |
| |
| |
| |
| | |
Problem: Autocmd not executed when editing a directory ending in a path
separator inside try block.
Solution: Return NOTDONE instead of FAIL. (closes vim/vim#8885)
https://github.com/vim/vim/commit/40fa12aea352474d229f2f750e954a4318aead4e
|
| | |
|
| |
| |
| |
| | |
Co-authored-by: Jordan Haine <jhaine@securitycompass.com>
|
| |
| |
| | |
[skip ci]
|