| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* fix: generate correct workspace didchange request params
* fix: logic rewrite
* fix: logic rewrite
* fix: spell
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix: some server need restart
* fix: improve
* fix: async start client
* fix: remove session file
* fix: improve logic
* fix: improve logic
* fix: check the root already in workspace
* fix: improve check
* fix: add start_new_client into the if branch
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactor: remove single_clients and improve clients reuse
* fix: remove unused param
* chore: correct check
* fix: improve
* fix: remove debug print
* fix: add comment
* chore: don't insert workspace when single file mode
* chore: add comment
|
| |
|
|
|
|
|
| |
* fix: send the lsp method request after insert workspace folders
* fix: use client do rpc request
* fix: check client support workspace
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* feat: support multiple workspaceFolders and show correct root in Lspinfo
* fix: add return branch
* fix: convert path before compare
* fix: improve find root dir in LspInfo
* fix: check logic
* fix: remove unnecessary code
|
| | |
|
| |
|
|
|
| |
* fix: add the new root to workspaceFolders
* fix: add the new root to workspaceFolders
|