| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
Problem: CTRL-I in Insert mode is not tested
Solution: Add a test case. (Dominique Pellé, closes vim/vim#8866)
https://github.com/vim/vim/commit/9cd063e3195a4c250c8016fa340922ab21fda252
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3
This patch is N/A as it only applies to non-UTF-8 encoding.
|
| |
| |
| |
| |
| |
| | |
Problem: Some option related code not covered by tests.
Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8552)
https://github.com/vim/vim/commit/042414fa0053388f9a35cad61886405507554068
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various code is not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8378)
https://github.com/vim/vim/commit/2d6d718dde7163c971d37b8f4f1ed8f2d25de130
Nvim does not support encoding=latin1 or compatible mode.
The two paste tests are applicable.
|
| |
| |
| |
| |
| |
| | |
Problem: Not all options code is covered by tests.
Solution: Add more tests for options. (Yegappan Lakshmanan, closes vim/vim#8369)
https://github.com/vim/vim/commit/5958549760652c173b703613b9cbf09b25a4eddb
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Various code not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6049)
https://github.com/vim/vim/commit/0ff5dedf0f69e56320199db7a2aad46be2a1f9b7
Nvim does not support encoding=latin1 or setting keycodes/termcaps.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: The do_set() function is much too long.
Solution: Move setting of a string option to a separate function.
https://github.com/vim/vim/commit/4740394f230dda09d6e9337465305741d8ee4fa3
Cherry-pick some tests from Vim patch 8.2.0540.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Going over the end of the typahead.
Solution: Put a NUL after the typeahead.
https://github.com/vim/vim/commit/27efc62f5d86afcb2ecb7565587fe8dea4b036fe
check_termcode() is N/A.
|
| |
| |
| |
| |
| |
| |
| | |
well (#20266)
Problem: When at the command line :redrawstatus does not work well.
Solution: Only update the statuslines instead of the screen. (closes vim/vim#11180)
https://github.com/vim/vim/commit/320d910064320f894a09ffdd1cd800ff5371e97f
|
| |
| |
| |
| | |
Some V512 warnings have changed to V1086, and PVS apparently does not
know `uv_run()` can change `*timeout_expired`.
|
| |\
| | |
| | | |
refactor(message): remove unused function
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: Unnecessary scrolling for message of only one line.
Solution: Only set msg_scroll when needed. (closes vim/vim#11178)
https://github.com/vim/vim/commit/bdedd2bcce3a59028c7504a397ff77d901b1b12a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot redraw the status lines when editing a command.
Solution: Only postpone the redraw when messages have scrolled.
(closes vim/vim#11170)
https://github.com/vim/vim/commit/c14bfc31d907cbee6a3636f780561ad1787cdb9b
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Command line cleared when using :redrawstatus in CmdlineChanged
autocommand event.
Solution: Postpone the redraw. (closes vim/vim#11162)
https://github.com/vim/vim/commit/bcd6924245c0e73d8be256282656c06aaf91f17c
Cherry-pick Test_redraw_in_autocmd() from Vim patch 8.2.4789.
|
| |
| |
| |
| |
| | |
Problem: Chatito files are not recognized.
Solution: Add a pattern for Chatito files. (closes vim/vim#11174)
https://github.com/vim/vim/commit/7c046ae99ba85a4fdf1a546157e2ed6f12b79ea6
|
| |
| |
| |
| |
| |
| |
| | |
buffer (#20258)
Problem: Confusing error for "saveas" command with "nofile" buffer.
Solution: Give a clearer error message. (closes vim/vim#11171)
https://github.com/vim/vim/commit/500a1f9972afa354f0bc77bc535aabf9f5f0116d
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Problem: LyRiCs files are not recognized.
Solution: Add a pattern to detect LyRiCs files. (closes vim/vim#11155)
https://github.com/vim/vim/commit/65ee49decf5677690cd695d5d288e39344965fff
|
| |\
| | |
| | | |
fix(events): make CursorHold behave as documented
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes vim/vim#3932)
https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
|
| |
| |
| |
| |
| | |
Problem: Line number of option set by modeline is wrong.
Solution: Do not double the line number. (Ozaki Kiichi, closes vim/vim#6035)
https://github.com/vim/vim/commit/5125874951669944a5f6a4163d6e5d437ae6321e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#20225)
Problem: Illegal memory access when replacing in virtualedit mode.
Solution: Check for replacing NUL after Tab.
https://github.com/vim/vim/commit/c249913edc35c0e666d783bfc21595cf9f7d9e0d
Cherry-pick Test_virtualedit_mouse() from patch 9.0.0177.
|
| |
| |
| |
| | |
Mouse movement events usually have no effect, so passing "move" to
nvim_input_mouse() works in most cases.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#20220)
vim-patch:9.0.0479: in :def function all closures in loop get the same variables
Problem: In a :def function all closures in a loop get the same variables.
Solution: Use a separate list of variables for LOADOUTER and SAVEOUTER.
https://github.com/vim/vim/commit/1aea184a0dc558a222cc5bcbaad9ab0fd700c7b9
(note: patch description is wrong)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BREAKING CHANGE: When using a Funcref converted from a Lua function as
a method in Vim script, the result of the base expression is now passed
as the first argument instead of being ignored.
vim-patch:8.2.5117: crash when calling a Lua callback from a :def function
Problem: Crash when calling a Lua callback from a :def function. (Bohdan
Makohin)
Solution: Handle FC_CFUNC in call_user_func_check(). (closes vim/vim#10587)
https://github.com/vim/vim/commit/7d149f899d423b7bf2b90d7b11ebe3e560c462b9
|
| |
| |
| | |
Support was added in https://invent.kde.org/utilities/konsole/-/commit/76f879cd70fb494ab2334d2660b34679546f3d9d
|
| |
| |
| |
| |
| |
| |
| | |
substitute() (#20216)
Problem: Varargs does not work for replacement function of substitute().
Solution: Check the varargs flag of the function. (closes vim/vim#11142)
https://github.com/vim/vim/commit/48db5dafecacced4a9e42de3f92838b2d59beb4c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#20214)
Problem: The funcexe_T struct members are not named consistently.
Solution: Prefix "fe_" to all the members.
https://github.com/vim/vim/commit/851f86b951cdd67ad9cf3149e46169d1375c8d82
Omit fe_check_type: always NULL in legacy Vim script.
|
| | |
|
| |\
| | |
| | | |
fix(messages): do not crash on cmdheight=0 and g< redisplay
|
| | |
| | |
| | |
| | | |
fixes #20153
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: ERROR_UNKNOWN clashes on some systems.
Solution: Rename ERROR_ to FCERR_. (Ola Söder, closes vim/vim#5415)
https://github.com/vim/vim/commit/ef140544f6703a7a4c0f6a15f610508ed6b09e89
Remove ERROR_BOTH which was removed from Vim in patch 7.4.1582.
|
| |\
| | |
| | | |
feat(ui): use msg_grid based implementation for cmdheight=0
|
| | | |
|
| | | |
|
| |/ |
|
| |
| |
| | |
update man file to match
|
| |\
| | |
| | | |
fix: assertion failure when requiring missing module in autocmd
|
| | |
| | |
| | |
| | | |
Closes https://github.com/neovim/neovim/issues/15348
|
| | |
| | |
| | | |
Taken from #20187.
|
| |\ \
| | | |
| | | | |
fix(lua): make vim.str_utfindex and vim.str_byteindex handle NUL bytes
|
| | | |
| | | |
| | | |
| | | | |
fixes #16290
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Substitute prompt does not highlight an empty match.
Solution: Highlight at least one character.
https://github.com/vim/vim/commit/a04f457a6c071179bac4088c9314007d39d5c5e0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Function called at debug prompt is also debugged.
Solution: Reset the debug level while entering the debug command.
(closes vim/vim#11118)
https://github.com/vim/vim/commit/b1842de5ca77205993e8ef76cf29803822e0e3ab
|
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
string (#20168)
Problem: There is no easy way to translate a string with a key code into a
readable string.
Solution: Add the keytrans() function. (closes vim/vim#11114)
https://github.com/vim/vim/commit/cdc839353f68ca43db6446e1b727fc7ba657b738
vim-patch:7b2d87220c6c
Add missing part of patch
https://github.com/vim/vim/commit/7b2d87220c6c974d5cdae672b6f9620a6bcbd1dc
|