-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation on adding the runtime variable for specific languages (go, Typescript, Rust) #85
Comments
Runtime variable? |
An example from my personal configuration. /tmp $ which hx
/Users/kevinsjoberg/bin/hx /tmp $ ls -l $HOME/.config/helix/
total 8
-rw-r--r-- 1 kevinsjoberg staff 1560 Jun 2 22:09 helix.log
drwxr-xr-x@ 3 kevinsjoberg staff 96 Jun 3 04:07 runtime /tmp $ echo $HELIX_RUNTIME
/Users/kevinsjoberg/.config/helix/runtime @pickfire I believe |
@kevinsjoberg thx for the clear example. |
https://docs.helix-editor.com/install.html#build-from-source Ah, so you mean
I was confused about that either. No wonder I didn't get syntax highlighting. Oh, I found it. Have to set |
Yea I was thinking to update the docs, with this explicit information. |
The binary looks for Lines 47 to 57 in abe8a83
If running this in development via For packaged installs, I recommend unpacking the files somewhere, then making a |
I agree with the package install that sets the VAR to some default where the default runtime is set on all comp. @archseer Maybe this is what you mean by the package installs. But would be great to get this in right away. Package installer for me did not work: |
I don't think it correctly detects it on Windows without the envvar. |
I think this should be solved in 0.2.0, we have more reasonable defaults now. |
Hello!
I love the project! ❤️
However I cannot seem to get my head around setting the runtime variable to get syntax highllighting and stuffz for my Go projects or Typescript/Javascript or Rust projects.
I move the
hx
binary into the different projects, however it does not seem to pickup the runtime.Could you provide a example for let's say a Go project using go.mod and explicitly setting the HELIX_RUNTIME variable for that?
The text was updated successfully, but these errors were encountered: