| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This reverts commit e118ce58dab72c17216292eef7df4cee3cf60885.
It turns out `util.available_servers` is used more than anticipated, so
we revert the privatization for the time being.
Closes https://github.com/neovim/nvim-lspconfig/issues/3588
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
|
|
|
|
| |
We don't deprecate it currently as the suggested replacement
(vim.fs.relpath) isn't available on the minimum supported neovim
version.
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| | |
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| | |
|
| |
|
|
| |
directory (#3505)
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
|
| |
This reverts commit 90c1c6cc822b1836209514c096069b9bbeab63d9.
Fix #3485
|
| |
|
|
|
| |
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.
|
| |
|
|
|
| |
The vimscript function `getftype` is an easier way to check for file
existence compared to vim.uv.
|
| | |
|
| |
|
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
| |
Work on https://github.com/neovim/nvim-lspconfig/issues/2079
|
| | |
|
| |
|
|
|
|
| |
Use `vim.uv.fs_stat` instead.
Work on https://github.com/neovim/nvim-lspconfig/issues/2079.
|
| |
|
|
| |
This makes it easier to assess how much functionality still needs to be deprecated.
|
| |
|
| |
Return value from `vim.fs.normalize` instead.
|
| | |
|
| |
|
| |
Instead, just return the result of vim.fs.dirname.
|
| | |
|
| |
|
|
| |
fix #3342
|
| | |
|
| |
|
| |
To pass it as-is to the vim.lsp.start_client argument
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
0.10 (#3154)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* fix: util.root_pattern prioritises pattern order
Instead of traversing the filesystem upwards once and
returning the first match of all the patterns, it traverses
the filesystem upwards once for each pattern. This means
that the order of the patterns provided matters, and the
highest priority patterns should be put first. Also updated
corresponding tests.
* docs: update util.root_pattern description
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Move manager logic to own module
- Move async logic to own module
- Improve type annotations
|
| | |
|
| |
|
|
|
|
| |
* fix: check root already in workspace
---------
Co-authored-by: github-actions <github-actions@github.com>
|
| | |
|
| | |
|
| |
|
|
|
| |
Fixes https://github.com/neovim/nvim-lspconfig/commit/641a71e381e23f1d1d6a0722a8b796fda896b55b#commitcomment-102642580
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix(stylelint_lsp): update root directory pattern
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* feat(util): add `add_package_json_to_config_files_if_field_exists` function
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(stylelint_lsp): update update root directory pattern implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(eslint): update update root directory pattern implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(util): update `is_windows` detection
Co-authored-by: Raphael <glephunter@gmail.com>
* fix(util): update new function name
Co-authored-by: Raphael <glephunter@gmail.com>
* fix(server_configurations): update new function name implementation
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
* fix(stylelint_lsp): fix duplicate equals
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
---------
Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
Co-authored-by: Raphael <glephunter@gmail.com>
|
| | |
|
| |
|
|
|
|
|
| |
add server workspaceFolder check, if
server not have workspacefolders.supported field
will spawn a new server instance.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_workspaceFolders
|
| |
|
|
|
| |
* refactor: rewrite client reuse logic
* fix: not register workspace after new start
|