mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-12-23 09:19:21 +00:00
Use appropriate path seperator on Linux
This commit is contained in:
parent
b94125d729
commit
3d2179032f
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class LatexResolver(val filesByName: Map<String, File>) {
|
|||
try {
|
||||
val texmf = runKpsewhich("-var-value", "TEXMF")
|
||||
return runKpsewhich("--expand-braces=$texmf")
|
||||
.split(';')
|
||||
.split(File.pathSeparatorChar)
|
||||
.map { Paths.get(it.replace("!", "")) }
|
||||
.filter { Files.exists(it) }
|
||||
.distinct()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue