aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix(go): improve parsing package mod (#197)William Boman2022-07-301-0/+1
|
* feat: add luaformatter (#116)William Boman2022-07-221-0/+22
| | | Co-authored-by: Ali Shahid <canttell@gmail>
* refactor!: extract mason-lspconfig to separate plugin (#109)William Boman2022-07-223-225/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The rationale behind this is to make boundaries clearer as mason.nvim has no direct relation with lspconfig per se. Also, hopefully, by having it as a separate package like this would encourage more people to write similar extensions (think mason-dap and mason-null-ls). Ideally such extensions wouldn't be required at all, but there are definitely gaps to fill as of today. From now on you'll need to add `williamboman/mason-lspconfig.nvim` as a plugin if you want to use the `mason-lspconfig` extension: ```lua use { { "williamboman/mason.nvim", branch = "alpha" }, "williamboman/mason-lspconfig.nvim", "neovim/nvim-lspconfig", } ``` ```lua Plug "williamboman/mason.nvim", { 'branch': 'alpha' } Plug "williamboman/mason-lspconfig.nvim" Plug "neovim/nvim-lspconfig" ```
* chore: update generated code (#99)williambotman[bot]2022-07-192-1/+3
| | | | | | | | | * chore: update generated code * prepend rtp * stub is_installed Co-authored-by: William Boman <william@redwill.se>
* docs: update mason-lspconfig.setup_handlers() docs & add some tests (#94)William Boman2022-07-171-0/+46
|
* fix(mason-lspconfig): deduplicate :LspInstall completion items (#88)William Boman2022-07-171-0/+5
|
* fix(jdtls): download milestone versions instead of snapshots (#87)William Boman2022-07-171-10/+0
|
* feat(mason-lspconfig): add get_installed_servers() method & add more tests (#84)William Boman2022-07-164-1/+169
|
* chore: change emmylua annotation syntax from @ to : for comments (#73)William Boman2022-07-141-2/+2
|
* tests: add some mason-core.package tests (#69)William Boman2022-07-132-0/+159
|
* refactor(api): change signatures to accept list of packages (#68)William Boman2022-07-131-3/+3
|
* tests: add some InstallHandle tests (#67)William Boman2022-07-132-0/+100
|
* fix(api): fix the :MasonUninstall command (#66)William Boman2022-07-133-0/+92
|
* feat(mason-lspconfig): add :LspInstall and :LspUninstall commands (#35)William Boman2022-07-083-2/+14
| | | | These should be in complete parity with the nvim-lsp-installer commands. Now even better than before.
* refactor: add mason-schemas and mason-core modules (#29)William Boman2022-07-0835-87/+87
| | | | | * 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-082-5/+4
|
* feat: add delve and go-debug-adapter (#7)William Boman2022-07-071-13/+14
| | | | | | | * feat: add delve and go-debug-adapter * fix(go): more package and mod mangling * fix(ui): fix hydrating package state after reinstallation
* fix(go): strip wildcard specifier from package names when necessary (#4)William Boman2022-07-071-2/+9
|
* test(async): fix flaky testWilliam Boman2022-07-071-3/+2
| | | | No idea what it was asserting before tbh.
* style: more styluaWilliam Boman2022-07-073-22/+25
|
* chore: adjust some remnants of nvim-lsp-installerWilliam Boman2022-07-071-26/+13
|
* mason.nvimWilliam Boman2022-07-0745-888/+570
|
* docs: remove nvim-lsp-installer.servers helptag (#755)William Boman2022-06-061-1/+0
| | | | All interactions from userland should preferably go through require("nvim-lsp-installer").
* feat: add apex_ls (#746)William Boman2022-06-032-0/+13
| | | Closes #701.
* added wgsl_analyzer server (#719)Dmitry Kudryavtsev2022-06-011-0/+17
|
* refactor(pip3): use with_paths to set venv path (#736)William Boman2022-05-301-21/+16
|
* feat(luarocks): use luarocks.bat executable if it's available (#731)William Boman2022-05-291-11/+21
| | | Closes #726.
* refactor(health): spawn processes via the spawn module (#732)William Boman2022-05-291-0/+11
|
* test(luarock): stub std.ensure_executable (#725)William Boman2022-05-271-2/+6
|
* test(luarocks): add more test casesWilliam Boman2022-05-271-0/+48
|
* feat: add teal_ls (#724)William Boman2022-05-273-0/+65
| | | Closes #723.
* fix(spawn): don't check executable when spawning with custom PATH (#721)William Boman2022-05-261-1/+28
|
* fix(ui): setlocal undolevels=-1William Boman2022-05-251-1/+2
| | | | | | | | Without having profiled things, this should greatly reduce memory footprint because this UI buffer is: 1) updated very frequently 2) the way it's currently updated is extremely inefficient (it essentially recreates the buffer contents on every render)
* fix(test): increase grace period in flaky testWilliam Boman2022-05-191-1/+1
|
* feat(lspinfo): check that .setup() has been called to consider cmd ↵William Boman2022-05-192-0/+15
| | | | executable (#710)
* tests(spawn): fix bad test name and add missing caseWilliam Boman2022-05-171-1/+14
|
* fix(spawn): avoid spawning commands that aren't on PATH (#706)William Boman2022-05-172-1/+17
| | | | This is primarily done to avoid cluttering the log file with a bunch of ERROR entries. Also avoids unnecessary roundtrips to uv_spawn, I guess.
* chore(functional): restructure and extend functional modules (#703)William Boman2022-05-1710-247/+437
|
* fix(go): target the @latest version when checking if package is outdated (#700)William Boman2022-05-131-7/+2
|
* fix(github): allow looking for prereleases (#699)William Boman2022-05-132-0/+83
|
* feat(ui): use diagnostics to show some messages (#694)William Boman2022-05-131-7/+18
|
* feat: patch :LspInfo's "cmd is executable" diagnostic message (#691)William Boman2022-05-121-0/+39
|
* chore: remove old testWilliam Boman2022-05-112-25/+0
|
* chore: further decouple module structure (#685)William Boman2022-05-1111-45/+77
|
* 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
* chore(tests): use assert.same instead of abusing vim.inspect + assert.equalWilliam Boman2022-05-0613-313/+223
|
* feat(platform): add convenience API for detecting OS + arch (#653)William Boman2022-05-011-1/+23
|
* feat: allow excluding servers from automatic installation (#643)William Boman2022-04-304-2/+129
|
* fix middleware_spec testsWilliam Boman2022-04-291-20/+53
|
* feat: integrate with lspconfig's on_setup hook (#631)William Boman2022-04-272-10/+45
| | | | | | | | | | | | | | | | | | | | * feat: integrate with lspconfig's on_setup hook * fix!: don't use aliased installation directories if new .setup() fn is used This makes it so servers are always installed in a directory name that corresponds with the server name. The reason aliased installation directories is supported is lost on me, but it's legacy and complicates things unnecessarily. This is a breaking change for users who previously were using the `.on_server_ready()` hook, and now transitioned to setting up servers directly via lspconfig. These users will need to reinstall the server. * fix: block usage of the deprecated server:setup() method if new setup method is used * fix: allow passing no arg to setup() * docs: ok final.v3 readme