Relative paths or environment variables in languages.toml #13558
Unanswered
andycarlberg
asked this question in
Q&A
Replies: 1 comment
-
Just discovered astro-ls is now configured by default (#12939) and thought I'd share here to spread awareness. It looks like the implementation expects 1) the present working directory to be the project root directory where |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There are some similar questions to this already in discussions but those discussions are closed and the proposed solutions don't work for my use case.
I'm trying to configure
astro-ls
which requires the location of the Typescripttsdk
config variable. I need theconfig
option to point to the global install of Typescript. I also manage my dotfiles in a Git repo to sync changes across machines. These machines will have differentHOME
directories depending on the username I have on the machine. In this example, I'm usingmise
to manage Node versions but the question applies to even a more standard install of Node.How can I make this a more generic path? Tilde and environment variables aren't processed by Helix for now. Is that the only solution? Or is there a workaround to provide a generic path here?
Beta Was this translation helpful? Give feedback.
All reactions