No syntax highlighting in Flatpak version #7161
-
SummaryI installed Helix on my debian server as Flatpak app and i get no syntax highlighting for neither toml nor yaml nor bash config files, and i would guess not for any other files either. Copying runtime files to See logs below. Reproduction StepsNo response Helix log~/.cache/helix/helix.log
PlatformLinux Debian 11 Terminal EmulatorWindows Terminal -> SSH -> tmux Helix Versionhelix 23.05 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
It doesn't look like it's able to open the highlighting grammars in your runtime/grammars folder. Do you see anything in there? |
Beta Was this translation helpful? Give feedback.
-
Maybe try reporting here: https://github.com/flathub/com.helix_editor.Helix/issues |
Beta Was this translation helpful? Give feedback.
-
Here's the solution! flathub/com.helix_editor.Helix#8 (comment) So in short, you'll have to run flatpak Helix first with these two parameters:
It then gets and builds the grammar files for you and syntax highlighting starts to work. :) |
Beta Was this translation helpful? Give feedback.
-
So I updated the flatpak and now it ships all the grammars. After |
Beta Was this translation helpful? Give feedback.
So I updated the flatpak and now it ships all the grammars. After
flatpak update
you no longer need to fetch and build them manually. And if you already did, you canrm -rf ~/.var/app/com.helix_editor.Helix/config/helix/runtime
to not waste the space.