aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| * feat(mapset): support restoring "replace_keycodes" and "desc"zeertzjq2022-08-01
| |
| * test: fix api/keymap_spec.lua testszeertzjq2022-08-01
| |
| * vim-patch:8.2.0815: maparg() does not provide enough information for mapset()zeertzjq2022-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: maparg() does not provide enough information for mapset(). Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified" https://github.com/vim/vim/commit/9c65253fe702ea010afec11aa971acd542c35de2 vim-patch:9.0.0127: unused variable Problem: Unused variable. Solution: Remove the variable. (closes vim/vim#10829) https://github.com/vim/vim/commit/e95f22f63a1871b91e5508088e5ae4905ce28cd7
| * feat(api): add replace_keycodes to nvim_set_keymap (#19598)ii142022-08-01
| |
| * fix(session): respect sessionoptions=terminal #19497Gustavo Sampaio2022-08-01
| | | | | | | | | | fixes #13078 Co-authored-by: Yuta Katayama <8683947+yutkat@users.noreply.github.com>
| * fix(highlight): add missing 'nocombine' to nvim_get_hl_* apis (#19586)Munif Tanjim2022-07-31
| |
| * cmdheight=0: fix bugs part2 (#19185)Shougo2022-07-31
| |
| * test: rewrite Test_missing_attr() in Luazeertzjq2022-07-31
| |
| * fix(terminal): avoid reading over the end of cell.chars (#19580)zeertzjq2022-07-30
| |
| * fix(screen): check for col instead of vcol when drawing fold (#19572)zeertzjq2022-07-29
| |
| * vim-patch:9.0.0099: scrollback can be wrong after redrawing the command line ↵zeertzjq2022-07-28
| | | | | | | | | | | | | | (#19562) Problem: Scrollback can be wrong after redrawing the command line. Solution: Clear unfinished scrollback when redrawing. (closes vim/vim#10807) https://github.com/vim/vim/commit/46af7bc08debbf408d025680eeef136fb3b528ef
| * vim-patch:9.0.0090: no error when assigning bool to a string option (#19539)zeertzjq2022-07-27
| | | | | | | | | | Problem: No error when assigning bool to a string option with setwinvar(). Solution: Give an error (closes vim/vim#10766) https://github.com/vim/vim/commit/28f84e17b068daca2635692d279930dcb7a150d0
| * fix(options): properly free string options (#19510)zeertzjq2022-07-27
| |
| * vim-patch:9.0.0086: tabline is not redrawn when entering command linezeertzjq2022-07-27
| | | | | | | | | | | | Problem: Tabline is not redrawn when entering command line. Solution: Set "redraw_tabline". (closes vim/vim#10771) https://github.com/vim/vim/commit/6791adca53981666f0cf23e264e102b795224044
| * vim-patch:9.0.0082: cannot interrupt global command from command linezeertzjq2022-07-27
| | | | | | | | | | | | Problem: Cannot interrupt global command from command line. Solution: Reset got_int in another place. (closes vim/vim#10739) https://github.com/vim/vim/commit/3cfae39b087c2724991d385e5e8ee7d011aa8e99
| * vim-patch:9.0.0051: using CTRL-C wih :append may hang Vimzeertzjq2022-07-27
| | | | | | | | | | | | Problem: Using CTRL-C wih :append may hang Vim. Solution: Reset got_int. (closes vim/vim#10729, closes vim/vim#10728) https://github.com/vim/vim/commit/f754fe6a3d5384b5146c38a32db6da9d46e00c40
| * fix(cmdline): trigger CmdlineEnter and ModeChanged earlier (#19474)zeertzjq2022-07-26
| | | | | | | | Match Vim's ordering in code. These tests are unrelated to ext_cmdline. Move them out of that block.
| * vim-patch:9.0.0071: command overlaps with printed text in scrollback (#19505)zeertzjq2022-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command overlaps with printed text in scrollback. Solution: Clear until end-of-line and use correct message chunk. (closes vim/vim#10765, closes vim/vim#10764) https://github.com/vim/vim/commit/ecdc82e74e6a7e73d9067ece1d5eac33abfde5ed N/A patches for version.c: vim-patch:9.0.0070: using utfc_ptr2char_len() when length is negative Problem: Using utfc_ptr2char_len() when length is negative. Solution: Check value of length. (closes vim/vim#10760) https://github.com/vim/vim/commit/4dc513a22c017b3061287deac74fa55f70a3214c
| * vim-patch:8.2.5155: in diff mode windows may get out of synczeertzjq2022-07-25
| | | | | | | | | | | | Problem: In diff mode windows may get out of sync. (Gary Johnson) Solution: Avoid that the other window scrolls for 'cursorbind'. https://github.com/vim/vim/commit/a315ce1f326b836167ca8b1037dafd93eb8d4d4e
| * test: improve some input testszeertzjq2022-07-25
| |
| * fix(input): do no reinterpret mouse keys with ALT modifierszeertzjq2022-07-25
| | | | | | | | | | Remove check for MOD_MASK_META as it is for <T- which never appears in TUI. Make small changes to docs.
| * fix(api): make nvim_cmd mods.silent work correctly (#19489)notomo2022-07-25
| |
| * fix(mouse): fix using uninitialized memory with K_MOUSEMOVE (#19480)zeertzjq2022-07-24
| | | | | | Fix a mistake in the porting of Vim patch 8.0.1309.
| * test(mksession_spec): use %bwipeout! instead of qall! to close terminal (#19465)zeertzjq2022-07-22
| | | | | | Avoid expect_exit, session will be closed when a new one is spawned.
| * fix(grid): don't use utfc_ptr2char_len() when printing until NUL (#19456)zeertzjq2022-07-22
| |
| * fix(mark): give correct error message when mark is in another buffer (#19454)zeertzjq2022-07-21
| |
| * Merge pull request #19445 from famiu/fix/local_winbar_tabsbfredl2022-07-20
| |\ | | | | | | fix: local winbar with tabs
| | * fix: local winbar with tabsFamiu Haque2022-07-20
| | | | | | | | | | | | Closes #19396
| * | feat(lua): allow vim.cmd to be indexed (#19238)Lewis Russell2022-07-20
| | |
| * | test: deal with RPC call causing Nvim to exit laterzeertzjq2022-07-19
| | |
| * | test: avoid timing-sensitive undo messagezeertzjq2022-07-19
| | |
| * | Merge pull request #19409 from bfredl/uiunpackbfredl2022-07-19
| |\ \ | | | | | | | | perf(ui): some ui_client fixes/optimizations before externalized TUI
| | * | perf(ui): avoid ui_flush() work in headless modebfredl2022-07-18
| | | |
| | * | perf(ui): eliminate spurious memory allocations for hl_attr_define eventbfredl2022-07-18
| | | |
| * | | vim-patch:8.2.1147 (#19425)zeertzjq2022-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.2.1147: :confirm may happen in cooked mode Problem: :confirm may happen in cooked mode. (Jason Franklin) Solution: Switch to raw mode before prompting. (Brandon Pfeifer) https://github.com/vim/vim/commit/27321dbeedf8bb833c48b01bf18536125794f65e Code is N/A, but this improves tests. Port the improved tests to Lua.
| * | | fix(lua): make it possible to cancel vim.wait() with Ctrl-C (#19217)JP2022-07-19
| | | |
| * | | fix(mouse): click on global statusline with splits (#19390)Munif Tanjim2022-07-19
| | | |
| * | | fix(powershell): filter ":!" commands with args #19268Enan Ajmain2022-07-18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Since 0b9664f5240be4d9e9d6882fcd398970fd3a9532 powershell filtered :[range]! commands with args causes error: "Start-Process: A positional parameter cannot be found that accepts argument ..." Solution: Pass args to Start-Process via `-ArgumentList`. closes #19250
* | | Merge remote-tracking branch 'upstream/master' into rahmJosh Rahm2022-07-18
|\| |
| * | fix(windows):exepath, stdpath return wrong slashes #19111Enan Ajmain2022-07-17
| | | | | | | | | | | | | | | | | | exepath and stdpath should respect shellslash and return path with proper file separator. Closes #13787
| * | refactor(lsp): use autocmd api (#19407)ii142022-07-17
| |/ | | | | | | | | | | | | * refactor(lsp): use autocmd api * refactor(lsp): inline BufWritePost and VimLeavePre callbacks
| * feat(defaults): mouse=nvi #19290matveyt2022-07-17
| | | | | | | | | | | | | | | | | | | | Problem: Since right-click can now show a popup menu, we can provide messaging to guide users who expect 'mouse' to be disabled by default. So 'mouse' can now be enabled by default. Solution: Do it. Closes #15521
| * fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode (#19400)zeertzjq2022-07-17
| |
| * Merge pull request #19395 from jamessan/flaky-job-testJames McCoy2022-07-16
| |\ | | | | | | test(job_spec): accept alternate messages for "append environment" tests
| | * test(job_spec): accept alternate messages for "append environment" testsJames McCoy2022-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests commonly fail in Debian with [ ERROR ] test/functional/core/job_spec.lua @ 81: jobs append environment with pty #env test/functional/helpers.lua:198: ============================================================================== test/helpers.lua:73: Expected objects to be the same. Passed in: (table: 0x2aa4bcc1040) { *[1] = { [1] = 'notification' [2] = 'stdout' *[3] = { [1] = 0 *[2] = { [1] = 'hello world abc' } } } } Expected: (table: 0x2aa4bcc0d70) { *[1] = { [1] = 'notification' [2] = 'stdout' *[3] = { [1] = 0 *[2] = { [1] = 'hello world abc' *[2] = '' } } } } Since the test is validating the "hello world abc" message, not the newlines, accept either set of message sequences.
| * | vim-patch:8.2.2643: various code not covered by testszeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995) https://github.com/vim/vim/commit/1f448d906b3c516e5864dc5bae3ddbf3664ee649 Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}. Reorder test_undo.vim to match upstream.
| * | vim-patch:8.2.2608: character input not fully testedzeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Character input not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963) https://github.com/vim/vim/commit/f4fcedc59d4cc5ae6b5270a933e8377030283c1c Cherry-pick related changes from patches 8.2.{0433,0866}.
| * | vim-patch:8.2.0198: no tests for y/n promptzeertzjq2022-07-16
| | | | | | | | | | | | | | | | | | Problem: No tests for y/n prompt. Solution: Add tests. (Dominique Pelle, closes vim/vim#5564) https://github.com/vim/vim/commit/43c60eda2aa22ba3d7aaf418cfbdb75f1a008e67
| * | vim-patch:8.2.0052: more-prompt not properly testedzeertzjq2022-07-16
| |/ | | | | | | | | | | Problem: More-prompt not properly tested. Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404) https://github.com/vim/vim/commit/c6d539b67181ad573452e919e58ecbfa362f4c49
| * fix(ex_cmds): correct flags for :const (#19387)zeertzjq2022-07-16
| |