Update lsp-types to account for new CodeActionKind structure

This commit is contained in:
Jeremy Kolb
2020-07-11 17:29:45 -04:00
parent 2653440f1c
commit 007812dcae
7 changed files with 28 additions and 27 deletions

View File

@@ -112,7 +112,7 @@ fn map_rust_child_diagnostic(
title: rd.message.clone(),
id: None,
group: None,
kind: Some("quickfix".to_string()),
kind: Some(lsp_types::CodeActionKind::QUICKFIX),
edit: Some(lsp_ext::SnippetWorkspaceEdit {
// FIXME: there's no good reason to use edit_map here....
changes: Some(edit_map),