mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +00:00
Don't restrict which kind of code actions we ask the LSP server for
This commit is contained in:
parent
00123ffe2b
commit
7482660456
1 changed files with 1 additions and 6 deletions
|
@ -3573,12 +3573,7 @@ impl Project {
|
|||
partial_result_params: Default::default(),
|
||||
context: lsp::CodeActionContext {
|
||||
diagnostics: relevant_diagnostics,
|
||||
only: Some(vec![
|
||||
lsp::CodeActionKind::QUICKFIX,
|
||||
lsp::CodeActionKind::REFACTOR,
|
||||
lsp::CodeActionKind::REFACTOR_EXTRACT,
|
||||
lsp::CodeActionKind::SOURCE,
|
||||
]),
|
||||
only: None,
|
||||
},
|
||||
})
|
||||
.await?
|
||||
|
|
Loading…
Reference in a new issue