No description
Find a file
Pascal Kuthe 4c7cdb8fea
Improve line annotation API
The line annotation as implemented in  had two shortcomings:
* It required the height of virtual text lines to be known ahead time
* It checked for line anchors at every grapheme

The first problem made the API impractical to use in practice because
almost all virtual text needs to be softwrapped. For example inline
diagnostics should be softwrapped to avoid cutting off the diagnostic
message (as no scrolling is possible). While more complex virtual text
like side by side diffs must dynamically calculate the number of empty
lines two align two documents (which requires taking account both
softwrap and virtual text). To address this, the API has been
refactored to use a trait.

The second issue caused some performance overhead and unnecessarily
complicated the `DocumentFormatter`. It was addressed by only calling
the trait mentioned above at line breaks (instead of always). This
allows offers additional flexibility to annotations as it offers
the flexibility to align lines (needed for side by side diffs).
2024-07-15 16:34:14 +02:00
.cargo
.github --- () 2024-05-22 01:22:06 +09:00
book Picker: Highlight the currently active column 2024-07-15 10:03:35 -04:00
contrib Add changelog notes for 24.07 () 2024-07-15 01:17:49 +09:00
docs Fix homebrew formula link () 2024-06-30 16:07:57 +09:00
helix-core Improve line annotation API 2024-07-15 16:34:14 +02:00
helix-dap &Option<T> -> Option<&T> () 2024-07-09 18:34:28 +09:00
helix-event Request a UI redraw on Drop of an Injector 2024-07-15 09:31:33 -04:00
helix-loader &Option<T> -> Option<&T> () 2024-07-09 18:34:28 +09:00
helix-lsp &Option<T> -> Option<&T> () 2024-07-09 18:34:28 +09:00
helix-parsec
helix-stdx build(deps): bump the rust-dependencies group with 4 updates () 2024-06-25 23:22:20 +09:00
helix-term track char_idx in DocFormatter 2024-07-15 16:34:13 +02:00
helix-tui build(deps): bump the rust-dependencies group with 4 updates () 2024-06-25 23:22:20 +09:00
helix-vcs build(deps): bump the rust-dependencies group with 5 updates () 2024-07-09 19:40:22 +09:00
helix-view Merge pull request from helix-editor/pickers-v2 2024-07-15 23:30:58 +09:00
runtime Update highlights.scm and injections.scm for blade.php files () 2024-07-15 22:29:14 +09:00
xtask chore: remove unused xtask themelint () 2024-04-08 18:15:31 +02:00
.envrc
.gitattributes
.gitignore
base16_theme.toml base16_default: add styles to newer unthemed features () 2024-06-23 10:07:13 +09:00
Cargo.lock Convert LSP URIs into custom URIs 2024-07-15 09:31:33 -04:00
Cargo.toml avoid collecting columns to a temporary vec 2024-07-15 09:31:33 -04:00
CHANGELOG.md Add changelog notes for 24.07 () 2024-07-15 01:17:49 +09:00
default.nix Expose all flake outputs through flake-compat () 2024-05-07 01:33:59 +09:00
flake.lock
flake.nix in flake mkShell default RUSTFLAGS to an empty string if unset () 2024-06-10 17:08:39 +02:00
grammars.nix
languages.toml Update tree-sitter-todotxt () 2024-07-14 02:59:21 +09:00
LICENSE
logo.svg
logo_dark.svg
logo_light.svg
README.md Exclude EOL repos from the Repology badge () 2024-07-14 11:31:33 +09:00
rust-toolchain.toml Bump MSRV to 1.74.0 2024-05-07 15:15:52 -04:00
rustfmt.toml
screenshot.png
shell.nix
theme.toml Adjust the ruler color of the default theme 2024-07-15 01:19:09 +09:00

Helix

Build status GitHub Release Documentation GitHub contributors Matrix Space

Screenshot

A Kakoune / Neovim inspired editor, written in Rust.

The editing model is very heavily based on Kakoune; during development I found myself agreeing with most of Kakoune's design decisions.

For more information, see the website or documentation.

All shortcuts/keymaps can be found in the documentation on the website.

Troubleshooting

Features

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

It's a terminal-based editor first, but I'd like to explore a custom renderer (similar to Emacs) in wgpu or skulpin.

Note: Only certain languages have indentation definitions at the moment. Check runtime/queries/<lang>/ for indents.scm.

Installation

Installation documentation.

Packaging status

Contributing

Contributing guidelines can be found here.

Getting help

Your question might already be answered on the FAQ.

Discuss the project on the community Matrix Space (make sure to join #helix-editor:matrix.org if you're on a client that doesn't support Matrix Spaces yet).

Credits

Thanks to @jakenvac for designing the logo!