Skip to content

Commit

Permalink
feat: convert mode-aware snippets to static data (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin authored Dec 11, 2024
1 parent 3473fb8 commit 4f5c9c7
Show file tree
Hide file tree
Showing 6 changed files with 656 additions and 416 deletions.
2 changes: 2 additions & 0 deletions crates/tinymist-query/src/completion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ pub(crate) type LspCompletion = lsp_types::CompletionItem;
pub(crate) type LspCompletionKind = lsp_types::CompletionItemKind;
pub(crate) type TypstCompletionKind = crate::upstream::CompletionKind;

pub(crate) mod snippet;

/// The [`textDocument/completion`] request is sent from the client to the
/// server to compute completion items at a given cursor position.
///
Expand Down
Loading

0 comments on commit 4f5c9c7

Please sign in to comment.