aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers/lua/test_helpers.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: refactor installer internals and add new Package class methods ↵William Boman2025-02-191-70/+0
| | | | | | | | | | | | | | | | | | | (#1523) This contains the following changes: 1) `Package:install()` now accepts a second, optional, callback argument which is called when installation finishes (successfully or not). 2) Adds a `Package:is_installing()` method. This contains the following breaking changes: 1) `Package:install()` will now error when called while an installation is already ongoing. Use the new `Package:is_installing()` method to check whether an installation is already running. This also refactors large portions of the tests by removing test globals, removing async_test, and adding the `mason-test` Lua module instead. Test helpers via globals are problematic to work with due to not being detected through tools like the Lua language server without additional configuration. This has been replaced with a Lua module `mason-test`. `async_test` has also been removed in favour of explicitly making use of the `mason-core.async` API. These changes stands for a significant portion of the diff.
* style: enforce import order (#1092)William Boman2023-03-121-5/+5
| | | | | * chore(workflows): update dependencies * style: enforce import order
* feat: add github registry source capabilities (#1091)William Boman2023-03-121-0/+17
|
* fix: fix writing pyvenv module wrapper (#1073)William Boman2023-03-061-1/+1
| | | Closes #1071.
* feat(InstallContext): add strict_mode flag (#1055)William Boman2023-03-051-4/+4
| | | Also add some more ctx.fs methods.
* refactor(installer): introduce PackageInstallOpts class (#802)William Boman2022-12-261-1/+1
|
* refactor: introduce selene, harden type defs, and use proper EmmyLua syntax ↵William Boman2022-08-151-1/+5
| | | | (#296)
* refactor: add mason-schemas and mason-core modules (#29)William Boman2022-07-081-3/+3
| | | | | * refactor: add mason-schemas and move generated filetype map to mason-lspconfig * refactor: add mason-core module
* refactor: move packages to mason-registry (#27)William Boman2022-07-081-3/+2
|
* mason.nvimWilliam Boman2022-07-071-47/+19
|
* chore: further decouple module structure (#685)William Boman2022-05-111-1/+1
|
* chore: remove deprecated modules (#682)William Boman2022-05-101-1/+0
| | | | - https://github.com/williamboman/nvim-lsp-installer/wiki/Async-infrastructure-changes-notice - https://github.com/williamboman/nvim-lsp-installer/discussions/636
* feat: allow excluding servers from automatic installation (#643)William Boman2022-04-301-2/+3
|
* switch majority of installers to async implementation (#574)William Boman2022-04-061-9/+12
|
* add async managers (#536)William Boman2022-03-261-0/+75