Helix Mirror
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Mike Trinkala e27b04735c
Fix panic in select_textobject_around (#9832)
Test Document
-------------
```
a)b
```

Steps to Reproduce
------------------
1. %   # select_all
1. ms( # surround_add
1. mam # select_textobject_around

Debug and Release
-----------------
`thread 'main' panicked at 'Attempt to index past end of RopeSlice:
char index 7, RopeSlice char length 6', ropey-1.6.1/src/slice.rs:796:13`

Description
-----------
An index was selected beyond the end of the slice with chars_at. The fix
adds a guard check to `find_nth_open_pair`, like in the other find_nth*
functions.
9 months ago
.cargo Add hook/event system 10 months ago
.github Don't run scheduled builds on forks (#9718) 9 months ago
book Support LSP diagnostic tags (#9780) 9 months ago
contrib Completely fix bash autocomplete handling of filenames with spaces (#9708) 9 months ago
docs use workspace inheritance for common version (#8925) 12 months ago
helix-core Fix panic in select_textobject_around (#9832) 9 months ago
helix-dap Improve error handling for `which::which` failures 10 months ago
helix-event build(deps): bump ahash from 0.8.9 to 0.8.11 (#9813) 9 months ago
helix-loader build(deps): bump tempfile from 3.10.0 to 3.10.1 (#9733) 9 months ago
helix-lsp Support LSP diagnostic tags (#9780) 9 months ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-stdx toggling of block comments (#4718) 9 months ago
helix-term Fix panic in surround_replace/delete nested multi-cursor (#9815) 9 months ago
helix-tui Avoid cloning the whole paragraph content just for rendering (#9739) 9 months ago
helix-vcs build(deps): bump arc-swap from 1.6.0 to 1.7.0 (#9809) 9 months ago
helix-view build(deps): bump clipboard-win from 5.1.0 to 5.2.0 (#9811) 9 months ago
runtime Fix precedence of svelte typescript injection (#9777) 9 months ago
xtask build(deps): bump toml from 0.7.6 to 0.8.10 (#9539) 9 months ago
.envrc direnv: Watch the rust-toolchain file (#8921) 12 months ago
.gitattributes Add .gitattributes (#3318) 2 years ago
.gitignore Remove vale from .gitignore 2 years ago
CHANGELOG.md Add changelog notes for 23.10 (#8086) 1 year ago
Cargo.lock build(deps): bump mio from 0.8.9 to 0.8.11 (#9808) 9 months ago
Cargo.toml Create helix-stdx crate for stdlib extensions 10 months ago
LICENSE Add the LICENSE file. 4 years ago
README.md Update README.md to add link to Kakoune and Neovim (#9119) 11 months ago
base16_theme.toml Set ui.text.inactive for official themes 2 years ago
default.nix build(nix): update flake deps, add default.nix file 2 years ago
flake.lock flake.lock: Bump flake inputs to prevent a warning message (#9816) 9 months ago
flake.nix Fix version of Nix package (#9013) 12 months ago
grammars.nix Make nix flake respect unused grammars (#9326) 10 months ago
languages.toml feat(languages): add support for `*.Dockerfile` `file-types` naming convention (#9772) 9 months ago
logo.svg Reduce logo sizes even more (#9211) 11 months ago
logo_dark.svg Reduce logo sizes even more (#9211) 11 months ago
logo_light.svg Reduce logo sizes even more (#9211) 11 months ago
rust-toolchain.toml bump MSRV to 1.70.0 (#8877) 12 months ago
rustfmt.toml Add rustfmt.toml to force formatting to use rustfmt defaults 3 years ago
screenshot.png update screenshot (#1879) 3 years ago
shell.nix build(nix): update flake deps, add default.nix file 2 years ago
theme.toml Support LSP diagnostic tags (#9780) 9 months ago

README.md

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!