Most of getting completion documentation resolved & cached MD parsing

This commit is contained in:
Julia
2023-10-06 13:26:38 -04:00
parent ca88717f0c
commit 77ba25328c
12 changed files with 217 additions and 76 deletions
+2
View File
@@ -1,6 +1,7 @@
pub use crate::{
diagnostic_set::DiagnosticSet,
highlight_map::{HighlightId, HighlightMap},
markdown::RenderedMarkdown,
proto, BracketPair, Grammar, Language, LanguageConfig, LanguageRegistry, PLAIN_TEXT,
};
use crate::{
@@ -148,6 +149,7 @@ pub struct Completion {
pub old_range: Range<Anchor>,
pub new_text: String,
pub label: CodeLabel,
pub alongside_documentation: Option<RenderedMarkdown>,
pub server_id: LanguageServerId,
pub lsp_completion: lsp::CompletionItem,
}