Skip to content
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

No typst support on main repos from: Arch, Termux, Alpine, Void? (maybe more). #9872

Closed
Disonantemus opened this issue Mar 14, 2024 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@Disonantemus
Copy link

Summary

I did install helix in the following distros:

  • Arch
  • Termux
  • Alpine
  • Void

Using the package manager from each distro, and none show any support for typst.

Searching this repo shows that, there are some kind of typst support.
I did try Building from Source from official Documentation, with no success.
With some Issues I was able to install, and get correct health output, but in the end, no syntax highlighting at all for typst.

Shouldn't this be by default without any tinkering? or need to build from source? (No programmer here).

Reproduction Steps

Arch Linux:

$ sudo pacman -S helix

$ hx
bash: hx: command not found

$ helix --version
helix 23.10

$ helix --health typst
Language 'typst' not found
Did you mean one of these: toml, typescript, tsx, twig, tsq, tablegen, tfvars, task, t32, todotxt, templ ?

$ ls -1d /usr/lib/helix/runtime/queries/ty*
/usr/lib/helix/runtime/queries/typescript
/usr/lib/helix/runtime/queries/typst

$ echo $HELIX_RUNTIME

$ export HELIX_RUNTIME=/usr/lib/helix/runtime

$ helix --health typst
Language 'typst' not found
Did you mean one of these: toml, typescript, tsx, twig, tsq, tablegen, tfvars, task, t32, todotxt, templ ?

Termux:

$ pkg install helix

$ hx --version
helix 23.10 (f6021dd0)

$ hx --health typst
Language 'typst' not found
Did you mean one of these: toml, typescript, tsx, twig, tsq, tablegen, tfvars, task, t32, todotxt, templ ?

$ ls -1d /data/data/com.termux/files/usr/opt/helix/runtime/queries/ty*
/data/data/com.termux/files/usr/opt/helix/runtime/queries/typescript

No typst folder inside: /helix/runtime/queries/.

 

Alpine (distrobox, latest):

$ sudo apk add helix

$ hx --version
helix 23.10

$ hx --health typst
Language 'typst' not found
Did you mean one of these: toml, typescript, tsx, twig, tsq, tablegen, tfvars, task, t32, todotxt, templ ?

Void (distrobox, latest):

$ sudo xbps-install helix

$ hx --version
helix 23.10 (f6021dd0)

$ hx --health typst
Language 'typst' not found
Did you mean one of these: toml, typescript, tsx, twig, tsq, tablegen, tfvars, task, t32, todotxt, templ ?

$ ls -1d /usr/lib/helix/runtime/queries/ty*
/usr/lib/helix/runtime/queries/typescript/

No typst folder inside: /helix/runtime/queries/.

Helix log

Many logs, see: Reproduction Steps

Platform

Linux

Terminal Emulator

Bash

Installation Method

Main package manager for each distro.

Helix Version

See: Reproduction Steps.

@Disonantemus Disonantemus added the C-bug Category: This is a bug label Mar 14, 2024
@the-mikedavis
Copy link
Member

Support for typst was added in #7474 which was merged after the 23.10 release. It'll be included in the next release

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants