File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/djls-workspace/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ use camino::Utf8Path;
1010use camino:: Utf8PathBuf ;
1111use dashmap:: DashMap ;
1212use djls_source:: File ;
13+ use djls_source:: PositionEncoding ;
1314use tower_lsp_server:: lsp_types:: TextDocumentContentChangeEvent ;
1415use url:: Url ;
1516
@@ -110,7 +111,7 @@ impl Workspace {
110111 url : & Url ,
111112 changes : Vec < TextDocumentContentChangeEvent > ,
112113 version : i32 ,
113- encoding : djls_source :: PositionEncoding ,
114+ encoding : PositionEncoding ,
114115 ) -> Option < WorkspaceFileEvent > {
115116 if let Some ( mut document) = self . buffers . get ( url) {
116117 document. update ( changes, version, encoding) ;
@@ -204,7 +205,6 @@ mod tests {
204205
205206 use camino:: Utf8Path ;
206207 use camino:: Utf8PathBuf ;
207- use djls_source:: PositionEncoding ;
208208 use tempfile:: tempdir;
209209 use url:: Url ;
210210
You can’t perform that action at this time.
0 commit comments