We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f86943 commit 50c4bbdCopy full SHA for 50c4bbd
src/language_server_protocol.rs
@@ -3103,8 +3103,9 @@ impl LanguageClient {
3103
3104
#[tracing::instrument(level = "info", skip(self))]
3105
pub fn fzf_sink_command(&self, params: &Value) -> Result<()> {
3106
- let selection: String =
+ let fzf_selection: Vec<String> =
3107
try_get("selection", params)?.ok_or_else(|| anyhow!("selection not found!"))?;
3108
+ let selection = &fzf_selection[1]; // ignore the first element `fzf_action`
3109
let tokens: Vec<&str> = selection.splitn(2, ": ").collect();
3110
let kind = tokens
3111
.get(0)
0 commit comments