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.
helix/helix-term
Michael Davis 98ef05d768 Prefer RopeSlice to &Rope in helix_core::syntax
Pascal and I discussed this and we think it's generally better to
take a 'RopeSlice' rather than a '&Rope'. The code block rendering
function in the markdown component module is a good example for how
this can be useful: we can remove an allocation of a rope and instead
directly turn a '&str' into a 'RopeSlice' which is very cheap.

A change to prefer 'RopeSlice' to '&Rope' whenever the rope isn't
modified would be nice, but it would be a very large diff (around 500+
500-). Starting off with just the syntax functions seems like a nice
middle-ground, and we can remove a Rope allocation because of it.

Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
1 year ago
..
src Prefer RopeSlice to &Rope in helix_core::syntax 1 year ago
tests Add config for default line ending (#5621) 1 year ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump tempfile from 3.6.0 to 3.7.0 (#7726) 1 year ago
build.rs feat(lsp): pass client_info on initialization (#4904) 2 years ago