Skip to content

Commit ccd7e74

Browse files
committed
progress
1 parent 645f6c0 commit ccd7e74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/pgt_lsp/src/handlers/text_document.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ pub(crate) async fn did_change(
4545
let url = params.text_document.uri;
4646
let version = params.text_document.version;
4747

48-
let biome_path = session.file_path(&url)?;
48+
let pgt_path = session.file_path(&url)?;
4949

5050
let old_text = session.workspace.get_file_content(GetFileContentParams {
51-
path: biome_path.clone(),
51+
path: pgt_path.clone(),
5252
})?;
5353
tracing::trace!("old document: {:?}", old_text);
5454
tracing::trace!("content changes: {:?}", params.content_changes);
@@ -64,7 +64,7 @@ pub(crate) async fn did_change(
6464
session.insert_document(url.clone(), Document::new(version, &text));
6565

6666
session.workspace.change_file(ChangeFileParams {
67-
path: biome_path,
67+
path: pgt_path,
6868
version,
6969
content: text,
7070
})?;

0 commit comments

Comments
 (0)