You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the neovim client finds commands are supported, it adds related configuration items when initializing the server in mason-lsp-config. As mentioned, they are only supported since neovim 0.9.1+.
same as that in vscode.
same as that in vscode.
The text was updated successfully, but these errors were encountered:
Myriad-Dreamin
changed the title
Neovim clients should tell that it supports specific editor commands
A neovim client should tell that it supports specific editor commands
Nov 21, 2024
The client must tell whether it supports several editor commands to callback after lsp completion.
editor.action.triggerSuggest
, which is known to be supported by vscode 1.0+ and neovim 0.9.1+editor.action.triggerParameterHints
, which is known to be supported by vscode 1.0+ and neovim 0.9.1+tinymist.triggerSuggestAndParameterHints
, supported by the vscode's client-side extension.Since the two
editor.action.*
builtin commands are only known to be supported in neovim, we can only focus on fix this issue on neovim clients first.Related issues:
textDocument/complete
) and parameterHints (textDocument/
) in suitable timings #293Why not trigger these commands by default?
If server yields a not existing command, users might keep receiving command not found errors. Related issue: #697
Example Workflow
tinymist/editors/vscode/src/extension.ts
Lines 72 to 75 in 67e659a
tinymist_query
crate's global object.tinymist/crates/tinymist-query/src/upstream/complete/ext.rs
Lines 69 to 74 in 1ba6b6c
tinymist_query
crate reads command to use when performing lsp-based completion.tinymist/crates/tinymist-query/src/analysis/global.rs
Lines 149 to 177 in 67e659a
Possible Workflow in Neovim
The text was updated successfully, but these errors were encountered: