Make sure there are no commands in code actions

This commit is contained in:
Aleksey Kladov
2020-07-11 11:46:31 +02:00
parent 0366a85052
commit 0f0c5081c0
8 changed files with 3 additions and 9 deletions

View File

@@ -249,8 +249,9 @@ pub struct CodeAction {
pub group: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub command: Option<lsp_types::Command>,
// We don't handle commands on the client-side
// #[serde(skip_serializing_if = "Option::is_none")]
// pub command: Option<lsp_types::Command>,
#[serde(skip_serializing_if = "Option::is_none")]
pub edit: Option<SnippetWorkspaceEdit>,
}