building on ubuntu 22.04.3 doesnt have syntax highlighting for Rust #8951
Replies: 3 comments 2 replies
-
lldb-vscode isn't necessary for syntax highlighting, just the runtime files. If you see all "X"s in |
Beta Was this translation helpful? Give feedback.
-
I solved this by setting the runtime env to the snap binary after installing helix with apt: bada@bada-System-Product-Name:~/Code/helix$ export HELIX_RUNTIME=/snap/helix/21/bin/runtime it seems the instructions in the installation documentation https://docs.helix-editor.com/install.html#building-from-source for fetch and build don't setup highlighting on my system. I'll leave it up to the repo owners to close this since this doesnt seem like a proper solution lldb-vscode is still not installed via "apt install llvm" |
Beta Was this translation helpful? Give feedback.
-
I was bumping my head on the same issue (also on Ubuntu 22.04). The problem is how I was exporting the runtime location from my bashrc; I had added the line suggested in the documentation from https://docs.helix-editor.com/install.html#building-from-source :
However, this was not working for me, I needed to add the following line instead:
I.e. I needed i) to make sure to
@Corallus-Caninus would be curious to hear if this fixes things for you too :) . @the-mikedavis do you think it would make sense to update the documentation at https://docs.helix-editor.com/install.html#building-from-source from:
to:
or something like this? :) (not sure why the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I followed the instructions exactly including setting up runtime files and fetching and building grammars but hx --health shows that there isnt any syntax highlighting. the only difference is I dont have lldb-vscode. I tried installing llvm as per some forum suggestions and linking the bin directory but it doesnt install lldb-vscode by default.
Reproduction Steps
follow the build instructions exactly on ubuntu.
Helix log
its empty.
Platform
Ubuntu
Terminal Emulator
GNOME
Installation Method
cargo build
Helix Version
latest (master)
Beta Was this translation helpful? Give feedback.
All reactions