helix/README-suse-maint.md
OBS User smolsheep a692fdf409 - Update to version 25.01.1:
Fixes:
  * Fix blank buffer picker preview on doc with no views
  * Fix join_selections behavior on tabs
  * Fix recognition for color LSP completion hex codes for some
    language servers
  * Fix offsets to selections updated by open_below/open_above
    (o/O) in multi-cursor scenarios
  * Fix offsets to selections updated by insert_newline when
    trimming whitespace in multi-cursor scenarios
  * Fix panic in path completion from resolving variables like
    ${HOME:-$HOME}
  * Prevent line comment continuation when using change_selection
    (c) on a line above a comment
  Usability improvements:
  * Run external formatters from the document's directory
  Themes:
  * Update onelight
  * Add cursorline color to iceberg themes
  * Update special, ui.text.directory and ui.virtual.wrap in
    dark_plus
  New languages:
  * CodeQL, Gren
  Updated languages and queries:
  * Fix Teal LSP name
  * Highlight : in Rust as a delimiter
  * Update Swift highlights
  * Highlight JSX attributes as @attribute
  * Improve markdown heading highlights
  * Add comment tokens configuration for JSONC
  * Highlight the never type ! as a type in Rust
  * Expand builtin function highlights for ECMA languages, Rust and
    Haskell
  * Recognize .clang-tidy as YAML
  * Update MATLAB grammar and indent queries
  * Recognize rockspec as Lua
  * Add /// to Dart comment tokens configuration
  * Update Solidity grammar and queries
  * Update Spade grammar and queries
  * Re-enable Hare fetching and building by default
  Packaging:
  * --version now prints a leading zero for single-digit months,
    for example 25.01

OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=89
2025-02-01 13:25:16 +00:00

827 B

From upstream releases, choose the file with helix-<version>-source.tar.xz. And run rpmdev-spectool -g helix.spec. Create a directory named helix where you should extract the contents of the downloaded tarball. Thereafter, run osc service disabledrun. This will run cargo vendor and compress them inside a tarball. You can check if you want to disable the cargo update mechanism.

Please do remember to create separate packages for the runtime and the helix binary as the former is huge when built. Helix still runs fine without the runtime but for it to run "normally" a user just needs to run helix --grammar fetch then helix --grammar build. The purpose of the runtime files as a package is to maintain consistency and convenience and stay faithful with how other packagers do it and when someone needs it.