| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
| |
Reverts 33e318a3f0e729fb7ee82619a21172712b0ea288 (except for svelte).
fix #4074
close #4076
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
| |
Remove custom handlers and version fix for WorkspaceEdit, as jdtls now
conforms to the LSP spec (eclipse-jdtls/eclipse.jdt.ls#1742)
See eclipse-jdtls/eclipse.jdt.ls#1695 for more background on why the
workaround was introduced. The original problem was fixed in the upstream
LSP server four years ago: remove the workaround.
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
The nonstandard progress handler was added in #2153 but it can cause
some undesirable side-effects out of box ("press enter").
The original bug (mfussenegger/nvim-jdtls#327) was fixed upstream in the
language server three years ago (eclipse-jdtls/eclipse.jdt.ls#2258).
Solution:
Remove the workaround. Standard progress works.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
| |
Problem:
Some projects don't have a lockfile.
Solution:
- Fallback to ".git" as a lower-priority root-marker (Nvim 0.11.3+).
- Fallback to CWD.
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
* feat(zk): implement the zk.tag.list command
* refactor(zk): use workspace_required config to disable single file support
* fix(zk): remove tbl_map to avoid possible order issue
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
| |
**Problem:** The built-in query linter will cause duplicate diagnostics
when running the query LSP. It is also slower and blocking, and can
cause jarring editor freezes for short times.
**Solution:** Disable it when using `ts_query_ls`. Also, set the
omnifunc to the LSP omnifunc rather than the custom `query` one.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
| |
This handler was removed a long time ago and was replaced with another handler that is already implemented here:
https://github.com/dotnet/vscode-csharp/commit/9cc41f6d2535a5cb5533dc5ae8f3a10ade16e7b5
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
Copy the approach from `lsp/elixirls.lua` to support monorepos.
fix #4052
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
- Diagnostics were only refreshed for the current buffer, not all buffers
managed by the client. In multi-file C# projects, this left diagnostics
stale unless the user switched buffers.
- Roslyn did not handle override method completion correctly.
Solution:
- Added `roslyn.client.completionComplexEdit` handler to apply edits for
override completions.
- Added `refresh_diagnostics` function, called on project initialization
and on `BufWritePost` / `InsertLeave` events, to proactively pull
diagnostics for all client buffers.
Rationale:
- Roslyn LSP primarily uses pull-based diagnostics. Neovim currently
only triggers diagnostic pulls on text changes in the active buffer.
This makes `debounce_text_changes` insufficient for Roslyn, as changes
in one file can affect diagnostics across the entire solution.
- The autocmds act as a server-specific workaround to mimic an
“on-save/on-idle” pull model.
|
| |
|
|
|
|
|
|
| |
Problem:
`deno.lock` is not recognized as a root marker in JavaScript related
servers.
Solution:
Add `deno.lock` as a root marker.
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes https://github.com/lttb/gh-actions-language-server/issues/5
Implement a custom handler for the "actions/readFile" request in the
gh_actions_ls config. This handler reads the requested file from disk and
returns its contents if the file is readable. This improves integration
with the GitHub Actions language server by supporting file content
requests.
Here is how the vscode github actions extension sets the handler:
https://github.com/github/vscode-github-actions/blob/main/src/workflow/languageServer.ts#L68
TODO:
We could also provide an implementation for populating the init_options
properly, docs currently suggest an empty table. For the lsp to work properly,
it should be populated with this "shape":
init_options = {
sessionToken = session_token,
repos = {
{
id = 1008200293,
owner = org_name,
name = repo_name,
workspaceUri = "file://" .. vim.fn.getcwd(),
organizationOwned = true,
},
},
},
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
`vim.api.nvim_buf_create_user_command` callback is called with a table
argument that contains a parsed command. Need to use `args` or `fargs`
key to get command arguments.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
| |
Problem:
The `pyright.organizeimports` is private, so client:exec_cmd()
fails because it refuses to run commands that are not advertised
as capabilities.
Solution:
Call client.request() to side-step the check in client:exec_cmd().
YOLO
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
| |
Current code will always trigger error (unless you are already authd),
because result.code is invalid. result.userCode must be used instead.
|
| | |
|
| | |
|