Use selection instead of just the cursor when fetching code actions
This commit is contained in:
parent
1eea2f3653
commit
fadb94afb2
6 changed files with 88 additions and 63 deletions
|
@ -123,7 +123,7 @@ pub struct Completion {
|
|||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct CodeAction {
|
||||
pub position: Anchor,
|
||||
pub range: Range<Anchor>,
|
||||
pub lsp_action: lsp::CodeAction,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue