Fork of helix with some PRs merged
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
Michael Davis c8e6857aff Add a parser-combinator crate
Parser-combinators are one of the simpler tools for building ad-hoc
parsers. They're a good fit because they are...

* Small: each parser / parser-combinator is around 10 LOC.
* Functional: helix_core strives to be a functional set of utilities
  usable throughout the rest of the editor.
* Flexible: use them to build any sort of ad-hoc parser. In the child
  commit, we'll parse LSP Snippet syntax using these new parser
  combinators.

Why not use an existing parser-combinator crate? Existing popular
parser-combinator crates have histories of making breaking changes
(for example nom and combine).

> Implementation note: I tried to not introduce a new trait since the
> types can be expressed in terms of `impl Fn`s. The trait is necessary
> to build `seq` implementations without a proc macro though, and also
> allows us to use `&'static str`s very conveniently: see the trait
> implementation for `&'static str`.
1 year ago
.cargo enable rendering in integration tests (#5819) 1 year ago
.github update MSRV to 1.65 1 year ago
book Allow LSP server to be stopped (#5964) 1 year ago
contrib Add Appstream metadata file (#5643) 1 year ago
docs Expand contributing docs (#5967) 1 year ago
helix-core Doc string fix in selection.rs (#6077) 1 year ago
helix-dap feat(dap): implement Restart request (#5651) 1 year ago
helix-loader build(deps): bump toml from 0.6.0 to 0.7.0 (#5726) 1 year ago
helix-lsp Allow LSP server to be stopped (#5964) 1 year ago
helix-parsec Add a parser-combinator crate 1 year ago
helix-term Allow LSP server to be stopped (#5964) 1 year ago
helix-tui Update crossterm to 0.26.1 1 year ago
helix-vcs update MSRV to 1.65 1 year ago
helix-view Fix lacking space panic (#6109) 1 year ago
runtime Update highlights for golang (#6204) 1 year ago
xtask Fix new clippy lints (#5892) 1 year ago
.envrc Work around a nix-direnv issue 2 years ago
.gitattributes Add .gitattributes (#3318) 2 years ago
.gitignore Remove vale from .gitignore 2 years ago
.ignore Add a .ignore file to make ripgrep more useful (#3315) 2 years ago
CHANGELOG.md Add changelog notes for 22.12 (#4822) 2 years ago
Cargo.lock Add a parser-combinator crate 1 year ago
Cargo.toml Add a parser-combinator crate 1 year ago
LICENSE Add the LICENSE file. 3 years ago
README.md Rewrite and refactor all documentation (#5534) 1 year ago
VERSION Add changelog notes for 22.12 (#4822) 2 years ago
base16_theme.toml Set ui.text.inactive for official themes 1 year ago
default.nix build(nix): update flake deps, add default.nix file 2 years ago
flake.lock build(nix): fix devshell 1 year ago
flake.nix build(nix): fix devshell 1 year ago
grammars.nix nix: replace `runCommandNoCC` with `runCommand` (#3992) 2 years ago
languages.toml Update highlights for golang (#6204) 1 year ago
logo.svg Add the new logo! 2 years ago
logo_dark.svg Add logo with text included (#4973) 2 years ago
logo_light.svg Add logo with text included (#4973) 2 years ago
rust-toolchain.toml update MSRV to 1.65 1 year ago
rustfmt.toml Add rustfmt.toml to force formatting to use rustfmt defaults 3 years ago
screenshot.png update screenshot (#1879) 2 years ago
shell.nix build(nix): update flake deps, add default.nix file 2 years ago
theme.toml Add `markup.strikethrough` theme keys (#5619) 1 year 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 @JakeHL for designing the logo!