File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ import ScrollBar from "components/scrollbar";
6464import SideButton , { sideButtonContainer } from "components/sideButton" ;
6565import keyboardHandler , { keydownState } from "handlers/keyboard" ;
6666import actions from "handlers/quickTools" ;
67- import Url from "utils/Url" ;
6867// TODO: Update EditorFile for CodeMirror compatibility
6968import EditorFile from "./editorFile" ;
7069import openFile from "./openFile" ;
@@ -494,14 +493,7 @@ async function EditorManager($header, $body) {
494493 if ( uri . startsWith ( base ) ) return base ;
495494 } catch ( _ ) { }
496495 }
497- if ( uri . includes ( "::" ) ) {
498- return uri . split ( "::" ) [ 0 ] ;
499- }
500- try {
501- return Url . dirname ( uri ) ;
502- } catch ( _ ) {
503- return null ;
504- }
496+ return uri ;
505497 }
506498
507499 function detachActiveLsp ( ) {
You can’t perform that action at this time.
0 commit comments