aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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)
* | | | | Merge pull request #17698 from tjdevries/nvim_clear_autocmdbfredl2022-03-31
|\ \ \ \ \ | | | | | | | | | | | | api: nvim_clear_autocmd
| * | | | | feat(api): nvim_clear_autocmdTJ DeVries2022-03-31
|/ / / / / | | | | | | | | | | | | | | | Co-authored-by: Christian Clason <christian.clason@uni-due.de>
* | | | | Merge pull request #17890 from zeertzjq/conceal-virtcol-changedbfredl2022-03-31
|\ \ \ \ \ | |/ / / / |/| | | | perf: only redraw concealed line if cursor has moved horizontally
| * | | | perf: only redraw concealed line if cursor has moved horizontallyzeertzjq2022-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | Building upon #17889, this moves conceal redrawing logic into move.c, so that concealed line is only redrawn if cursor has moved horizontally.
| * | | | revert: "Fix redraw regression with w_p_cole in visual mode"zeertzjq2022-03-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the code change from b7d6caaa036c3d1be716bb6e4b0f56c08fb8dcf5. The test is kept. The glitch was fixed by #17864, so this workaround is no longer needed.
* | | | | Merge pull request #17925 from zeertzjq/vim-8.2.1844zeertzjq2022-03-31
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{1844,2515,4156,4200,4577}: messages patches
| * | | | | vim-patch:8.2.4577: message test is flakyzeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Message test is flaky. (Elimar Riesebieter) Solution: Trigger the autocommand event only after startup is finished. https://github.com/vim/vim/commit/9323ca51c2b1522f26907a7b8879067245ebd1be
| * | | | | vim-patch:8.2.4200: some tests do not clean up properlyzeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | vim-patch:8.2.4156: fileinfo message overwrites echo'ed messagezeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | vim-patch:8.2.2515: memory access error when truncating an empty messagezeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | vim-patch:8.2.1844: using "q" at the more prompt doesn't stop a long messagezeertzjq2022-03-31
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | vim-patch:8.2.4645: 'shortmess' changed when session does not store options ↵zeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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
* | | | | fix: correct vertical dragging room calculation with global statusline (#17928)zeertzjq2022-03-31
| | | | | | | | | | | | | | | | | | | | This fixes the bug that win_move_statusline() or mouse dragging cannot reduce 'cmdheight' to 1 when global statusline is used.
* | | | | feat(treesitter): add more default groups to highlight map (#17835)Gregory Anders2022-03-30
| | | | | | | | | | | | | | | This covers some default groups listed in :h group-name.
* | | | | docs(lsp): remove outdated offset_encoding default value for apply_text_editsAndrea Cappuccio2022-03-30
| | | | |
* | | | | fix: set nested before executing callback (#17801)TJ DeVries2022-03-30
| | | | |
* | | | | Merge pull request #17921 from zeertzjq/vim-8.2.4649zeertzjq2022-03-30
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{4349,4649}
| * | | | | vim-patch:8.2.4649: various formatting problemszeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Various formatting problems. Solution: Improve the code formatting. https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
| * | | | | vim-patch:8.2.4349: FileChangedShell test fails on MS-Windowszeertzjq2022-03-30
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: FileChangedShell test fails on MS-Windows. Solution: Skip the test on MS-Windows. https://github.com/vim/vim/commit/c9e3187d053dcef03d11915b06be0c78ab45bc75
* | | | | vim-patch:46eea444d (#17920)dundargoc2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/46eea444d992c2ae985cabb775a5d283f8e16df3 Skip repeat.txt as it only has vim9-specific changes.
* | | | | Merge pull request #17773 from zeertzjq/vim-8.2.3110zeertzjq2022-03-30
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{3110,4592}: a pattern that matches the cursor position is complicated
| * | | | | vim-patch:8.2.4592: search continues after giving E1204zeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Search continues after giving E1204. Solution: Return failure after giving E1204. (closes vim/vim#9972) https://github.com/vim/vim/commit/b10ff5c1b3581ed4990d196bed51b4a8f961e8a2
| * | | | | docs(pattern.txt): cherry-pick latests changes from Vim runtime updateszeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f Update runtime files https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f Update runtime files https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b Update runtime files. https://github.com/vim/vim/commit/a2baa73d1d33014adea0fd9567949089ca21a782
| * | | | | vim-patch:8.2.3110: a pattern that matches the cursor position is complicatedzeertzjq2022-03-30
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | vim-patch:8.1.0439: recursive use of getcmdline() still not protected (#17726)zeertzjq2022-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.