File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/pgt_lsp/src/handlers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ pub(crate) async fn did_change(
45
45
let url = params. text_document . uri ;
46
46
let version = params. text_document . version ;
47
47
48
- let biome_path = session. file_path ( & url) ?;
48
+ let pgt_path = session. file_path ( & url) ?;
49
49
50
50
let old_text = session. workspace . get_file_content ( GetFileContentParams {
51
- path : biome_path . clone ( ) ,
51
+ path : pgt_path . clone ( ) ,
52
52
} ) ?;
53
53
tracing:: trace!( "old document: {:?}" , old_text) ;
54
54
tracing:: trace!( "content changes: {:?}" , params. content_changes) ;
@@ -64,7 +64,7 @@ pub(crate) async fn did_change(
64
64
session. insert_document ( url. clone ( ) , Document :: new ( version, & text) ) ;
65
65
66
66
session. workspace . change_file ( ChangeFileParams {
67
- path : biome_path ,
67
+ path : pgt_path ,
68
68
version,
69
69
content : text,
70
70
} ) ?;
You can’t perform that action at this time.
0 commit comments