Public bug reported: [ Impact ]
When installing helix, you must use `hx --grammar fetch` and `hx --grammar build` to build the tree-sitter grammars to enable syntax highlighting. (In an ideal world we wouldn't need to do this, but the Debian bug is still unsolved [1].) `hx --grammar fetch` fails due to a github repository that was removed. This would break automation (my setup scripts) that expects the process to succeed and is a poor user experience. This was reported/fixed upstream in [2] and fixed in [3] [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100003 [2] https://github.com/helix-editor/helix/issues/15405 [3] https://github.com/helix-editor/helix/commit/6551e1b2b8df6c5eebeac7be93c92e80eea40340 [ Test Plan] hx --grammar fetch Expected result: All grammars fetch successfully. Actual result: All grammars except bovex fetch successfully, causing helix to return 1. [ Where problems could occur ] If any other grammars depend on the bovex language tree-sitter queries, they will fail. This is unlikely. If a user somehow has a clone of that tree-sitter-bovex repo, this change will cause syntax highlighting for it to stop working. ** Affects: hx (Ubuntu) Importance: Low Assignee: Wesley Hershberger (whershberger) Status: In Progress ** Changed in: hx (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2146968 Title: Building grammars fails due to unpublished upstream repo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hx/+bug/2146968/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
