Skip to content

Commit

Permalink
issues: wl-paste in term will lost focus
Browse files Browse the repository at this point in the history
  • Loading branch information
erasin committed Jul 10, 2024
1 parent 509c89f commit 3dff09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lsp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl Server {
line_text: line.to_string(),
current_word: cursor_word,
selected_text: Default::default(),
clipboard: get_clipboard_provider().get_contents().ok(),
clipboard: None, // get_clipboard_provider().get_contents().ok(),
};

Some(snippets.to_completion_items(&variable_init))
Expand Down Expand Up @@ -324,7 +324,7 @@ impl Server {
line_text: line.to_string(),
current_word: cursor_word.to_string(),
selected_text: range_content.to_string(),
clipboard: get_clipboard_provider().get_contents().ok(),
clipboard: None, // get_clipboard_provider().get_contents().ok(),
};

Some(actions.to_code_action_items(&variable_init))
Expand Down

0 comments on commit 3dff09e

Please sign in to comment.