Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzpirate committed Aug 22, 2023
1 parent b1575b9 commit c9378a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ abstract class Importer extends TraversingBuildTarget with GeneralImporter {imp
def importDocument(bt: BuildTask, index: Document => Unit,rel:ULOStatement => Unit): BuildResult

def buildFile(bf: BuildTask): BuildResult = {
val sourcefile = bf.archive.root.relativize(bf.inFile).toString.split('/').foldLeft(bf.archive.narrationBase)((p, s) => p / s)
val sourcefile = bf.archive.root.relativize(bf.inFile).toFilePath.foldLeft(bf.archive.narrationBase)((p, s) => p / s)
val graph = controller.depstore.newGraph(sourcefile)
import info.kwarc.mmt.api.ontology.RDFImplicits._
graph.add(ULO.file(sourcefile))
Expand Down
4 changes: 2 additions & 2 deletions src/mmt-stex/src/info/kwarc/mmt/stex/lsp/Server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -792,12 +792,12 @@ object Socket {
}
}
val controller = Run.controller
List("lsp"
/*List("lsp"
, "lsp-stex"
, "lsp-stex-server-methodcall"
, "lsp-stex-socket"
, "lsp-stex-server"
, "fullstex").foreach(s => controller.handleLine("log+ " + s))
, "fullstex").foreach(s => controller.handleLine("log+ " + s))*/
controller.handleLine("log console")
controller.handleLine("server on 8090")
controller.extman.addExtension(lsp)
Expand Down

0 comments on commit c9378a2

Please sign in to comment.