aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* fix(lsp): fix lookup of boolean values in workspace/configuration (#18026)Fredrik Ekre2022-04-15
|
* fix(api): correctly pass f-args for nvim_create_user_command (#18098)Gregory Anders2022-04-13
| | | | | Skip runs of whitespace and do not include `\` characters when followed by another `\` or whitespace. This matches the behavior of <f-args> when used with `:command`.
* test: unskip tests skipped in #14661zeertzjq2022-04-13
|
* vim-patch:8.2.4739: accessing freed memory after WinScrolled autocmd event ↵zeertzjq2022-04-12
| | | | | | | | (#18090) Problem: Accessing freed memory after WinScrolled autocmd event. Solution: Check the window pointer is still valid. (closes vim/vim#10156) Remove the argument from may_trigger_winscrolled(). https://github.com/vim/vim/commit/d58862d18f091d3c14fa3647e724ef7eea1ecefa
* test: properly test WinScrolled eventzeertzjq2022-04-12
|
* fix(events): make v:event readonly in more events (#18070)zeertzjq2022-04-11
| | | | | | | This makes v:event readonly in these four events: - ChanInfo - ChanOpen - RecordingLeave - TermClose
* Merge pull request #18071 from gpanders/create_ucGregory Anders2022-04-10
|\ | | | | refactor!: Rename nvim_add_user_command to nvim_create_user_command
| * refactor!: rename nvim_add_user_command to nvim_create_user_commandGregory Anders2022-04-10
| |
* | fix(tui)!: remove `ESC NUL` forced escape (#17198)zeertzjq2022-04-11
| | | | | | | | | | | | | | | | | | | | This make Nvim recognize `ESC NUL` as <M-C-Space>, as many terminal emulators (including libvterm) send <M-C-Space> as `ESC NUL`. There is already another unambiguous way to encode a `ESC` key supported by libtermkey: `ESC [ 2 7 u`, which is a `CSI u` sequence. If one still wants to use `ESC NUL` as `ESC`, they can just map <M-C-Space> to <Esc>.
* | feat(keymap): add F38-F63 keys (#17893)zeertzjq2022-04-11
|/
* feat(events): support SIGWINCH for Signal event #18029Loong Wang2022-04-10
| | | closes #15411
* vim-patch:8.2.4718: @@@ in the last line sometimes drawn in the wrong place ↵zeertzjq2022-04-10
| | | | | | | (#18055) Problem: @@@ in the last line sometimes drawn in the wrong place. Solution: Make sure the column is valid. (closes vim/vim#10130) https://github.com/vim/vim/commit/cee9c844f27bceaba90362a3fa27a04d4d06c0fd
* vim-patch:partial:8.1.2333: with modifyOtherKeys CTRL-^ doesn't work (#18048)zeertzjq2022-04-09
| | | | | Problem: With modifyOtherKeys CTRL-^ doesn't work. Solution: Handle the exception. https://github.com/vim/vim/commit/828ffd596394f714270a01a55fc3f949a8bd9b35
* Merge pull request #17971 from chentau/extmark_spellbfredl2022-04-08
|\ | | | | fix(extmarks): splice extmarks on accepting spell
| * fix(extmarks): splice extmarks on accepting spellTony Chen2022-04-02
| |
* | 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
| | |
* | | test: add a test for #16823zeertzjq2022-04-08
| | |
* | | 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.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
* | | 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
* | fix(autocmd): restore autocmd showing behaviorzeertzjq2022-04-06
| |
* | 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(tests): update legacy tab switch test to be sanebfredl2022-04-05
| | |
| * | 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
* | test: move completion :stopinsert test to completion_spec.lua (#17992)zeertzjq2022-04-04
| |
* | test: add some tests with :normal and Ex modezeertzjq2022-04-04
| |
* | [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>
* | 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.
* fix(input): do not translate scroll keys into multiclickszeertzjq2022-04-02
|
* 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
* 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
| * refactor(api)!: use singular/plural consistently in the autocmd APIGyörgy Andorka2022-03-31
| |
* | 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
* | | 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.
* | | 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