aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/manager.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor: replace vim.loop with vim.uv #3703v2.0.0Chris Bandy2025-04-101-2/+2
| | | | | | The former is deprecated in neovim 0.10. Remove the check added in 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e. See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55
* refactor: replace all instances of vim.uv with vim.loopdundargoc2024-12-021-3/+2
| | | | | We still support neovim 0.9 currently, so we can't use vim.uv. Also add a check so we don't accidentally reintroduce it.
* fix: using method string instead constant (#3468)glepnir2024-11-271-1/+1
| | | Using method string instead constant avoid nil error in low release version
* refactor: remove internal implementation of `util.path.sanitize` #3464dundargoc2024-11-261-2/+2
| | | Return value from `vim.fs.normalize` instead.
* refactor: remove implementation of util.path.dirname #3460dundargoc2024-11-261-1/+1
| | | Instead, just return the result of vim.fs.dirname.
* Revert "fix: check existing_client support workspaceFolder (#3452)" (#3459)glepnir2024-11-261-8/+6
| | | This reverts commit fe88eade4ab50fca9ace99205cad1d91645ed9e8.
* fix: check existing_client support workspaceFolder (#3452)glepnir2024-11-261-6/+8
| | | | if existing_client does not support workpaceFolder should spawn a new server instance
* feat: add silent on error optionMaria José Solano2024-11-231-7/+12
|
* feat: use vim.lsp.start instead of vim.lsp.start_clientMaria José Solano2024-11-231-114/+46
|
* fix(health): support Nvim 0.9Justin M. Keyes2024-10-021-1/+1
| | | | fix #3342
* refactor: replace deprecated vim.loop with vim.uvdundargoc2024-10-021-1/+1
|
* refactor: rename "server_configurations" => "configs" #3330Justin M. Keyes2024-10-011-1/+1
| | | | | | | | | | | | | | Problem: The name `server_configurations` is extremely verbose and irritatingly formal and dogmatic. This overlong name is a constant nuisance when reading, writing, and coding. It's also not even correct: these configurations are just as much "client" configurations as they are "server" configurations. Solution: - Rename to a shorter name. - Leave placeholder files for any old URLs that link to the old location.
* fix: root_dir support string value directly (#3313)glepnir2024-09-231-1/+3
| | | | | | root_dir in `vim.lsp.ClientConfig` can be a string type and in our annoation also mentioned `string|function` type. but actually root_dir does not support string type. add a type check of root_dir and then we can use `vim.fs.root` directly.
* refactor: handle updated signature of lsp.start_client (#3126)Gregory Anders2024-04-261-1/+6
| | | | | | https://github.com/neovim/neovim/pull/28478 changes the signature of start_client to return two values: client_id or nil and error message or nil. start_client no longer calls vim.notify directly, so if there is an error we must call vim.notify ourselves.
* fix: revert to not requiring single_file_mode and root_dir check (#3088)Patricio Serrano2024-03-241-2/+1
|
* refactor: general cleanupLewis Russell2024-03-071-15/+15
|
* fix: update lua types to match latest nightly (#3048)Carlo Sala2024-03-051-5/+5
|
* fix: enforce single file mode check when root_dir differs from client (#2998)Patricio Serrano2024-02-061-1/+2
| | | fixes issue [#2959](https://github.com/neovim/nvim-lspconfig/issues/2959#issue-2068768094)
* refactor: move manager to separate moduleLewis Russell2023-08-221-0/+297
- Move manager logic to own module - Move async logic to own module - Improve type annotations