| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \
| |/ / /
|/| | | |
fix: Make window resize commands manage cmdheight
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Previously, the window resize commands did not resize the value of `cmdheight` when they caused a change in the topframe height, leaving a gap between the end of topframe and the start of the command line, this commit fixes that by making window resize commands automatically change the value of cmdheight if the resize affects the height of topframe.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
vim-patch:8.2.4692: no test for what 8.2.4691 fixes
Problem: No test for what 8.2.4691 fixes.
Solution: Add a test. Use a more generic sotlution. (closes vim/vim#10090)
https://github.com/vim/vim/commit/0f68e6c07aaf62c034a242f183b93c1bb44e7f93
Test cannot be used because it must use test_setmouse(). Use a Lua test.
Reverted patches:
vim-patch:8.2.4691: solution for <Cmd> in a mapping causes trouble
Problem: Solution for <Cmd> in a mapping causes trouble.
Solution: Use another solution: put back CTRL-O after reading the <Cmd>
sequence.
https://github.com/vim/vim/commit/ca9d8d2cb9fc6b9240f2a74ccd36f9d966488294
vim-patch:8.2.4689: using <Cmd> in a mapping does not work for mouse keys
Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
mode. (Sergey Vlasov)
Solution: When reading the <Cmd> argument do not use the stuff buffer.
(closes vim/vim#10080)
https://github.com/vim/vim/commit/d0fb2d804183c2786578b4c32ba5b92938f93d0e
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: "vimgrep /\%v/ *" may cause a crash.
Solution: When compiling the pattern with the old engine fails, restore the
regprog of the new engine instead of leaving it NULL.
(closes vim/vim#10079)
https://github.com/vim/vim/commit/e8a4c0d91f89544e4f94b7bd612b5fb780944c33
|
| | |
| | |
| | |
| | | |
- remove include of limit.h from pos.h, because it is no longer used
- make formatting more consistent in pos.h
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.4253: using freed memory when substitute with function call
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
https://github.com/vim/vim/commit/37f47958b8a2a44abc60614271d9537e7f14e51a
'compatible' doesn't seem needed for the test.
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{4247,4258}: stack corruption when looking for spell suggestions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Coverity warns for array overrun.
Solution: Restrict depth to MAXWLEN - 1.
https://github.com/vim/vim/commit/6970e1e36a1ecdb4d330d6ac9ca76f97fa515e36
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Stack corruption when looking for spell suggestions.
Solution: Prevent the depth increased too much. Add a five second time
limit to finding suggestions.
https://github.com/vim/vim/commit/06f15416bb8d5636200a10776f1752c4d6e49f31
Cherry-pick parentheses from patch 8.2.4402.
|
|/ / / |
|
| | |
| | |
| | | |
Cherry-pick a change from Vim patch 8.2.3982
|
|\ \ \
| | | |
| | | | |
vim-patch:8.2.{4639,4402}: missing parenthesis may cause unexpected problems
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros.
https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis.
https://github.com/vim/vim/commit/9dac9b1751dd43c02470cc6a2aecaeea27abcc80
|
|\ \ \ \
| |/ / /
|/| | | |
Fix regression with :normal and Ex mode from #14311
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#17983)
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes vim/vim#10070)
https://github.com/vim/vim/commit/ce416b453a849c837f9f6ffc91dd4792d84e1bfd
Cherry-pick a comment from patch 8.2.0363.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
li… (#16268)
Problem: Delete() can not handle a file name that looks like a pattern.
Solution: Use readdir() instead of appending "/*" and expanding wildcards.
(Ken Takata, closes vim/vim#4424, closes vim/vim#696)
https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
Cherry-pick a change to Test_delete_rf() from patch 8.1.1921.
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
| | |
| | |
| | |
| | |
| | | |
Problem: The evalfunc.c file is too big.
Solution: Move testing support to a separate file.
https://github.com/vim/vim/commit/ecaa70ea29c269dd0dabd3cd5acdfa0ce42ccd54
|
|/ /
| |
| |
| |
| | |
When using :normal in Ex mode, the editor is no longer in Cmdline mode,
but the exmode_active flag is still set, causing the wrong character to
be spammed in Insert mode, leading to a hang.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Problem: Elvish files are not recognized.
Solution: Recognize .elv files. (Bruno Roque, closes vim/vim#10058)
https://github.com/vim/vim/commit/c1658a196bb05dd96562fd0a92409be2201b62e9
|
|\ \
| | |
| | | |
fix(input): do not translate scroll keys into multiclicks
|
|/ / |
|
|\ \
| | |
| | | |
vim-patch:8.2.4660: cursorcolumn is sometimes not correct
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: Cursorcolumn is sometimes not correct.
Solution: Recompute the cursor column when entering Insert mode and the
cursor is on a character wider than a screen cell.
https://github.com/vim/vim/commit/782c6744b49b30d9460ed00d4773666e42e07163
|
|\ \
| | |
| | | |
vim-patch:8.2.{3471,3472,3489}: fix some crashes/errors with search
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: ml_get error after search with range.
Solution: Limit the line number to the buffer line count.
https://github.com/vim/vim/commit/35a319b77f897744eec1155b736e9372c9c5575f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Other crashes with empty search pattern not tested.
Solution: Add a few more test lines. (Dominique Pellé)
https://github.com/vim/vim/commit/9af9fd6ab637ea507dd9015fa5a84a408c36c1e0
|
|/ /
| |
| |
| |
| |
| | |
Problem: Crash when using CTRL-T after an empty search pattern.
Solution: Bail out when there is no previous search pattern. (closes vim/vim#8953)
https://github.com/vim/vim/commit/d8d957de86f218de9124ca1209548f8c6f61b69b
|
|\ \
| | |
| | | |
Quick review fixes for autocmds and keymaps
|
| | | |
|
|/ / |
|
| |
| |
| | |
No longer needed after #17890.
|
| |
| |
| |
| |
| |
| |
| |
| | |
window (#17935)
Problem: With 'nowrap' cursor position is unexected in narrow window.
(Leonid V. Fedorenchik)
Solution: Put cursor on the last non-empty line. (closes vim/vim#8525)
https://github.com/vim/vim/commit/30441bb3d5fa73f888b09684db3f54ff5ab48dbc
|
|\ \
| | |
| | | |
feat(keymap): return nil from an expr keymap
|
| | |
| | |
| | |
| | |
| | | |
For Lua callback expr keymaps, returning `nil` or `false` is equivalent
to an empty string
|
|\ \ \
| | | |
| | | | |
refactor(api)!: use singular/plural consistently in the autocmd API
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | | |
|