aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | Merge pull request #17786 from gpanders/autocmd-argsbfredl2022-04-08
| |\ \ \ | | | | | | | | | | feat(api)!: pass args table to autocommand callbacks
| | * | | feat(api)!: pass args table to autocommand callbacksGregory Anders2022-04-08
| | | | |
| * | | | vim-patch:8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaveszeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves. Solution: Don't set "need_start_insertmode" when already in Insert mode. (closes vim/vim#10116) https://github.com/vim/vim/commit/3a56b6d405fc0f1ca928b77382f97d0c552bea64
| * | | | vim-patch:8.2.3925: diff mode confused by NUL bytes (#18033)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Diff mode confused by NUL bytes. Solution: Handle NUL bytes differently. (Christian Brabandt, closes vim/vim#9421, closes vim/vim#9418) https://github.com/vim/vim/commit/06f6095623cfcc72da08748c058d13b465652fd4
| * | | | vim-patch:8.2.4704: using "else" after return or break increases indent (#18032)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "else" after return or break increases indent. Solution: Remove "else" and reduce indent. (Goc Dundar, closes vim/vim#10099) https://github.com/vim/vim/commit/f26c16144ddb27642c09f2cf5271afd163b36306
| * | | | vim-patch:8.2.4706: buffer remains active with WinClosed and tabpageszeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer remains active if a WinClosed event throws an exception when there are multiple tabpages. Solution: Ignore aborting() when closing the buffer. (closes vim/vim#10101) https://github.com/vim/vim/commit/6a06940f8ae7283999c83ccdf268540220573105
| * | | | vim-patch:8.2.4700: buffer remains active if WinClosed event throws an exceptionzeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer remains active if a WinClosed event throws an exception. Solution: Ignore aborting() when closing the buffer. (closes vim/vim#10097) https://github.com/vim/vim/commit/c947b9ae419114ebfef9725814ea41a466fcf879
| * | | | vim-patch:8.2.0004: get E685 and E931 if buffer reload is interruptedzeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Get E685 and E931 if buffer reload is interrupted. Solution: Do not abort deleting a dummy buffer. (closes vim/vim#5361) https://github.com/vim/vim/commit/a6e8f888e7fc31b8ab7233509254fb2e2fe4089f
| * | | | refactor(window): cherry-pick win_close_buffer() from Vim patch 8.1.1391zeertzjq2022-04-08
| | | | |
| * | | | vim-patch:8.2.4710: smart indenting does not work after completion (#18030)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Smart indenting does not work after completion. Solution: Set "can_si". (Christian Brabandt, closes vim/vim#10113, closes vim/vim#558) https://github.com/vim/vim/commit/ac72c21da696cf6c31630a9e5ff4c0d3e2049c11
| * | | | vim-patch:8.2.4708: PHP test files are not recognized (#18025)Christian Clason2022-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: PHP test files are not recognized. Solution: Add the *.phpt pattern. (Julien Voisin, closes vim/vim#10112) https://github.com/vim/vim/commit/177847e67a495f80a15b6dfd0a3fcd151b44249e
| * | | | vim-patch:8.2.4707: redrawing could be a bit more efficient (#18022)zeertzjq2022-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Redrawing could be a bit more efficient. Solution: Optimize redrawing. (closes vim/vim#10105) https://github.com/vim/vim/commit/8c9796085071950f9a03ca0fe116608e4f86aac2
| * | | | fix(event-loop): check if executed register has endedzeertzjq2022-04-07
| | | | |
| * | | | fix(input): fix clearing of reg_executingzeertzjq2022-04-07
| |/ / / | | | | | | | | | | | | vim-patch:8.2.4705
| * | | Merge pull request #17979 from zeertzjq/autocmd-show-fixbfredl2022-04-07
| |\ \ \ | | | | | | | | | | fix(autocmd): restore autocmd showing behavior
| | * | | fix(autocmd): restore autocmd showing behaviorzeertzjq2022-04-06
| | | | |
| * | | | vim-patch:8.2.4701: Kuka Robot Language files not recognized (#18012)Christian Clason2022-04-07
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Problem: Kuka Robot Language files not recognized. Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski, closes vim/vim#10096) https://github.com/vim/vim/commit/3ad2090316edc85e93094bba7af64f9991cc7f85
| * | | vim-patch:8.2.0836: not all :cdo output is visible (#18007)zeertzjq2022-04-06
| |/ / | | | | | | | | | | | | | | | | | | Problem: Not all :cdo output is visible. Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes vim/vim#6155) https://github.com/vim/vim/commit/14798ab9a5ee4b94f6c12f1986207569356acfc8 Cherry pick relevant changes form patches 8.1.1826 and 8.2.0557.
| * | vim-patch:8.2.4696: delete() with "rf" argument does not report a failure ↵zeertzjq2022-04-06
| | | | | | | | | | | | | | | | | | | | | (#18002) Problem: delete() with "rf" argument does not report a failure. Solution: Return -1 if the directory could not be removed. (closes vim/vim#10078) https://github.com/vim/vim/commit/478700336d1c72e133b8ff6841e968c1bb1658ed
| * | Merge pull request #18003 from bfredl/incperf2bfredl2022-04-05
| |\ \ | | | | | | | | fix(ui): inccomand performance degradation
| | * | fix(ui): inccomand performance degradationKillTheMule2022-04-05
| | | | | | | | | | | | | | | | It was broken since the introduction of the macro.
| * | | Merge pull request #17335 from famiu/fix/ui/win-resizebfredl2022-04-05
| |\ \ \ | | |/ / | |/| | fix: Make window resize commands manage cmdheight
| | * | fix(ui): make window resize commands manage cmdheightFamiu Haque2022-04-05
| | | | | | | | | | | | | | | | 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,4691,4690}: fix Insert mode <LeftDrag> mapping bug (#17999)zeertzjq2022-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | vim-patch:8.2.4687: "vimgrep /%v/ *" may cause a crash (#17995)zeertzjq2022-04-05
| |/ / | | | | | | | | | | | | | | | | | | 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
| * | refactor(pos.h): remove unused include; make formatting consistent (#17892)Miyelsh2022-04-04
| | | | | | | | | | | | - remove include of limit.h from pos.h, because it is no longer used - make formatting more consistent in pos.h
| * | refactor: pass "preview" to regtilde()zeertzjq2022-04-04
| | |
| * | vim-patch:8.2.4253: using freed memory when substitute with function callzeertzjq2022-04-04
| | | | | | | | | | | | | | | | | | | | | | | | 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.4258: Coverity warns for array overrunzeertzjq2022-04-04
| | | | | | | | | | | | | | | | | | Problem: Coverity warns for array overrun. Solution: Restrict depth to MAXWLEN - 1. https://github.com/vim/vim/commit/6970e1e36a1ecdb4d330d6ac9ca76f97fa515e36
| * | vim-patch:8.2.4247: stack corruption when looking for spell suggestionszeertzjq2022-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | test(old): fix test_spell.vim encodingzeertzjq2022-04-04
| | |
| * | test(old): fix test_regexp_latin.vim encoding (#17989)zeertzjq2022-04-04
| | | | | | | | | Cherry-pick a change from Vim patch 8.2.3982
| * | Merge pull request #17987 from leungbk/vim-patch-4402zeertzjq2022-04-04
| |\ \ | | | | | | | | vim-patch:8.2.{4639,4402}: missing parenthesis may cause unexpected problems
| | * | vim-patch:8.2.4402: missing parenthesis may cause unexpected problemsBrian Leung2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83
| | * | vim-patch:8.2.4639: not sufficient parenthesis in preprocessor macrosBrian Leung2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Not sufficient parenthesis in preprocessor macros. Solution: Add more parenthesis. https://github.com/vim/vim/commit/9dac9b1751dd43c02470cc6a2aecaeea27abcc80
| * | | fix(substitute): properly check for empty command linezeertzjq2022-04-04
| |/ /
| * | vim-patch:8.2.4672: using :normal with Ex mode may make :substitute hang ↵zeertzjq2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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.
| * | [RFC] vim-patch:8.1.1378: delete() can not handle a file name that looks ↵Shougo2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | vim-patch:8.1.1687: the evalfunc.c file is too big (#17949)Lewis Russell2022-04-03
| | | | | | | | | | | | | | | Problem: The evalfunc.c file is too big. Solution: Move testing support to a separate file. https://github.com/vim/vim/commit/ecaa70ea29c269dd0dabd3cd5acdfa0ce42ccd54
| * | fix(ex_normal): spam \n in Ex mode only if in Cmdline mode (#17977)zeertzjq2022-04-03
| |/ | | | | | | | | 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.
| * vim-patch:8.2.4664: Elvish files are not recognized (#17963)Christian Clason2022-04-02
| | | | | | | | | | 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 multiclickszeertzjq2022-04-02
| |
| * vim-patch:8.2.4660: cursorcolumn is sometimes not correctzeertzjq2022-04-01
| | | | | | | | | | | | | | 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.3489: ml_get error after search with rangezeertzjq2022-04-01
| | | | | | | | | | | | 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
| * vim-patch:8.2.3472: other crashes with empty search pattern not testedzeertzjq2022-04-01
| | | | | | | | | | | | 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
| * vim-patch:8.2.3471: crash when using CTRL-T after an empty search patternzeertzjq2022-04-01
| | | | | | | | | | | | 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
| * fix(api): delete all autocmds with the same IDLewis Russell2022-04-01
| |
| * refactor: remove redundant check for w_p_cole (#17944)zeertzjq2022-04-01
| | | | | | No longer needed after #17890.
| * vim-patch:8.2.3122: with 'nowrap' cursor position is unexected in narrow ↵zeertzjq2022-04-01
| | | | | | | | | | | | | | | | 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
| * Merge pull request #17938 from ggandor/autocmd-api-namesbfredl2022-04-01
| |\ | | | | | | refactor(api)!: use singular/plural consistently in the autocmd API