helix icon indicating copy to clipboard operation
helix copied to clipboard

Fetching grammars

Open sascha-andres opened this issue 2 years ago • 3 comments

I try to fetch grammars, but all grammars fail to fetch with cannot create directory like this:

 Failure 123/123: Could not create grammar directory "/tmp/.mount_hxkLAvdb/usr/lib/helix/runtime/grammars/sources/bicep"

Besides that /tmp has no special perms, can I override the temp dir helix is using fot his?

sascha-andres avatar Jan 11 '23 05:01 sascha-andres

Probably a version of https://github.com/helix-editor/helix/issues/3346 since the files seem to be under /usr/lib

archseer avatar Jan 11 '23 08:01 archseer

I tried running hx as sudo, but this led to the same error

sascha-andres avatar Jan 11 '23 08:01 sascha-andres

You shouldn't run as sudo as this will mess up your package installation. Are you trying to add new grammars or why are you trying to fetch? Right now you need to install from source and set a custom runtime path.

This will get easier once we support multiple runtime paths: https://github.com/helix-editor/helix/pull/5411

archseer avatar Jan 11 '23 08:01 archseer