helix

Edit Package helix
https://github.com/helix-editor/helix

A kakoune / neovim inspired editor, written in Rust.

Features:
* Vim-like modal editing
* Multiple selections
* Built-in language server support
* Smart, incremental syntax highlighting and code editing via tree-sitter

Refresh
Refresh
Source Files
Filename Size Changed
README-suse-maint.md 0000000827 827 Bytes
_constraints 0000000205 205 Bytes
_service 0000000320 320 Bytes
cargo_config 0000000100 100 Bytes
helix-23.05.tar.xz 0115474436 110 MB
helix-rpmlintrc 0000000029 29 Bytes
helix.changes 0000026162 25.5 KB
helix.spec 0000005822 5.69 KB
vendor.tar.xz 0029266948 27.9 MB
Revision 16 (latest revision is 20)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1088494 from Soc Virnyl Estela's avatar Soc Virnyl Estela (uncomfyhalomacro) (revision 16)
- Add back env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`.
- Add manual compilation of grammars in relation to the env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`
- Update to version 23.05:
  * Features:
    - Add a config option to exclude declaration from LSP references request
    - Enable injecting languages based on their file extension and shebang
    - Sort the buffer picker by most recent access
    - Perform syntax highlighting in the picker asynchronously
  * Commands:
    - :update is now aliased as :u
    - Add extend_to_first_nonwhitespace which acts the same as goto_first_nonwhitespace but always extends
    - Add :clear-register for clearing the given register or all registers
    - Add :write-buffer-close and :write-buffer-close!
  * Fixes:
    - Normalize LSP workspace paths
    - Robustly handle invalid LSP ranges
    - Fix line number display for LSP goto pickers
    - Fix toggling of soft-wrap.enable option (#6656, 58e457a, #6742)
    - Handle workspace/configuration requests from stopped language servers
    - Fix possible crash from opening the jumplist picker
    - Fix theme preview returning to current theme on line and word deletions
    - Re-run crate build scripts on changes to revision and grammar repositories
    - Fix crash on opening from suspended state
    - Fix unwrap bug in DAP
    - Always build tree-sitter parsers with C++14 and C11 (#6792, #6834, #6845)
    - Exit with a non-zero statuscode when tree-sitter parser builds fail
    - Flip symbol range in LSP goto commands
    - Fix runtime toggling of the mouse option
    - Fix panic in inlay hint computation when view anchor is out of bounds
    - Significantly improve performance of git discovery on slow file systems
    - Downgrade gix log level to info
    - Conserve BOM and properly support saving UTF16 files
    - Correctly handle completion re-request
    - Fix offset encoding in LSP didChange notifications
    - Change gix logging level to info
    - Improve error message when writes fail because parent directories do not exist
    - Replace DAP variables popup instead of pushing more popups
    - Disable tree-sitter for files after parsing for 500ms
    - Fix crash when deleting with multiple cursors
    - Fix selection sliding when deleting forwards in append mode
    - Fix completion on paths containing spaces
* CHANGELOG information is too large. For more info, go to https://github.com/helix-editor/helix/blob/master/CHANGELOG.md#2305-2023-05-18
Comments 17


Otis Sutton's avatar

Should the runtime/queries (https://github.com/helix-editor/helix/tree/master/runtime/queries) directory be included with the installation? Without this syntax highlighting does not work.

Currently /usr/lib64/helix/runtime contains grammars (after running helix --grammar fetch and helix --grammar build) but no queries directory.

I did try looking for a command in the Helix documentation similar to helix --grammar fetch to fetch the queries but it does not appear this exists.


Soc Virnyl Estela's avatar

Oh thanks. I forgot to update the specfile when I came across this issue https://github.com/helix-editor/helix/issues/2123#issuecomment-1121619464. I will rework the specfile to move runtime/queries in the helix package from helix-runtime


Soc Virnyl Estela's avatar

On second thought, I don't think I will move this... My idea to separate this was because to make a very plain helix editor without extra features, hence, no syntax-highlighting, no LSP definitions, and no grammars. If someone wants to have syntax highlighting, they need to install the helix-runtime package which bundles queries, LSP definitions and tree-sitter grammars.


Otis Sutton's avatar

Ahhhhh that's what I was missing!

Thank you so much!


Soc Virnyl Estela's avatar

I put Suggests in the spec so after installation, zypper will suggest the helix-runtime package. I don't really mind to change it to Recommends but some people are frugal on installations for a text editor. Oh well.



Tom Mills's avatar

Helix has updated to 23.03, thanks for maintaining!


Krisztián Szegi's avatar

Also thank you for the packaging (and if you have the time, please build the new version)!


Soc Virnyl Estela's avatar

hello. I have now pushed 23.03 to the devel project, waiting for it to succeed so i can push it here :D sorry i got delays because of the holidays


Tom Mills's avatar

No worries at all, thanks again and enjoy your holidaying!


Soc Virnyl Estela's avatar

Submitted 23.03 yesterday. Lots of changes of the build configuration so I was bonking my head hard until I checked other build scripts from other distros. Looking forward to it in Factory :D

EDIT: oh lol it is now in factory :D


Eyad Issa's avatar

The helix-runtime does not require helix as a dependency


Soc Virnyl Estela's avatar

i mean you can just helix -g fetch it. it's a recommends so it will be installed in default zypper configurations unless it's a container image e.g. in distrobox (podman)

openSUSE Build Service is sponsored by