feat: adapt to rust analyzer's server crate

This commit is contained in:
Myriad-Dreamin 2024-03-10 17:54:55 +08:00
parent 619a4f9f14
commit 9c9fcd91ba
19 changed files with 1078 additions and 600 deletions

View file

@ -1,7 +1,7 @@
use std::{borrow::Cow, ops::Range};
use log::debug;
use tower_lsp::lsp_types::{InlayHintKind, InlayHintLabel};
use lsp_types::{InlayHintKind, InlayHintLabel};
use typst::{
foundations::{Args, Closure},
syntax::SyntaxNode,