summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/api/buffer_updates_spec.lua
AgeCommit message (Collapse)AuthorFiles
2026-03-19fix(terminal): don't refresh for sync flush when exiting (#38363)zeertzjq1
Fixes the following error log: ERR 2026-03-18T20:17:36.920 T281.9357.0 buf_updates_send_changes:258: Disabling buffer updates for dead channel 1
2026-03-16fix(api): use standard error messagesJustin M. Keyes1
2026-02-17fix(terminal): spurious buffer update with empty buf (#37920)zeertzjq1
Problem: Opening a terminal on an empty buffer produces a spurious buffer update event. Solution: Don't call deleted_lines_buf() if no lines have been deleted.
2025-09-24test: remove a few more redundant clear() calls (#35903)zeertzjq1
2025-06-23fix(quickfix): use correct lnume when appending (#34611)glepnir1
Problem: ml_get error when updating quickfix buffer with nvim_buf_attach Solution: use correct lnume parameter in changed_lines for append mode Fix #34610
2024-12-19feat(jobs): jobstart(…,{term=true}), deprecate termopen() #31343Justin M. Keyes1
Problem: `termopen` has long been a superficial wrapper around `jobstart`, and has no real purpose. Also, `vim.system` and `nvim_open_term` presumably will replace all features of `jobstart` and `termopen`, so centralizing the logic will help with that. Solution: - Introduce `eval/deprecated.c`, where all deprecated eval funcs will live. - Introduce "term" flag of `jobstart`. - Deprecate `termopen`.
2024-09-26test(api/buffer_updates_spec): prevent flakiness (#30521)zeertzjq1
Use poke_eventloop() to wait for Nvim to finish processing input.
2024-04-23test: improve test conventionsdundargoc1
Specifically, functions that are run in the context of the test runner are put in module `test/testutil.lua` while the functions that are run in the context of the test session are put in `test/functional/testnvim.lua`. Closes https://github.com/neovim/neovim/issues/27004.
2024-04-10refactor(test): inject after_each differentlyLewis Russell1
2024-04-08test: improve test conventionsdundargoc1
Work on https://github.com/neovim/neovim/issues/27004.
2024-02-12refactor(tests): get channel id via nvim_get_chan_info #27441Justin M. Keyes1
Minor "best practices" nudge.
2024-01-16test: use integers for API Buffer/Window/Tabpage EXT typesLewis Russell1
2024-01-13Merge pull request #26734 from bfredl/splitaroobfredl1
fix(buffer_updates): correct buffer updates when splitting empty line
2024-01-13fix(buffer_updates): correct buffer updates when splitting empty linebfredl1
fixes #11591
2024-01-12test: rename (meths, funcs) -> (api, fn)Lewis Russell1
2024-01-12test: normalise nvim bridge functionsLewis Russell1
- remove helpers.cur*meths - remove helpers.nvim
2024-01-12test: remove helpers.sleep()Lewis Russell1
2024-01-03refactor: format test/*Justin M. Keyes1
2023-12-08test: use termopen() instead of :terminal more (#26462)zeertzjq1
2023-12-05refactor(api): complete conversion from `Dictionary` to `Dict(opts)` (#26365)Riccardo Mazzarini1
2023-04-02refactor(defaults)!: change default 'commentstring' value to empty (#22862)zeertzjq1
2023-02-14refactor(api): consistent VALIDATE messages #22262Justin M. Keyes1
Problem: Validation messages are not consistently formatted. - Parameter names sometimes are NOT quoted. - Descriptive names (non-parameters) sometimes ARE quoted. Solution: Always quote the `name` value passed to a VALIDATE macro _unless_ the value has whitespace.
2023-02-14refactor(api): VALIDATE macros #22187Justin M. Keyes1
Problem: - API validation involves too much boilerplate. - API validation errors are not consistently worded. Solution: Introduce some macros. Currently these are clumsy, but they at least help with consistency and avoid some nesting.
2022-11-29docs: fix typos (#21196)dundargoc1
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com>
2022-06-13fix(tests): missing clear() #18927kylo2521
This was caught in #18674 since it allows test isolation
2022-05-18test: unskip tests on Windows (#18600)zeertzjq1
Remove the command('qall!') from mksession_spec.lua because it prevents helpers.rmdir() from retrying. Allow extra trailing spaces when matching terminal lines.
2022-05-17fix(terminal): do not trim whitespace that is actually in the terminal (#16423)zeertzjq1
2022-03-03test: use helpers.pending_win32(pending) in buffer_updates_speczeertzjq1
2022-02-26test: use helpers.pending_win32(pending) instead of iswin()zeertzjq1
2022-02-20ci: skip tests that fail on windowsDundar Göc1
2021-08-18test: update tests to work with 'hidden'Gregory Anders1
2019-09-06test: Eliminate expect_errJustin M. Keyes1
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
2019-06-04api: allow nvim_buf_attach from lua using callbacksBjörn Linse1
2019-03-01API/buffer-updates: always detach on buf-reload #9643KillTheMule1
Independently of the 'undoreload' option and the length of the file. closes #9642 closes #9643
2018-10-31functionaltest: win: enable diffput,diffget testJan Edmund Lazo1
2018-07-02test: nvim_buf_attach: reduce delayJustin M. Keyes1
This test is mostly a demo/reference for: https://github.com/neovim/neovim/issues/8634#issuecomment-400940467 so let's not pay a 1s penalty.
2018-07-01test: nvim_buf_attach response after initial delayJustin M. Keyes1
ref #8634
2018-07-01test: buffer_updates: 10s timeoutJustin M. Keyes1
2018-07-01API: emit nvim_buf_lines_event from :terminal #8616KillTheMule1
closes #8575
2018-06-08Merge #7917 'API: buffer updates'Justin M. Keyes1
2018-05-23Add empty options dict to buf_attachKillTheMule1
2018-05-23Rename some more, fixe borked renamingKillTheMule1
2018-05-23Send changedtick as first event if buffer contents weren't requestedKillTheMule1
2018-05-23Unify updates_start and updates to lines_eventKillTheMule1
Also rename changedtick -> changedtick_event
2018-05-23Update testKillTheMule1
2018-05-23Some renamings and doc changesKillTheMule1
2018-05-23Try fixing that test on travisKillTheMule1
2018-05-23Increase sendkeys timeoutKillTheMule1
2018-05-23The grand renamingKillTheMule1