You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting $TYPST_PACKAGE_CACHE_PATH to $PWD/typst to vendor imported packages. typst finds and uses these fine, but when I use my editor's (helix) gotodefinition it opens under ~/.cache/typst/packages/... (not what I'd expect, PWD != ~/.cache).
I start with an empty ~/.cache/typst and after running typst compile it stays empty:
[11:50:29]-[~/p/g/m/resume]-[manny@zennix]
rm -rf ~/.cache/typst
[11:50:33]-[~/p/g/m/resume]-[manny@zennix]
ls -l ~/.cache/typst
ls: cannot access '/home/manny/.cache/typst': No such file or directory
[11:50:35]-[~/p/g/m/resume]-[manny@zennix]
typst compile src/ManuelMendez.typ
[11:50:36]-[~/p/g/m/resume]-[manny@zennix]
ls -l ~/.cache/typst
ls: cannot access '/home/manny/.cache/typst': No such file or directory
But if I do the gotodefinition there are files in there now:
[11:52:27]-[~/p/g/m/resume]-[manny@zennix]
rm -rf ~/.cache/typst ~/.cache/helix/helix.log
[11:52:30]-[~/p/g/m/resume]-[manny@zennix]
ls -l ~/.cache/typst
ls: cannot access '/home/manny/.cache/typst': No such file or directory
[11:52:33]-[~/p/g/m/resume]-[manny@zennix]
hx -v src/ManuelMendez.typ
[11:52:39]-[~/p/g/m/resume]-[manny@zennix]
ls -l ~/.cache/typst
total 0
drwxr-xr-x 3 manny users 0 Dec 18 11:52 packages/
One of these days I'll figure out how to run an lsp w/o my editor but not today... I was able to verify that the helix started/managed tinymist does have the env var present:
Describe the bug
I'm setting
$TYPST_PACKAGE_CACHE_PATH
to$PWD/typst
to vendor imported packages. typst finds and uses these fine, but when I use my editor's (helix) gotodefinition it opens under~/.cache/typst/packages/...
(not what I'd expect, PWD != ~/.cache).I start with an empty ~/.cache/typst and after running typst compile it stays empty:
But if I do the
gotodefinition
there are files in there now:Package/Software version:
Initially nix's latest tinymist package:
but I can reproduce with latest main commit:
Logs:
The text was updated successfully, but these errors were encountered: