aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | fix(paste): escape control characters in Cmdline modezeertzjq2022-03-15
| | |
* | | test(paste): add tests with virtualedit=onemorezeertzjq2022-03-15
| | |
* | | test(paste): reorganize tests and add tests for linewise Visual modezeertzjq2022-03-15
| | |
* | | fix(paste): deal with trailing new line in chunkzeertzjq2022-03-15
| | |
* | | fix(paste): avoid edges cases caused by empty chunkzeertzjq2022-03-15
| | |
* | | fix(paste): deal with eol and eof in Visual modezeertzjq2022-03-15
| | |
* | | fix(paste): don't move cursor past the end of pasted text in Normal modezeertzjq2022-03-15
| | |
* | | fix(paste): use getcmdtype() to determine whether in cmdline modezeertzjq2022-03-15
| | |
* | | test(python3_spec): use a pattern to match SyntaxError message (#17705)zeertzjq2022-03-13
| | |
* | | test: improve terminal channel testszeertzjq2022-03-12
| | |
* | | fix(channel): fix channel consistencyerw72022-03-12
| | | | | | | | | | | | | | | | | | | | | - Fix the problem that chanclose() does not work for channel created by nvim_open_term(). - Fix the problem that the loopback channel is not released. - Fix the error message when sending raw data to the loopback channel.
* | | fix(remote): report on missing wait commands, typecheck lua resultsCharlie Groves2022-03-11
| | | | | | | | | | | | Clean up lint errors, too
* | | test(remote): add tests for --remoteCharlie Groves2022-03-11
| | | | | | | | | | | | This also fixes a fair number of issues found in running the tests
* | | Merge pull request #17660 from bfredl/luacompletebfredl2022-03-10
|\ \ \ | | | | | | | | feat(lua): handle lazy submodules in `:lua vim.` wildmenu completion
| * | | feat(lua): handle lazy submodules in `:lua vim.` wildmenu completionbfredl2022-03-09
| | | |
* | | | test: add a test for #17489zeertzjq2022-03-10
| | | |
* | | | chore: fix typos (#17331)dundargoc2022-03-10
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: notomo <notomo.motono@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | | feat(api): relax statusline fillchar width checkzeertzjq2022-03-10
| | | | | | | | | | | | | | | | Treat fillchar as single-width even if it isn't.
* | | | Merge pull request #17640 from lewis6991/virttextfixbfredl2022-03-09
|\ \ \ \ | | | | | | | | | | fix(extmarks): fix signs
| * | | | fix(extmarks): fix signsLewis Russell2022-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add sign extmarks to state->active. Instead when drawing signs, perform a full line scan for sign marks. This allows decor_redraw_line to be moved back inside the `!number_only` block in screen.c, which prevents decor scans when redrawing the number column when 'relativenumber' is set. Fixes: #17638
* | | | | vim-patch:8.1.0999: use register one too often and not properly testedzeertzjq2022-03-09
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Problem: Use register one too often and not properly tested. Solution: Do not always use register one when specifying a register. (closes vim/vim#4085) Add more tests. https://github.com/vim/vim/commit/9d7fdd403a3a9ee0d008b6dcbcd2ecc9ec0f57b7
* | | | feat(api): autocmd `group` can be either name or id (#17559)Dhruv Manilawala2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(api): `group` can be either string or int This affects the following API functions: - `vim.api.nvim_create_autocmd` - `vim.api.nvim_get_autocmds` - `vim.api.nvim_do_autocmd` closes #17552 * refactor: add two maps for fast lookups * fix: delete augroup info from id->name map When in "stupid_legacy_mode", the value in name->id map would be updated to `AUGROUP_DELETED`, but the entry would still remain in id->name. This would create a problem in `augroup_name` function which would return the name of the augroup instead of `--DELETED--`. The id->name map is only used for fast loopup in `augroup_name` function so there's no point in keeping the entry of deleted augroup in it. Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
* | | | test: add a Lua screen test for CursorLineNr in diff modezeertzjq2022-03-08
| | | | | | | | | | | | | | | | Remove a useless test added in #14190
* | | | fix(lua): don't use nlua_error when exiting earlybfredl2022-03-07
|/ / / | | | | | | | | | Screen state is not initialized yet. Print directly to stderr instead.
* | | Merge pull request #17630 from kchibisov/fix-underline-regressionJames McCoy2022-03-06
|\ \ \ | | | | | | | | fix(api): highlight attribute for underline
| * | | fix(api): highlight attribute for underlineKirill Chibisov2022-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes regression introduced in c365de1 when checking for highlight attribute for underline was returning '0' when it was present Fixes #17624.
* | | | test: add a test for #17609zeertzjq2022-03-07
| | | |
* | | | test(autochdir_spec): use better patternszeertzjq2022-03-07
| | | |
* | | | vim-patch:8.2.4513: window-local directory is not applied if 'acd' failszeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Window-local directory is not applied if 'acd' fails. Solution: Don't call do_autochdir(). (closes vim/vim#9891) https://github.com/vim/vim/commit/b29ae159777028bb3266835b55716749ab0515be
* | | | vim-patch:8.2.3920: restoring directory after using another window is ↵zeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inefficient Problem: Restoring directory after using another window is inefficient. Solution: Only restore the directory for win_execute(). Apply 'autochdir' only when needed. https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
* | | | vim-patch:8.2.3739: in wrong directory when using win_execute() with 'acd' setzeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: In wrong directory when using win_execute() with 'acd' set. Solution: Restore the directory when returning to the window. (closes vim/vim#9276) https://github.com/vim/vim/commit/dea4a616376c6500894c16e26057ce16d7ef9f0e
* | | | Merge pull request #17628 from jamessan/bsd-gdbJames McCoy2022-03-06
|\ \ \ \ | | | | | | | | | | ci(bsd): install gdb to get backtraces from cores
| * | | | test(sr.ht): skip luamod-dev test which crashes nvimJames McCoy2022-03-06
| |/ / /
* / / / feat(api): add 'buffer' argument to nvim_get_autocmds (#17594)Gregory Anders2022-03-06
|/ / / | | | | | | | | | | | | This enables retrieving autocommands defined in the given buffers. Under the hood this simply translates the buffer numbers into '<buffer=%d>' patterns.
* | | fix(lsp): handle insertion of previous line (#17618)Michael Lingelbach2022-03-06
| | |
* | | Merge pull request #16897 from lewis6991/signsbfredl2022-03-06
|\ \ \ | | | | | | | | feat(decorations): support signs
| * | | feat(decorations): support signsLewis Russell2022-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following options to extmarks: - sign_text - sign_hl_group - number_hl_group - line_hl_group - cursorline_hl_group Note: ranges are unsupported and decorations are only applied to start_row
* | | | Merge pull request #17589 from kchibisov/add-dashed-dotted-underlineJames McCoy2022-03-05
|\ \ \ \ | | | | | | | | | | Add support for double, dashed, and dotted underlines
| * | | | feat(tui): add support for `CSI 4 : [2,4,5] m`Kirill Chibisov2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
* | | | | Merge pull request #17538 from dundargoc/refactor/bugprone-signed-char-misusebfredl2022-03-05
|\ \ \ \ \ | | | | | | | | | | | | refactor: fix clang-tidy bugprone-signed-char-misuse warnings
| * | | | | test(strcase_save): test overlong UTF8-encodingDundar Göc2022-03-05
| | |/ / / | |/| | |
* / | | | fix(lsp): start incremental sync range at previous newline character (#17610)Michael Lingelbach2022-03-05
|/ / / / | | | | | | | | This change forces the start of an incremental sync range to begin always on an existing line.
* / / / refactor(lua): reorganize builtin modules, phase 1bfredl2022-03-03
|/ / /
* | | test: use helpers.pending_win32(pending) in buffer_updates_speczeertzjq2022-03-03
| | |
* | | test(old): add more missing test files and run more tests alonezeertzjq2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy four files from Vim v8.2.1432. Try to match Vim's test_alot.vim. This marks Vim patch 8.2.0164 as ported: vim-patch:8.2.0164: test_alot takes too long Problem: Test_alot takes too long. Solution: Run several tests individually. https://github.com/vim/vim/commit/842931cd7af37ea95e826b7a93a5d5587d18c9bb
* | | feat(diagnostic): add "code" to the diagnostic structure (#17510)David Shen2022-03-02
| | |
* | | Merge pull request #17578 from zeertzjq/test-warning-pokezeertzjq2022-03-03
|\ \ \ | | | | | | | | test: mention poke_eventloop() instead of wait()
| * | | test: mention poke_eventloop() instead of wait()zeertzjq2022-03-02
| | | |
* | | | fix(test): only use buffer completion in popupmenu timer testbfredl2022-03-02
|/ / /
* | | test: move two mapping tests to ex_cmds/map_spec.luazeertzjq2022-03-02
| | |