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
Ben Dennis dcdecaab22
Exit a language server if it sends a message with invalid json (#9332)
* Keep lsp event listener thread alive when malformed json is encountered from the lsp server

* Update unexpected error flow in recv() to close outstanding requests and close the language server

* Log malformed notifications as info instead of error

* Make close_language_server a nested function inside recv, similar to what's done in send

* Update malformed notification log text

* Clean up new log text a bit

* Initialize recv_buffer closer to where it's used

* Use "exit" instead of "close"

* Remove whitespace

* Remove the need for a helper method to exit the language server

* Match on Unhandled error explicitly and keep catch-all error case around
10 months ago
.cargo enable rendering in integration tests (#5819) 2 years ago
.github build(deps): bump cachix/cachix-action from 13 to 14 (#9347) 10 months ago
book Fix export instructions in installation doc (#9306) 10 months ago
contrib Add changelog notes for 23.10 (#8086) 1 year ago
docs use workspace inheritance for common version (#8925) 12 months ago
helix-core update tempfile dev-dependency to 3.9 (#9359) 10 months ago
helix-dap remove build warnings (#9180) 11 months ago
helix-event use workspace inheritance for common version (#8925) 12 months ago
helix-loader build(deps): bump tempfile from 3.8.1 to 3.9.0 (#9199) 11 months ago
helix-lsp Exit a language server if it sends a message with invalid json (#9332) 10 months ago
helix-parsec use workspace inheritance for common version (#8925) 12 months ago
helix-term Exit a language server if it sends a message with invalid json (#9332) 10 months ago
helix-tui build(deps): bump once_cell from 1.18.0 to 1.19.0 (#9053) 12 months ago
helix-vcs build(deps): bump tempfile from 3.8.1 to 3.9.0 (#9199) 11 months ago
helix-view make sure to sync views when applying edits to unfocused views (#9173) 11 months ago
runtime Bump tree-sitter to latest master (#9317) 10 months ago
xtask use workspace inheritance for common version (#8925) 12 months ago
.envrc direnv: Watch the rust-toolchain file (#8921) 1 year 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 thiserror from 1.0.52 to 1.0.56 (#9345) 10 months ago
Cargo.toml Bump tree-sitter to latest master (#9317) 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 nix: update flake inputs (#8943) 12 months ago
flake.nix Fix version of Nix package (#9013) 12 months ago
grammars.nix Make nix flake respect unused grammars (#9326) 11 months ago
languages.toml Support PureScript's new spago.yaml configs (#9362) 10 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) 1 year 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 feat(debug): highlight current line (#5957) 2 years 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!