aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test: move completion :stopinsert test to completion_spec.lua (#17992)zeertzjq2022-04-04
|
* Merge pull request #17991 from zeertzjq/vim-8.2.4253zeertzjq2022-04-04
|\ | | | | vim-patch:8.2.4253: using freed memory when substitute with function call
| * 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.
* Merge pull request #17988 from zeertzjq/vim-8.2.4247zeertzjq2022-04-04
|\ | | | | vim-patch:8.2.{4247,4258}: stack corruption when looking for spell suggestions
| * 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
| * chore: update .git-blame-ignore-revsBrian Leung2022-04-03
| |
| * 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
* | Merge pull request #17986 from zeertzjq/fix-ex-mode-regressionzeertzjq2022-04-04
|\ \ | |/ |/| Fix regression with :normal and Ex mode from #14311
| * test: add some tests with :normal and Ex modezeertzjq2022-04-04
| |
| * 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.
* docs(options): add more missing 'nofoo' tags (#17967)Christian Clason2022-04-02
|
* docs(options): add missing 'nofoo' tags (#17965)Christian Clason2022-04-02
|
* 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
* Merge pull request #17961 from zeertzjq/scroll-no-multiclickbfredl2022-04-02
|\ | | | | fix(input): do not translate scroll keys into multiclicks
| * fix(input): do not translate scroll keys into multiclickszeertzjq2022-04-02
|/
* Merge pull request #17953 from zeertzjq/vim-8.2.4660zeertzjq2022-04-01
|\ | | | | vim-patch:8.2.4660: cursorcolumn is sometimes not correct
| * test: add a test for #13916zeertzjq2022-04-01
| |
| * 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
* Merge pull request #17948 from zeertzjq/vim-8.2.3471zeertzjq2022-04-01
|\ | | | | vim-patch:8.2.{3471,3472,3489}: fix some crashes/errors with search
| * 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
* Merge pull request #17946 from lewis6991/fixesbfredl2022-04-01
|\ | | | | Quick review fixes for autocmds and keymaps
| * fix(keymap): don't coerce false to ''Lewis Russell2022-04-01
| |
| * 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 #17842 from lewis6991/keymapbfredl2022-04-01
|\ | | | | feat(keymap): return nil from an expr keymap
| * feat(keymap): return nil from an expr keymapLewis Russell2022-03-24
| | | | | | | | | | For Lua callback expr keymaps, returning `nil` or `false` is equivalent to an empty string
* | Merge pull request #17938 from ggandor/autocmd-api-namesbfredl2022-04-01
|\ \ | | | | | | refactor(api)!: use singular/plural consistently in the autocmd API
| * | refactor(api)!: use singular/plural consistently in the autocmd APIGyörgy Andorka2022-03-31
| | |
* | | vim-patch:8.2.4658: org-mode files are not recognized (#17939)Christian Clason2022-03-31
| | | | | | | | | | | | | | | 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
* | | Merge pull request #17888 from dundargoc/ci/remove-reviewers-when-draftingJames McCoy2022-03-31
|\ \ \
| * | | ci: remove reviewers when drafting or closing a PRDundar Göc2022-03-27
| | | |
* | | | Merge pull request #17906 from dundargoc/test/skip-nvimlog-on-successJames McCoy2022-03-31
|\ \ \ \
| * | | | test: don't print NVIMLOG on successDundar Göc2022-03-29
| | | | |
* | | | | Merge pull request #17929 from lewis6991/autocmdbfredl2022-03-31
|\ \ \ \ \ | | | | | | | | | | | | fix(api): improve autocmd error handling
| * | | | | fix(api): improve autocmd error handlingLewis Russell2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - nvim_del_augroup_* now works with pcall - nvim_del_autocmd now errors for invalid ids
* | | | | | docs(extmark): fix nvim_buf_get_extmarks example (#17934)dundargoc2022-03-31
| | | | | |
* | | | | | feat(runtime): add query filetype (#17905)Christian Clason2022-03-31
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | used for Tree-sitter queries uses Lisp runtime files (in Lua to distinguish from upstream runtime files)