aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* 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
|
* Merge pull request #15079 from shadmansaleh/feat/verbose_luabfredl2022-03-01
|\ | | | | feat(lua): add :verbose support for lua config
| * fix: anonymous sid not workingshadmansaleh2022-02-28
| |
| * feat(lua): show proper verbose output for lua configurationshadmansaleh2022-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `:verbose` didn't work properly with lua configs (For example: options or keymaps are set from lua, just say that they were set from lua, doesn't say where they were set at. This fixes that issue. Now `:verbose` will provide filename and line no when option/keymap is set from lua. Changes: - compiles lua/vim/keymap.lua as vim/keymap.lua - When souring a lua file current_sctx.sc_sid is set to SID_LUA - Moved finding scripts SID out of `do_source()` to `get_current_script_id()`. So it can be reused for lua files. - Added new function `nlua_get_sctx` that extracts current lua scripts name and line no with debug library. And creates a sctx for it. NOTE: This function ignores C functions and blacklist which currently contains only vim/_meta.lua so vim.o/opt wrappers aren't targeted. - Added function `nlua_set_sctx` that changes provided sctx to current lua scripts sctx if a lua file is being executed. - Added tests in tests/functional/lua/verbose_spec.lua - add primary support for additional types (:autocmd, :function, :syntax) to lua verbose Note: These can't yet be directly set from lua but once that's possible :verbose should work for them hopefully :D - add :verbose support for nvim_exec & nvim_command within lua Currently auto commands/commands/functions ... can only be defined by nvim_exec/nvim_command this adds support for them. Means if those Are defined within lua with vim.cmd/nvim_exec :verbose will show their location . Though note it'll show the line no on which nvim_exec call was made.
* | fix(api): include event in get_autocmds (#17553)Christian Clason2022-03-01
| |
* | docs: clarify actual behavior of <Plug>zeertzjq2022-03-01
| |
* | feat(lua): add missing changes to autocmds lost in the rebaseTJ DeVries2022-02-28
| | | | | | | | Note: some of these changes are breaking, like change of API signatures
* | Merge pull request #17529 from seandewar/api-string-oopsiebfredl2022-02-28
|\ \ | | | | | | fix(api): convert blob to NUL-terminated API string
| * | fix(api): convert blob to NUL-terminated API stringSean Dewar2022-02-26
| | | | | | | | | | | | | | | Looks like I did an oopsie; although API strings carry a size field, they should still be usable as C-strings! (even though they may contain embedded NULs)
* | | Merge pull request #17476 from dundargoc/test/emmyluazeertzjq2022-02-28
|\ \ \ | |_|/ |/| | test: correct emmylua annotations
| * | test: correct emmylua annotationsDundar Göc2022-02-20
| | | | | | | | | | | | This will fix the warnings sumneko language server outputs.
* | | feat(lua): add api and lua autocmdsTJ DeVries2022-02-27
| | |
* | | feat(lua): add <f-args> to user commands callback (#17522)Javier Lopez2022-02-27
| | | | | | | | | | | | | | | Works similar to ex <f-args>. It only splits the arguments if the command has more than one posible argument. In cases were the command can only have 1 argument opts.fargs = { opts.args }
* | | Merge pull request #16969 from shadmansaleh/enhance/ingore_nore_on_plug_keymapsbfredl2022-02-27
|\ \ \ | | | | | | | | feat: ignore nore on <Plug> maps
| * | | feat: ignore nore on <Plug> mapsshadmansaleh2022-02-27
| | | |
* | | | Merge pull request #17386 from bfredl/neothreadbfredl2022-02-27
|\ \ \ \ | | | | | | | | | | support threads in lua
| * | | | refactor(lua): cleanup and docs for threadsbfredl2022-02-26
| | | | |
| * | | | feat(lua): add proper support of luv threadserw72022-02-26
| | |_|/ | |/| |
* | | | Merge pull request #17432 from zeertzjq/vim-8.1.2336zeertzjq2022-02-27
|\ \ \ \ | |_|/ / |/| | | vim-patch:8.1.2336,8.2.{4338,4401}: mapping cursor and redrawing patches
| * | | test: add more tests for :*map cursor and redrawingzeertzjq2022-02-17
| | | |
| * | | test: add some tests for :*map <expr>Jay Sandhu2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for: - Cursor position restored after :map expr - Cursor position restored after :imap expr - Error in :cmap expr handled correctly Cherry-picked from #12837
* | | | Merge pull request #16845 from seandewar/floaty-aucmd-winbfredl2022-02-26
|\ \ \ \ | | | | | | | | | | fix(aucmd_win): ensure aucmd_win stays floating
| * | | | fix(aucmd_win): ensure aucmd_win stays floatingSean Dewar2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nvim uses a floating window for the autocmd window, but in certain situations, it can be made non-floating (`:wincmd J`), which can cause issues due to the previous setup and cleanup logic for a non-floating aucmd_win being removed from aucmd_prepbuf and aucmd_restbuf. This can cause glitchiness and crashes due to the aucmd_win's frame being invalid after closing its tabpage, for example. Ensure aucmd_win cannot be made non-floating. The only place this happens is in win_split_ins if new_wp != NULL.
* | | | | Merge pull request #17414 from zeertzjq/api-set-cursor-redrawbfredl2022-02-26
|\ \ \ \ \ | | | | | | | | | | | | fix(api): nvim_win_set_cursor() redraw for cursorline and statusline
| * | | | | fix(api): nvim_win_set_cursor() redraw for cursorline and statuslinezeertzjq2022-02-15
| | | | | |