Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(tests): needing two calls to setup a screen is cringe | bfredl | 2024-11-14 |
| | | | | | | | | | | Before calling "attach" a screen object is just a dummy container for (row, col) values whose purpose is to be sent as part of the "attach" function call anyway. Just create the screen in an attached state directly. Keep the complete (row, col, options) config together. It is still completely valid to later detach and re-attach as needed, including to another session. | ||
* | test: support upvalues in exec_lua | Lewis Russell | 2024-09-21 |
| | |||
* | test: improve test conventions | dundargoc | 2024-04-23 |
| | | | | | | | | | 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. | ||
* | refactor(test): inject after_each differently | Lewis Russell | 2024-04-10 |
| | |||
* | test: improve test conventions | dundargoc | 2024-04-08 |
| | | | | Work on https://github.com/neovim/neovim/issues/27004. | ||
* | fix(test): typing | Lewis Russell | 2024-03-25 |
| | |||
* | test: rename (meths, funcs) -> (api, fn) | Lewis Russell | 2024-01-12 |
| | |||
* | test: normalise nvim bridge functions | Lewis Russell | 2024-01-12 |
| | | | | | - remove helpers.cur*meths - remove helpers.nvim | ||
* | test: typing for helpers.meths | Lewis Russell | 2024-01-12 |
| | |||
* | test: do not inject vim module into global helpers | Lewis Russell | 2024-01-12 |
| | |||
* | refactor: format test/* | Justin M. Keyes | 2024-01-03 |
| | |||
* | test: avoid repeated screen lines in expected states | zeertzjq | 2023-12-09 |
| | | | | | | This is the command invoked repeatedly to make the changes: :%s/^\(.*\)|\%(\*\(\d\+\)\)\?$\n\1|\%(\*\(\d\+\)\)\?$/\=submatch(1)..'|*'..(max([str2nr(submatch(2)),1])+max([str2nr(submatch(3)),1]))/g | ||
* | feat(treesitter): improve query error message | Amaan Qureshi | 2023-08-31 |
| | |||
* | fix(api, lua): make blank lines in a message work properly (#24244) | zeertzjq | 2023-07-04 |
| | |||
* | feat(lua): rename vim.loop -> vim.uv (#22846) | Lewis Russell | 2023-06-03 |
| | |||
* | refactor(options): deprecate nvim[_buf|_win]_[gs]et_option | Lewis Russell | 2023-05-21 |
| | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: famiu <famiuhaque@protonmail.com> | ||
* | feat(lua): make sure require'bit' always works, even with PUC lua 5.1 | bfredl | 2023-02-22 |
| | |||
* | test: simplify platform detection (#21020) | dundargoc | 2022-11-22 |
| | | | | | Extend the capabilities of is_os to detect more platforms such as freebsd and openbsd. Also remove `iswin()` helper function as it can be replaced by `is_os("win")`. | ||
* | fix(tests): remove irrelevant usage of display-=msgsep | bfredl | 2022-08-17 |
| | | | | | | | | These were just added to avoid churn when changing the default of 'display'. To simplify message handling logic, we might want to remove support for printing messages in default_grid later on. This would allow things like printing error messages safely in the middle of redraw, or a future graduation of the 'multigrid' feature. | ||
* | feat: call __tostring on lua errors if possible before reporting to user | Oliver Marriott | 2022-02-25 |
| | |||
* | feat(lua): enable stack traces in error output (#16228) | Gregory Anders | 2021-11-06 |
| | |||
* | refactor(tests): remove redir_exec #15718 | Justin M. Keyes | 2021-09-19 |
| | | | | | | | | | | | Problem - `redir_exec` is obsolete, but it keeps getting used in new tests because people copy existing tests. - Disadvantages of `redir_exec`: - Captures extra junk before the actual error/message that we _want_ to test. - Does not fail on error, unlike e.g. `command()`. Solution - Use new functions like `nvim_exec` and `pcall_err`. | ||
* | fixup! startup: handle autoload and lua packages during startup | Jan Edmund Lazo | 2020-11-02 |
| | |||
* | startup: handle autoload and lua packages during startup | Björn Linse | 2020-11-02 |
| | | | | ¡NO HAY BANDA! | ||
* | API: rename nvim_execute_lua => nvim_exec_lua | Justin M. Keyes | 2019-12-02 |
| | | | | | | - We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`. | ||
* | Add v:lua.func() vimL syntax for calling lua | Björn Linse | 2019-11-16 |
| | | | | Also simplify error messages when calling lua from vimL. | ||
* | lua: do not crash on syntax error in debug.debug() | Björn Linse | 2019-08-05 |
| | |||
* | lua: immediate-callback safe print() | Björn Linse | 2019-08-05 |
| | |||
* | Merge #9686 'win/Lua: monkey-patch os.getenv()' | Justin M. Keyes | 2019-03-16 |
|\ | | | | | | | fixes #9681 | ||
| * | Fix os.getenv of lua on Windows | erw7 | 2019-03-07 |
|/ | | | | | Change to use os_getenv instead of getenv because environment variable set by uv_os_setenv can not be get with getenv. | ||
* | msg: do not scroll entire screen (#8088) | Björn Linse | 2018-03-31 |
| | |||
* | lua/executor: Fix crash when printing empty string (#7157) | Nikolai Aleksandrovich Pavlov | 2017-08-13 |
| | |||
* | lua: Use automatic determining of suffixes only for package.cpath | ZyX | 2017-05-28 |
| | |||
* | lua: Add paths from &runtimepath to package.path and package.cpath | ZyX | 2017-05-25 |
| | |||
* | eval,functests: Fix linter errors | ZyX | 2017-03-27 |
| | |||
* | functests: Add test for debug.debug | ZyX | 2017-03-27 |
| | |||
* | executor,functests: Add print() tests, some fixes | ZyX | 2017-03-27 |